Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

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

$
0
0

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

 

 

 

 

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>