Modify

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 Matthias Vogelgesang

Have you updated libpco? It looks like you are using an older version which doesn't export pco_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.

comment:2 Changed 13 years ago by Tomy Rolo

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 Tomy Rolo

BTW, I'm using the most recent revision of these libraries from your personal repository

comment:4 Changed 13 years ago by Matthias Vogelgesang

The latest ones should be fine. However, I haven't tested that on ufo1 but will tomorrow.

comment:5 Changed 13 years ago by Matthias Vogelgesang

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthias Vogelgesang.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.