LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined symbol '_GetDAQErrorString@4' referenced in xxx

I'm running CVI 8 in windows XP and I have a program that utilizes a few NI-DAQ functions.

 

The program functions perfectly under USER_A's account. However, if I log out & switch to USER_B's account (or even switching to the administrator's account), opening the identical project yields the following errors:

 

 3 Project link errors
  Undefined symbol '_GetDAQErrorString@4' referenced in "xxx.c".
  Undefined symbol '_AISampleChannel@28' referenced in "xxx.c".
  Undefined symbol '_AOUpdateChannel@16' referenced in "xxx.c".

The "easyio.h" header file is being picked up by the compiler correctly, so that's not the issue. When I go to any of the aforementioned function and click on 'Go to definition", the program correctly finds the associated function in easyio.h.

 

Does anyone have any idea why the project link error pops up?

 

Thanks!

0 Kudos
Message 1 of 2
(3,274 Views)

Hi,

 

Do you only have multiple versions of CVI? Try customizing your library and point to this specific library by adding <CVIXXX>\bin \easyio.lfp to your Library. You can do this by going to Library > Customize, click Add and and paste the file path to the easyio.lfp. This won't take into effect till the next session, so close out of CVI and open it again.

Rohama K.
0 Kudos
Message 2 of 2
(3,255 Views)