LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error undefined symbol '_CVI_GetFileSize@8' when trying to create DLL from instrument driver

Hi all,

I am trying to create 64-bit DLL for the driver of a device so that I can use it in LabVIEW 2014 64-bit. The information for the instrument is as follows:

 

instrument: Rohde & Schwartz SMF100A signal generator 

Driver type: VXI plug&play

 

I have made a DLL project in LabWindows/CVI 2019 and loaded all the .c, .h and .fp files provided by Rohde & Schwartz as the LabWindows/CVI driver. When I try to build the project in the 'Release64' mode, and when LabWindows wants to link rssmf_64.dll, I face the two following errors:

 

error: Undefined symbol '_CVI_GetFileSize@8' referenced in "d:\...\Release64\rssmf.obj"

error: Undefined symbol 'ProcessSystemEvents' referenced in "d:\...\Release64\rssmf.obj"

 

I checked the LabWindows installation folder, and in the "include" folder which contains many .h files, there are definitions for similar symbols as follows:

 

"userint.h" : int CVIFUNC ProcessSystemEvents(void);

"utility.h" : int CVIFUNC GetFileSize (const char fileName[], ssize_t *fileSize);

 

I add these .h files to the project but still get the same error. Could anyone please help me?

Best,

Nader

 

 

 

 

 

0 Kudos
Message 1 of 2
(2,286 Views)

Hello NaderMostaan,

 

Does it works for other build configuration ?

Can't you use 32-bit version of LabVIEW and then compile the DLL for 32 targets ?

Have you tried with CVI 2017 ?

 

Regards

 

 

 

 

0 Kudos
Message 2 of 2
(2,221 Views)