LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build New Application (.app)

Solved!
Go to solution

I am running LabVIEW 8.5.

 

I would like to be able to create programs that run on a mac as well as a PC, and this page makes it look like I can do it by just changing the extension from .exe to .app under the target file name, though every time I try and do that, it automatically changes it back to .exe

 

Also, when I right click Build Specifications, it says "New -> Application (exe)" so it kind of looks like the version I have can only do .exe

Is there an application builder add-on I possibly need to download and/or buy seperately?

0 Kudos
Message 1 of 5
(2,280 Views)
Solution
Accepted by topic author LarsUlrich

Changing the extension isn't going to magically make it possible for a Windows .exe file to run on a Mac.  They need to be built separately on each operating system.

 

So build your application on a Windows PC running LabVIEW to create an executable.  Then transport your VI's to a Mac running LabVIEW and build an application there to create an executable that can run on a Mac.

0 Kudos
Message 2 of 5
(2,276 Views)

Well, I was trying to name the extension before I built it, not after it was compiled, but it sounds like you are saying that the PC version on LabVIEW will only make PC applications and the Mac version of LabVIEW will only make Mac applications.

 

That's pretty rough, especially when I only have LabVIEW for a PC, but have a Mac laptop that is much easier to carry around the lab to test out my programs.

0 Kudos
Message 3 of 5
(2,273 Views)

@LarsUlrich wrote:

Well, I was trying to name the extension before I built it, not after it was compiled, but it sounds like you are saying that the PC version on LabVIEW will only make PC applications and the Mac version of LabVIEW will only make Mac applications.

 

Correct.

 

That's pretty rough, especially when I only have LabVIEW for a PC, but have a Mac laptop that is much easier to carry around the lab to test out my programs.

 

I'm not certain, but wouldn't creating executables in a Visual Basic, C, C+, or any other programming enviroment be the same way?


 

0 Kudos
Message 4 of 5
(2,268 Views)

Cross compilers used to be fairly common.

0 Kudos
Message 5 of 5
(2,247 Views)