10-25-2010 04:11 PM
I've developed an application and it compiles and runs fine on my windows machine. Now I'd like to compile it for some other targets (eg. OSX aLinux). How can I do this?
Thanks in advance for your help,
Chad
10-25-2010 04:52 PM
You need to have the LabVIEW development environment for those targets installed on a computer that is running those targets. For example, you'd need to have the Mac version of LabVIEW installed on a Mac. You'd then load up your project and build the application.
10-25-2010 04:53 PM
Then it's no longer *cross* compiling!
10-25-2010 05:00 PM
I'm not here to get into a debate about the terminology. I just provided an answer to your question.
10-25-2010 08:04 PM
01-11-2012 09:01 AM
@altenbach wrote:
Also, the term is "building", not "compiling" here. Any vi that is ready to run in the development system is compiled. It will be recompiled as needed when loaded on a new system (e.g. windows 32 vs 64 bit, newer labview versin, mac, linux, etc.) Labview can compile code for certain other systems given the right toolkit or module. Just look at PDA, embedded, RT, and FPGA, for example.
Hi,
I have a similar issue...I am using LV2009 ver 90f3 (64 bit) on my Win7 machine. I have used the "Application Builder" in a quite default way. When running the EXE application on my PC from an USB-Stick it works, but when I go with it to other PCs (Win7) I get an Error saying something like 32bit or 64 bit.
Is there a way to build it on 32bit systems?
Could I save the Project/llb files on older version and then trying to "compile" it from an XP/LabView8 machine ?
Thanks for any help
Y3G
@altenbach wrote:
Also, the term is "building", not "compiling" here. Any vi that is ready to run in the development system is compiled. It will be recompiled as needed when loaded on a new system (e.g. windows 32 vs 64 bit, newer labview versin, mac, linux, etc.) Labview can compile code for certain other systems given the right toolkit or module. Just look at PDA, embedded, RT, and FPGA, for example.
01-11-2012 09:18 AM
@Y3G wrote:
I have a similar issue...I am using LV2009 ver 90f3 (64 bit) on my Win7 machine. I have used the "Application Builder" in a quite default way. When running the EXE application on my PC from an USB-Stick it works, but when I go with it to other PCs (Win7) I get an Error saying something like 32bit or 64 bit.Is there a way to build it on 32bit systems?
Could I save the Project/llb files on older version and then trying to "compile" it from an XP/LabView8 machine ?
I am sure the error is more than "something like 32bit or 64 bit" ! Can you quote the exact error message?
There are two potential issues:
If the application was built as a 64 bit applications, it will not be able to run on a 32 bit windows machine. For better compatibility, I recommend to develop and build 32bit LabVIEW applications, they will run under 64 bit and 32 bit windows.
Of course all target PCs also need the correct runtime engine installed. You can include it with the installer or download it freely from NI.
01-20-2012 10:54 AM
Thanks for the hint.
Do you have an Application Note/White paper Documentation on how to build correctly an APplication , and not get into "pitfalls"?
When I opened the application on LV 8.3 (after saving it in LV8.3) I realized that not all SubVis could be read into the Block diagram, since they are not existing in LV8.3 (XML-subVis). Is there any other way to bypass the new development of the XML-Subvi? All the rest subVis were ok.
Thanks
01-20-2012 11:02 AM
Please clarify!
01-20-2012 11:25 AM
You must have a Run Time Engine installed and it must be of the same type (32 or 64 bit) as the LV that built the application.
/Y