This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error Undefined Symbol in Winhost.obj in LabWindows™/CVI™ Real-Time

Updated May 15, 2023

Reported In

Software

  • LabWindows/CVI
  • LabWindows/CVI Real-Time Module

Programming Language

  • C
  • C++

Issue Details

When compiling my LabWindows™/CVI™ Real-Time application DLL I get linker errors on undefined symbols in winhost.obj. There are different functions that are referenced. How do I build my application? 

 

error: Undefined symbol '_PlotStripChart@28'  in winhost,obj 
error: Undefined symbol '_SetCtrlVal' in winhost,obj 

 

Solution

The undefined symbol error can occur for several reasons, check the following: 

  • Ensure that you are not including libraries that are not supported in LabWindows/CVI Real-Time in your code or within the project.
  • Check to ensure that your build settings are correct to build an RT application.