LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Errors in linking

Hi

i have some errors when i create an executable in release version. Below are the errors encountered.

3 project link errors
- Undefined symbol '__CompiledDebuggingLevel' referenced in C:\tools\ni\cvi70\bin\civstart.lib".
- Undefined symbol '__PtrInfoFixupTable' referenced in C:\tools\ni\cvi70\bin\civstart.lib".
- Undefined symbol '__UFRNameTable' referenced in C:\tools\ni\cvi70\bin\civstart.lib".

previously when i was in the eary stages of development in my project, i too encountered these problems then i went back to using debug. After completion of the project, release version seems to be working fine.

Now, i have just made some changes in my code and i rebuid, it gives me these errors again. i would like to find out the cause of this.

Please advice. Thanks.

Cheers
AL
0 Kudos
Message 1 of 3
(3,429 Views)
Hello AL,

I haven't seen this linking error before. So do you currently see this problem in the release and debug versions of the executable? I would make sure you have the compatibility mode set correctly under Options >> Build Options. What are the other options you have enabled under the "Code Generation" and "Debugging Options" of the Build Options dialog screen? Also, I would try deleting the cvibuild directory and the .cdb file in your project folder before rebuilding your project.

Let me know if this helps the situation.

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 3
(3,408 Views)
Hi Wendy,

these errors only occur when it is in release version.
My settings: -

COde Generation:
- Compatibility with: VisualC/C++
- Default calling convention: __cdecl
- max stack size: 250000
- image base address: x00400000

Debugging Options;
- debugging level: standard
- detect uninitialized local variables at run-time: checked

Previously about few months back, when i was in the initial stages of my project, i tried the release version to see if it coud work but failed with the above errors no matter what i did. I thought of finding out these problems later so i reverted back to debugging version to continue my project. But upon completion of my project, when i tried release version, it works so i thought maybe it was some problems in my earlier codes.

This problem does not only happen on my PC but on others as well. It's a pretty random thing i think, sometimes when i rebuilt using release version on another pc, it works but not on mine and vice versa.

But yesterday, when i made changes to the code, the release version couldn't be created and the above errors appeared again!! Tried rebuilding the whole project, closing and reopen the program, rebooting the pc but to no avail. So i thought i should ask to find out the reason for this weird behaviour. Later on in the day, i tried it on another pc and it works real fine. Weird......

This morning, i tried your suggestion of deleting the build files, etc... and it works on my pc too. Thought i tried it yesterday as well but i'm not too sure myself. I can't seem to recreate the error again. Any particular idea why this happens??

Maybe later in the day, if the error occurs again, i'll let you know.

But anyway, thanks for the help. really appreciate your help and promptness.

Cheers
AL
0 Kudos
Message 3 of 3
(3,400 Views)