Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Error of compiled ai program

I want to drive PCIe6259 on RedHat Enterprise Workstation 5, Bit 64

I have installed nidaqmxbase-3.2.0, no errors are reported. I've run the updateNIDrivers.

compiled the ai program under example folder.

The following error occurred:

[root@localhost ai]# make

gcc -I../../include -O2 acquireNScans.c -lnidaqmxbase -o acquireNScans

/usr/bin/ld: skipping incompatible /usr/local/lib/libnidaqmxbase.so when searching for -lnidaqmxbase

/usr/bin/ld: cannot find -lnidaqmxbase

collect2: ld  return 1

make: *** [acquireNScans] error 1

But in usr / local / lib, libnidaqmxbase.so file exist.
Thank for your help.

0 Kudos
Message 1 of 1
(3,476 Views)