LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI crashes when compiling

I'trying to compile with CVI 6.0.0 (105) a project that I developed using CVI 5.5.1.
When compiling a source of that project I got an 'Unrecoverable Internal Error' error message and the subsequent abort of the IDE.
0 Kudos
Message 1 of 6
(3,482 Views)
Does this happen with both configuration modes, (i.e. release & debug) or is it limited to one?
Can you compile the C source code files individually?
This should identify whether it is the compilation or linking process that is causing your problems...

If you still have no joy, you could try posting your code, and seeing if the problem is due to your installation of CVI6, or your code...
Message 2 of 6
(3,482 Views)
Effectively the problem arises only compiling in 'debug' configuration.

There's only one file of the project causing the error; compiling the single file will produce the same result as building the entire application, the crash happens while compiling that file.

The target of the project is a DLL.
0 Kudos
Message 3 of 6
(3,482 Views)
Makd,
Are you trying to build this dll from the same directory as you used in CVI 5.x? When a project is built, and the debug configuration is selected, there are several other files that are created which hold the debugging info...
Try deleting the *.cdb file in the same dir as the project (assuming that this was last successfully built with CVI 5.x) Also there is probably a directory of the same name as your dll target title... Try deleting this dir as well, thereby forcing CVI to regenerate it.
If however, as you suggest, CVI crashes while you are just trying to compile this file, I would guess that you have a dodgy CVI installation, as normally if a problem is encountered during compilation, all that happens is a error box appears... You could ma
ybe try modifying some of the compilation options in the build options menu... maybe try minimising the warnings etc to see if anything changes. One last thought... are you using the same code compatibility model as previous? (borland, microsoft etc.) again, that shouldn't cause a crash, but it's another idea...
Regards
JB
0 Kudos
Message 4 of 6
(3,482 Views)
I tried to remove any possible 'old' file, coming from any previous installation of CVI, but the crash still occurs.
Trying to compile the 'suspicious' file on others PCs, running CVI 6.0, gives the same result ... the IDE crashes ... while no problems arise using CVI 5.5
I also tried to modify build options/compatibilty mode with no success.

Cheers
MAKD
0 Kudos
Message 5 of 6
(3,482 Views)
It sounds like you have got this down to an easily reproducible problem. I would recommend you send the file to our engineers at NI via http://www.ni.com/ask and we can diagnose what is causing the problem for you.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 6 of 6
(3,482 Views)