You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install libcamiface, fro use with a Prosilica Camera under linux, I have moved a few Prosilica files to /usr/local/lib and include. To get cmake to make the Prosilica Backend. I have followed the instructions in the readme file:
mkdir build
cd build
cmake ..
make
make install
but the make step fails with:
Scanning dependencies of target cam_iface_prosilica_gige-static
[ 50%] Building C object src/CMakeFiles/cam_iface_prosilica_gige-static.dir/cam_iface_common.c.o
[ 55%] Building CXX object src/CMakeFiles/cam_iface_prosilica_gige-static.dir/cam_iface_prosilica_gige.cpp.o
Linking CXX static library libcam_iface_prosilica_gige.a
[ 55%] Built target cam_iface_prosilica_gige-static
Scanning dependencies of target multi-cam-autoset-mega
[ 61%] Building C object demo/CMakeFiles/multi-cam-autoset-mega.dir/multi-cam-autoset.c.o
Linking C executable multi-cam-autoset-mega
../src/libcam_iface_mega.so.0.6.0: undefined reference to timer_settime' ../src/libcam_iface_mega.so.0.6.0: undefined reference toclock_gettime'
../src/libcam_iface_mega.so.0.6.0: undefined reference to pthread_mutexattr_settype' ../src/libcam_iface_mega.so.0.6.0: undefined reference topthread_key_create'
../src/libcam_iface_mega.so.0.6.0: undefined reference to timer_delete' ../src/libcam_iface_mega.so.0.6.0: undefined reference topthread_kill'
../src/libcam_iface_mega.so.0.6.0: undefined reference to pthread_getspecific' ../src/libcam_iface_mega.so.0.6.0: undefined reference topthread_create'
../src/libcam_iface_mega.so.0.6.0: undefined reference to timer_create' ../src/libcam_iface_mega.so.0.6.0: undefined reference topthread_mutexattr_init'
../src/libcam_iface_mega.so.0.6.0: undefined reference to pthread_setspecific' ../src/libcam_iface_mega.so.0.6.0: undefined reference topthread_join'
collect2: ld returned 1 exit status
make[2]: *** [demo/multi-cam-autoset-mega] Error 1
make[1]: *** [demo/CMakeFiles/multi-cam-autoset-mega.dir/all] Error 2
make: *** [all] Error 2
It seems that a option like -pthread to the linker is missing some where in the generated makefiles.
Best Kennet Harpsøe
The text was updated successfully, but these errors were encountered:
Hey
I am trying to install libcamiface, fro use with a Prosilica Camera under linux, I have moved a few Prosilica files to /usr/local/lib and include. To get cmake to make the Prosilica Backend. I have followed the instructions in the readme file:
mkdir build
cd build
cmake ..
make
make install
but the make step fails with:
Scanning dependencies of target cam_iface_prosilica_gige-static
[ 50%] Building C object src/CMakeFiles/cam_iface_prosilica_gige-static.dir/cam_iface_common.c.o
[ 55%] Building CXX object src/CMakeFiles/cam_iface_prosilica_gige-static.dir/cam_iface_prosilica_gige.cpp.o
Linking CXX static library libcam_iface_prosilica_gige.a
[ 55%] Built target cam_iface_prosilica_gige-static
Scanning dependencies of target multi-cam-autoset-mega
[ 61%] Building C object demo/CMakeFiles/multi-cam-autoset-mega.dir/multi-cam-autoset.c.o
Linking C executable multi-cam-autoset-mega
../src/libcam_iface_mega.so.0.6.0: undefined reference to
timer_settime' ../src/libcam_iface_mega.so.0.6.0: undefined reference to
clock_gettime'../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_mutexattr_settype' ../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_key_create'../src/libcam_iface_mega.so.0.6.0: undefined reference to
timer_delete' ../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_kill'../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_getspecific' ../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_create'../src/libcam_iface_mega.so.0.6.0: undefined reference to
timer_create' ../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_mutexattr_init'../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_setspecific' ../src/libcam_iface_mega.so.0.6.0: undefined reference to
pthread_join'collect2: ld returned 1 exit status
make[2]: *** [demo/multi-cam-autoset-mega] Error 1
make[1]: *** [demo/CMakeFiles/multi-cam-autoset-mega.dir/all] Error 2
make: *** [all] Error 2
It seems that a option like -pthread to the linker is missing some where in the generated makefiles.
Best Kennet Harpsøe
The text was updated successfully, but these errors were encountered: