Opened 13 years ago
Closed 13 years ago
#44 closed defect (fixed)
can't compile libuca on ufo1
Reported by: | Tomy Rolo | Owned by: | Matthias Vogelgesang |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | libuca | Version: | |
Keywords: | Cc: |
Description
Compiling libuca gives the following error:
Scanning dependencies of target uca
[ 9%] Building C object src/CMakeFiles/uca.dir/uca.c.o
[ 18%] Building C object src/CMakeFiles/uca.dir/uca-cam.c.o
[ 27%] Building C object src/CMakeFiles/uca.dir/uca-grabber.c.o
[ 36%] Building C object src/CMakeFiles/uca.dir/cameras/pco.c.o
/root/test/libuca/src/cameras/pco.c: In function ‘uca_pco_set_property’:
/root/test/libuca/src/cameras/pco.c:94:13: warning: implicit declaration of function ‘pco_set_hotpixel_correction’
[ 45%] Building C object src/CMakeFiles/uca.dir/grabbers/me4.c.o
In file included from /root/test/libuca/src/grabbers/me4.c:5:0:
/opt/siso/include/fgrab_struct.h:106:3: warning: declaration does not declare anything
[ 54%] Building C object src/CMakeFiles/uca.dir/cameras/simple.c.o
Linking C shared library libuca.so
[ 54%] Built target uca
Scanning dependencies of target benchmark
[ 63%] Building C object test/CMakeFiles/benchmark.dir/benchmark.c.o
Linking C executable benchmark
../src/libuca.so: undefined reference to `pco_set_hotpixel_correction'
collect2: ld returned 1 exit status
make[2]: * [test/benchmark] Error 1
make[1]: * [test/CMakeFiles/benchmark.dir/all] Error 2
make: * [all] Error 2
Attachments (0)
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Thanks for the pointer concerning libpco. However, after compiling it and trying to run the diagnose executable, I get a segmentation fault.
comment:3 Changed 13 years ago by
BTW, I'm using the most recent revision of these libraries from your personal repository
comment:4 Changed 13 years ago by
The latest ones should be fine. However, I haven't tested that on ufo1 but will tomorrow.
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Have you updated
libpco
? It looks like you are using an older version which doesn't exportpco_set_hotpixel_correction
. Unfortunately, I don't have access to ufo1 right now, but can check tomorrow.P.S.: I'll be more strict regarding version management and bump the version as soon as I change the public API.