From: Matthew L. <mat...@gm...> - 2008-10-27 16:22:46
|
Gastón, I have not tested vidl2 with the new debian package of libdc1394. It looks like debian is using version 2.0.0-rc7. vidl2 has been tested with 2.0.2 from sourceforge. However, the linking errors here lead me to believe that something else is the problem. Can you look in your CMakeCache.txt and verify that DC1394_LIBRARIES points to the correct library? --Matt On Oct 27, 2008, at 11:53 AM, Gastón Araguás wrote: > Hello > I'm trying to compile the VXL with dc1394 support to acquire video > using a firewire camera. > First i got an error regarding to an undefined INT_MAX in > /usr/local/vxl/contrib/brl/bbas/bil/algo/bil_wshed2d.cxx > which was avoided including <limits.h> > > Now, i get the following linking errors (i use debian an have > libdc1394-20 and libdc1394-20-dev installed) > > > -- Linking CXX executable vidl2_player > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::advance()': > vidl2_dc1394_istream.cxx:(.text+0x4ea): undefined reference to > `dc1394_capture_enqueue' > vidl2_dc1394_istream.cxx:(.text+0x510): undefined reference to > `dc1394_capture_dequeue' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::vidl2_dc1394_istream()': > vidl2_dc1394_istream.cxx:(.text+0x58b): undefined reference to > `dc1394_new' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::vidl2_dc1394_istream()': > vidl2_dc1394_istream.cxx:(.text+0x62d): undefined reference to > `dc1394_new' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > ` > vidl2_dc1394_istream > ::valid_params(vidl2_iidc1394_params::valid_options&)': > vidl2_dc1394_istream.cxx:(.text+0x862): undefined reference to > `dc1394_new' > vidl2_dc1394_istream.cxx:(.text+0x87a): undefined reference to > `dc1394_camera_enumerate' > vidl2_dc1394_istream.cxx:(.text+0x88e): undefined reference to > `dc1394_error_get_string' > vidl2_dc1394_istream.cxx:(.text+0x8ce): undefined reference to > `dc1394_camera_free_list' > vidl2_dc1394_istream.cxx:(.text+0x8d9): undefined reference to > `dc1394_free' > vidl2_dc1394_istream.cxx:(.text+0x90a): undefined reference to > `dc1394_camera_free_list' > vidl2_dc1394_istream.cxx:(.text+0x915): undefined reference to > `dc1394_free' > vidl2_dc1394_istream.cxx:(.text+0xa19): undefined reference to > `dc1394_camera_new' > vidl2_dc1394_istream.cxx:(.text+0xb13): undefined reference to > `dc1394_video_get_mode' > vidl2_dc1394_istream.cxx:(.text+0xb4e): undefined reference to > `dc1394_video_get_framerate' > vidl2_dc1394_istream.cxx:(.text+0xb89): undefined reference to > `dc1394_video_get_operation_mode' > vidl2_dc1394_istream.cxx:(.text+0xbcc): undefined reference to > `dc1394_video_get_iso_speed' > vidl2_dc1394_istream.cxx:(.text+0xc07): undefined reference to > `dc1394_video_get_supported_modes' > vidl2_dc1394_istream.cxx:(.text+0xc30): undefined reference to > `dc1394_camera_free_list' > vidl2_dc1394_istream.cxx:(.text+0xc3b): undefined reference to > `dc1394_free' > vidl2_dc1394_istream.cxx:(.text+0xd98): undefined reference to > `dc1394_video_get_supported_framerates' > vidl2_dc1394_istream.cxx:(.text+0xe5d): undefined reference to > `dc1394_feature_get_all' > vidl2_dc1394_istream.cxx:(.text+0xe86): undefined reference to > `dc1394_camera_free_list' > vidl2_dc1394_istream.cxx:(.text+0xe91): undefined reference to > `dc1394_free' > vidl2_dc1394_istream.cxx:(.text+0xf2d): undefined reference to > `dc1394_feature_get_string' > vidl2_dc1394_istream.cxx:(.text+0xfcd): undefined reference to > `dc1394_feature_print_all' > vidl2_dc1394_istream.cxx:(.text+0xfd8): undefined reference to > `dc1394_camera_free' > vidl2_dc1394_istream.cxx:(.text+0xffb): undefined reference to > `dc1394_camera_free_list' > vidl2_dc1394_istream.cxx:(.text+0x1006): undefined reference to > `dc1394_free' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::close()': > vidl2_dc1394_istream.cxx:(.text+0x1047): undefined reference to > `dc1394_video_get_transmission' > vidl2_dc1394_istream.cxx:(.text+0x107e): undefined reference to > `dc1394_video_set_transmission' > vidl2_dc1394_istream.cxx:(.text+0x108f): undefined reference to > `dc1394_capture_stop' > vidl2_dc1394_istream.cxx:(.text+0x10a0): undefined reference to > `dc1394_camera_free' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::~vidl2_dc1394_istream()': > vidl2_dc1394_istream.cxx:(.text+0x10e9): undefined reference to > `dc1394_free' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::~vidl2_dc1394_istream()': > vidl2_dc1394_istream.cxx:(.text+0x1193): undefined reference to > `dc1394_free' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::~vidl2_dc1394_istream()': > vidl2_dc1394_istream.cxx:(.text+0x123d): undefined reference to > `dc1394_free' > ../../../../../lib/libvidl2.a(vidl2_dc1394_istream.o): In function > `vidl2_dc1394_istream::open(unsigned int, bool, vidl2_iidc1394_params > const&)': > vidl2_dc1394_istream.cxx:(.text+0x1307): undefined reference to > `dc1394_camera_new' > vidl2_dc1394_istream.cxx:(.text+0x13b1): undefined reference to > `dc1394_video_set_operation_mode' > vidl2_dc1394_istream.cxx:(.text+0x1407): undefined reference to > `dc1394_video_set_iso_speed' > vidl2_dc1394_istream.cxx:(.text+0x145d): undefined reference to > `dc1394_video_set_mode' > vidl2_dc1394_istream.cxx:(.text+0x14b3): undefined reference to > `dc1394_video_set_framerate' > vidl2_dc1394_istream.cxx:(.text+0x1569): undefined reference to > `dc1394_feature_set_power' > vidl2_dc1394_istream.cxx:(.text+0x168c): undefined reference to > `dc1394_feature_get_mode' > vidl2_dc1394_istream.cxx:(.text+0x16e1): undefined reference to > `dc1394_feature_set_mode' > vidl2_dc1394_istream.cxx:(.text+0x1880): undefined reference to > `dc1394_feature_whitebalance_set_value' > vidl2_dc1394_istream.cxx:(.text+0x1915): undefined reference to > `dc1394_feature_temperature_set_value' > vidl2_dc1394_istream.cxx:(.text+0x19a0): undefined reference to > `dc1394_feature_set_absolute_value' > vidl2_dc1394_istream.cxx:(.text+0x1abe): undefined reference to > `dc1394_feature_set_value' > vidl2_dc1394_istream.cxx:(.text+0x1bfa): undefined reference to > `dc1394_capture_setup' > vidl2_dc1394_istream.cxx:(.text+0x1c52): undefined reference to > `dc1394_video_get_transmission' > vidl2_dc1394_istream.cxx:(.text+0x1c80): undefined reference to > `dc1394_video_set_transmission' > vidl2_dc1394_istream.cxx:(.text+0x1cad): undefined reference to > `dc1394_video_set_transmission' > collect2: ld returned 1 exit status > make[2]: *** [contrib/brl/bbas/vidl2/examples/vidl2_player] Error 1 > make[1]: *** [contrib/brl/bbas/vidl2/examples/CMakeFiles/ > vidl2_player.dir/all] > Error 2 > make: *** [all] Error 2 > > helps?? > > Gastón Araguás > ______________________________________________________ > CIII - Centro de Investigación en Informática para la Ingeniería > Univ. Tecnológica Nacional Facultad Regional Córdoba. Argentina > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users |