[Jderobot-dev] Compilar cameraserver y cameraview
gallardo agustin
agallard4 en gmail.com
Jue Dic 20 16:41:23 CET 2012
Buenos días,
no consigo comprilar diferentes componentes de jderobot:
*Con cameraserver obtengo el siguiente error:*
[ 98%] Built target visionlib
Linking CXX executable cameraserver
/usr/bin/ld: CMakeFiles/cameraserver.dir/cameraserver.cpp.o: undefined
reference to symbol 'dc1394_video_set_transmission'
/usr/bin/ld: note: *'dc1394_video_set_**transmission' is defined in DSO
/usr/lib/gcc/i686-linux-gnu/4.**6/../../../i386-linux-gnu/**libdc1394.so so
try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.**6/../../../i386-linux-gnu/**libdc1394.so:
could not read symbols: Invalid operation*
collect2: ld returned 1 exit status
make[2]: *** [../cameraserver] Error 1
make[1]: *** [../CMakeFiles/cameraserver.dir/all] Error 2
make: *** [all] Error 2
*Con cameraview:*
Linking CXX executable cameraview
CMakeFiles/cameraview.dir/cameraview.cpp.o: In function `cv::Mat::~Mat()':
cameraview.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x2b): undefined
reference to `cv::fastFree(void*)'
CMakeFiles/cameraview.dir/cameraview.cpp.o: In function
`cv::Mat::release()':
cameraview.cpp:(.text._ZN2cv3Mat7releaseEv[cv::Mat::release()]+0x3b):
undefined reference to `cv::Mat::deallocate()'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::cvtColor(cv::_InputArray const&,
cv::_OutputArray const&, int, int)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::copySize(cv::Mat const&)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::imwrite(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray
const&, std::vector<int, std::allocator<int> > const&)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::reshape(int, int, int const*) const'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::mixChannels(cv::Mat const*, unsigned int,
cv::Mat*, unsigned int, int const*, unsigned int)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::zeros(int, int, int)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::create(int, int const*, int)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::imread(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, int)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `vtable for cv::_OutputArray'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::operator=(cv::Scalar_<double> const&)'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int,
double, double) const'
/home/caupolican/robotica/trunk/src/components/cameraview/build/../../../libs/colorspaces/libcolorspacesmm.so:
undefined reference to `vtable for cv::_InputArray'
collect2: ld returned 1 exit status
make[2]: *** [../cameraview] Error 1
make[1]: *** [../CMakeFiles/cameraview.dir/all] Error 2
make: *** [all] Error 2
Estoy instalando sobre Ubuntu 12.04. Inicialmente instalé OpenCV 2.3.1 (¿
cuál es la mejor manera de desinstalarlo ?) pero luego he instalado también
2.4.3. y sigue sin funcionar, tras ejecutar "make clean" y los scripts
"clean.sh"
Un saludo y
Gracias!
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20121220/954caf46/attachment.htm
More information about the Jde-developers
mailing list