LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined Symbol in interactive operation

I have a LabWindows/CVI (v6.0) project containing:
- a .fp file
- an attached .c file with the instrument functions,
- several other .c files containing helper functions,
- associated .h files.

I can build the project from the build menu and create a debug executable, which runs from main() ok.
However if I try to run a panel interactively I get 'Error linking generated code' followed by a list of Undefined Symbols for the functions called that are in the other .c files.

The interactive code generation does not seem to see the additional .c files. Have I missed some setup step or is there a fundamental concept I've missed?
0 Kudos
Message 1 of 2
(3,071 Views)
Drew,

Those linking errors that you get are because CVI is not including the lib file when compiling in the interactive window.

In CVI 7.0 there is a setting that can help you. If you go to Options>>Environment you'll se an option to force project files into Intercative Window. and force Loaded Instrument Drivers into Interactive Window. I know in CVI 6.0 this options are a bit different, but there should be somethig like that. Remember to rebuild you FP and your project.

Hope that helps.

Regards,
Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(3,071 Views)