08-02-2022 12:42 PM
I would like to run a LabVIEW-built EXE from a disc. When I run it from the hard drive, everything is fine. When I copy it to a disc (along with the ini and other build artifacts), it pops up the load dialog looking for LabVIEW controls etc that you would normally get opening up a project in the LabVIEW IDE. The path it is looking for these controls at is <disc root>\<executable>.exe\<the control.ctl> which makes sense as that's where the control would reside, inside the executable.
Is there some set of build settings that need to be configured to allow it to successfully find/load from a disc versus from a folder on the hard drive?
08-02-2022 01:28 PM - edited 08-02-2022 01:28 PM
As you reported, it seems that, due to some compiler issues, the EXE is looking for something that is missing.
You can try to do this:
- Be sure that your CTL is present in the LabVIEW project.
- In the EXE build specification, force your CTL to be "always included". To do this, go to the EXE build specification, select Source Files tab and move your CTL in the Always Included list.
If this doesn't work, try these ways:
Way 1: Mass compile.
Way 2: Close the project, rename your CTL, Open project (it will return dependencies errors), Save project, Close project, Restore your CTL name, Open project, Fix dependencies errors, Build Exe.