Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems building a c library based on nidaqmxbase

I am trying to build a c shared library based on nidaqmxbase. I am using the method described by David A. Wheeler, see
http://tldp.org/HOWTO/Program-Library-HOWTO/
When I do

gcc -g -o daq_use daq_use.o -L. -ldaq -llibnidaqmxbase -L/usr/local/natinst/nidaqmxbase/lib/

and run the resulting program I get a segmentation fault irrespective of what I put into the source daq_use.c.
Has anyone any advice for me?
Håkan
0 Kudos
Message 1 of 1
(2,617 Views)