pgstein104 Posted November 1, 2010 Report Share Posted November 1, 2010 Hi All, I am attemping to buld an executable from source code (LV2009) that calls two seperate custom .lvlibs. The problem is when I build it, it creates the exe along with two folders containing all of the vi's in those libraries. Is there a way to roll them into the exectuable? I figuered this would be really easy but i have had no luck. Any help would be appreciated! Thanks, Paul Quote Link to comment
Yair Posted November 1, 2010 Report Share Posted November 1, 2010 Make sure that the build script does not have the "use 8.x structure" option checked (probably in the Advanced page). I'm assuming this project was ported from an earlier version, where this is checked automatically for compatibility. Note that this changes the internal structure of VIs in the EXE, so if you're using relative paths, you might have to do some fixing of your code. Quote Link to comment
gmart Posted November 2, 2010 Report Share Posted November 2, 2010 The internal format of executables changed in LabVIEW 2009. By default, though, older projects load using the older format. You can toggle this setting on the Advanced page. Look for the option - "Use 8.x file layout". Uncheck this (if it's checked) and the files will no longer be placed outside the EXE. Quote Link to comment
ShaunR Posted November 2, 2010 Report Share Posted November 2, 2010 If the above suggestions don't work. then try forcing the libs into the exe: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.