LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

linking error cvistart.lib

Hi,
 
I'm trying to build a DLL and i get the following errors:
 
4 Project link errors
  Undefined symbol '___UFRNameTable' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
  Undefined symbol '___CompiledDebuggingLevel' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
  Undefined symbol '___PtrInfoFixupTable' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
  Undefined symbol '___CVI_Sections' referenced in "c:\program files\national instruments\cvi81\bin\cvistart.lib".
 
I tryed it on two machines and i also tryed to create an exetuable (after adding main function to the project).
 
I also tryed to create a new project
 
Thanks for help
0 Kudos
Message 1 of 8
(6,092 Views)
Does this happen with any CVI project that you build, or only with a specific project? If it's only one project, is there anything different about it? For example, are you including any .obj files with debug info directly in the project?

Have you tried marking the project for recompilation and doing a complete rebuild? You might also want to delete the cvibuild.* folder.

Luis
0 Kudos
Message 2 of 8
(6,067 Views)

Hi,

Thank you for the answer. There was a problem with one of the lib's included in the project.

I recompiled the lib and it's ok now

 

 

0 Kudos
Message 3 of 8
(6,038 Views)

I am having the same problem.  What lib did you have to recompile?

 

Thanx,

 

Jerry

0 Kudos
Message 4 of 8
(5,681 Views)
I'm having the same problem too.
0 Kudos
Message 5 of 8
(5,465 Views)

Which version of CVI are you using?

 

Are you using only source files to build your project, or are you also using .obj or .lib files? If you're using .obj or .lib files, did you build them yourself with CVI, or were they created with some third-party compiler?

 

Luis

0 Kudos
Message 6 of 8
(5,446 Views)

I am having the exact same problem, but only when do a release build.  The debug build works fine.

 

Errors generated when performing a 'release' build'
clear_history_ecu_data.prj(Release) - 4 link errors
 Undefined symbol '___CompiledDebuggingLevel' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
 Undefined symbol '___PtrInfoFixupTable' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
 Undefined symbol '___CVI_Sections' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib".
 Undefined symbol '___UFRNameTable' referenced in "c:\program files\national instruments\cvi2009\bin\msvc\cvistart.lib". 

 

 

I am using CVI 2009.

 

I have deleted the build folder and marked all for recompile.

 

Any suggestions?

 

Thanx,

 

thefalk

0 Kudos
Message 7 of 8
(5,069 Views)

thefalk,

 

This issue is already being actively worked on here. It would be best if we can keep the discussion to one place so we can easily track the progress and get you a quick and correct solution. 

 

Thanks,

 

 

 

Raj
National Instruments
Applications Engineer
0 Kudos
Message 8 of 8
(5,038 Views)