rhechtatssi Posted July 18, 2012 Report Share Posted July 18, 2012 For the last two days, I've been working through a problem wherein my project build .exe had somehow broken (the build had been working, but I made a number of changes around files/internet access/xml). I didn't see any problems running in the debugger, but when I built the application, I received a series of "The VI is not executable errors and a broken start button. I've been in discussions with National Instruments concerning possible sources and was successively localizing the offending vis (this is a pretty big application) (including their own known bug workarounds ... no luck). Bottom Line: If I build with your EasyXML (Generate and Parse), the final executable is broken. I can't perform a debug of the .exe (it crashes) and really have no visibility into the issues. If I conditionally disable the calls, then the application builds and runs. Again, no problems in the debugger. I am using LabVIEW Professional 2011 SP1 on Windows 7. Any ideas? Link to comment Share on other sites More sharing options...
Ashish Posted July 18, 2012 Report Share Posted July 18, 2012 rhechtatssi, What version of EasyXML are you using? Can you send us an example project that produces a broken build? This will help us reproduce and investigate the issue. Also, any additional information/screenshots will be helpful. Thank you. Link to comment Share on other sites More sharing options...
rhechtatssi Posted July 18, 2012 Author Report Share Posted July 18, 2012 Hello, I'm using a full version of jki_lib_easyxml version 2.0-2. The project is including all of the .vis and project is very large (52M), is there something specific that would help? If I provide the built application with debugging enabled, would that be helpful (although it crashes for me). I can also provide the (most recent) mass compile logs. Rich Link to comment Share on other sites More sharing options...
rhechtatssi Posted July 22, 2012 Author Report Share Posted July 22, 2012 Hello, I spent a day remove code modules from my broken application and adding functionality to a working build. No luck (after removing file/display/math VIs). I mass compiled vi.lib and my application. No luck. BUT I finally found out how to successfully build the application ... consistently. What I do is before every build I clear the compiled object cache. The first build after this clear always works. If I don't (clear the cache) the resulting executable is broken ... again with no builder errors. Clearing Any ideas? I have a workaround, but this may come back to haunt me ... are there any utilities that can give me visibility into the final application build? Thanks Link to comment Share on other sites More sharing options...
Michael Aivaliotis Posted July 24, 2012 Report Share Posted July 24, 2012 You could try disabling the feature: 'Separate compiled code from source file' for the calling VIs of the easyXML VIs. Also check the EasyXML VIs to make sure they have this feature disabled as well. You can go into the VI properties > General. Link to comment Share on other sites More sharing options...
rhechtatssi Posted July 26, 2012 Author Report Share Posted July 26, 2012 I was able to resolve the problem by disabling Disconnect Type Definitions. I no longer have the clear the object cache each time ... hope this helps someone else. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.