From: Toby C. <tco...@pl...> - 2009-04-02 18:12:59
|
It looks like you need to add the SR library to your driver link line... Toby 2009/4/3 Klas <kla...@hi...> > > I am trying to use a Swiss range camera (SR300)on an Ubuntu system. > When I try to execute my SR-camera program in player I get the following: > "player: symbol lookup error: /home/permobil/PerSR/./libperSRdriver.so: > undefined symbol: SR_OpenUSB" > > SR_OpenUSB is the first function used in the /usr/include/libusbSR.h file. > > I use the following makefile (copied from an earlier project): > ----- > all: libperSRdriver.so > %.o: %.cpp > $(CXX) -Wall -fpic -D_REENTRANT -D_GNU_SOURCE -D_MAJOR_VERSION=1 > -D_MINOR_VERSION=9 -D_BUILD_VERSION=12 -D_BUILD2_VERSION=72 -DMALLOC_TRACE > -g3 `pkg-config --cflags playercore` -c -I -ggdb `pkg-config --cflags > opencv` -ffast-math -O3 $^ > > libperSRdriver.so: perSR.o > $(CXX) -shared `pkg-config --libs opencv` -L /usr/include/ > -lmvDeviceManager -lmvPropHandling -lm -lpthread -ldl -o $@ $^ > ----- > > Any ideas? > > -- > View this message in context: > http://www.nabble.com/player%3A-symbol-lookup-error-with-SwissRange-camera-tp22849796p22849796.html > Sent from the playerstage-users mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- This email is intended for the addressee only and may contain privileged and/or confidential information |