08-23-2016 02:07 PM
Can someone explain to me why this is happening? I have a very simple application that works in development mode but is broken all over the place when built:
The image above is from a debug session of a built application. The classes on the left have been added to the build and are all fully functional in the development environment. I get no complaints on a build and have no idea what is causing the application to bomb. Anyone seen this before? Any thoughts?
08-23-2016 02:21 PM
Hello,
I have not seen it before, but maybe we can try to figure out something from build log file, can you generate one?
Marcin
08-23-2016 02:41 PM
Ya, I looked at that. tbh, it didn't really show anything. Now, I think that I have figured out what the problem was and it is related to another post that I just put up (concerning the automatic inlining of accessors). Under Additional Exclusions, I removed the check mark Disconnect unused inline subVIs and now I have something that builds. I will update this if it changes.
Thanks for your help.
02-27-2023 11:40 AM
02-28-2023 09:36 AM
Have you somehow managed to put the class under "Don't include"?
02-28-2023 02:00 PM
Ha ha.. I have all packed libraries included in Always include... I found the reason behind this anyways...
I have Exclude Dependent Libraries option checked for my packed libraries and it refers to the original relative path when I do check this option as per documentation.
I have to figure out a way to manage this now.
Source:https://www.ni.com/docs/en-US/bundle/labview/page/lvdialog/additional_exclusions_packed_page.html
I hope this helps others.!
Regards,
Ajay
02-28-2023 05:28 PM
@Ajay_MV wrote:
Ha ha.. I have all packed libraries included in Always include... I found the reason behind this anyways...
I have Exclude Dependent Libraries option checked for my packed libraries and it refers to the original relative path when I do check this option as per documentation.
I have to figure out a way to manage this now.
- Exclude dependent packed libraries—Specifies to reduce the overall number of files in a build output. When you enable this checkbox, LabVIEW excludes copies of dependent packed project libraries to which you link from other build outputs. To exclude dependent packed project library files, LabVIEW retains the links relative to the original dependent packed project libraries instead of copying those files during the build. For example, if you create one build output and then a subsequent build output, you can relatively link the subsequent build output to a file in the first build output. If you leave this checkbox disabled, LabVIEW copies the dependent packed library file to which you linked instead of retaining the relative link to that file.
Source:https://www.ni.com/docs/en-US/bundle/labview/page/lvdialog/additional_exclusions_packed_page.html
I hope this helps others.!
Regards,
Ajay
Don't forget to mark your solution as the solution - that way you have a better chance of helping others. 🙂