LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Unefined symbol '_imp_exit' referenced in labview.lib

I've tried to make a project with CVI compiler which contains a CIN
LabVIEW object and I got a message:

Unefined symbol '_imp_exit' referenced in labview.lib

I've download a CIN example from NI Zone - adding of two numbers. How
can I solve this problem?
0 Kudos
Message 1 of 6
(3,253 Views)
So, you are trying to compile the CIN code in CVI for use with LabVIEW, correct? If so, there are detailed instructions on how to build the LabVIEW LSB file with CVI in the file cvilvsb.h in the LabVIEW\CINTools directory. YOU HAVE TO HAVE THE FULL VERSION OF LABVIEW TO COMPILE CINs, not the base version.

If you are still having problems after reading the instructions in cvilvsb.h, you should probably contact our support engineers via http://www.ni.com/ask who will be happy to help you.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 6
(3,253 Views)
The sentence "YOU HAVE TO HAVE THE FULL VERSION OF LABVIEW TO COMPILE CINs, not the base version." is crucial. I have the base version of LabVIEW but I had a problem in making DLL with CVI software and therefore I did not have a chance to compile CIN module with LabVIEW. I have strictly followed the instructions given in the file cvilvsb.h. Maybe the problem is in compatibility betwee LabVIEW 5.1 and LabWindows/CVI 5.0? The instructions given in the file cvilvsb.h are referring to CVI version 4.0.1 and imply that the file "getcin.obj" be included in the project file. I could not find that file in the directory LABVIEW CINTOOLS\WIN32". In previosly mentioned directory I found the file "cin.obj" which I have included in the CVI project. Maybe this is a real probl
em?

Anyway, thanks a lot for immediate answer.
0 Kudos
Message 3 of 6
(3,253 Views)
Yes, the problem is you have the base version. The files needed to compile CINs (like getcin.obj) are not included with LabVIEW base version. LabVIEW base still uses CINs in the base version so some files are included, but you can't make your own in the base version. You will have to use the Call Library Function and a DLL since you have the base version.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 4 of 6
(3,253 Views)
Once more, thnaks a lot. The NI has an excelent support. The Ni is number ONE.

Best regards

Trajan
0 Kudos
Message 5 of 6
(3,253 Views)
Once more, thnaks a lot. The NI has an excelent support. The Ni is number ONE.

Best regards

Trajan
0 Kudos
Message 6 of 6
(3,253 Views)