[Jderobot-dev] problema con opencv
JoseMaria
josemaria.plaza en gmail.com
Lun Jul 8 11:00:53 CEST 2013
uhm... Jderobot es un software modular con muuuchos componentes. No hace
falta que te lo compiles todo, vete mejor a los componentes que
necesitas (cameraserver y cameraview) e intenta compilar esos. Esa
compilación te llevará a compilar también algunas bibliotecas genéricas,
pero no toooodo Jderobot.
Ánimo,
JoseMaria
On Mon, 2013-07-08 at 01:56 -0700, Aitor Martínez wrote:
> es la primera vez que uso CMake y de las primeras que uso make y estoy
> bastante perdido ahora mismo, cuando he hecho cmake me sale esto:
>
> OpenCV-2.3.1/build$ cmake ..
>
> -- Extracting svn version, please wait...
> -- SVNVERSION: svn:exportado
> -- Detected version of GNU GCC: 46 (406)
> -- checking for module 'libdc1394-2'
> -- package 'libdc1394-2' not found
> -- checking for module 'libdc1394'
> -- package 'libdc1394' not found
> -- Could NOT find Jasper (missing: JASPER_LIBRARY JASPER_INCLUDE_DIR)
> -- checking for module 'libv4l1'
> -- package 'libv4l1' not found
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named numpy.distutils
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named sphinx
> CUDA_TOOLKIT_ROOT_DIR not found or specified
> -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE
> CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "4.0")
> -- Parsing 'cvconfig.h.cmake'
> --
> -- General configuration for opencv 2.3.1
> =====================================
> --
> -- Built as dynamic libs?: YES
> -- Compiler: /usr/bin/c++
> -- C++ flags (Release): -Wall -Wno-long-long -pthread
> -ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -msse -msse2
> -DNDEBUG
> -- C++ flags (Debug): -Wall -Wno-long-long -pthread
> -ffunction-sections -g -O0 -DDEBUG -D_DEBUG -ggdb3
> -- Linker flags (Release):
> -- Linker flags (Debug):
> --
> -- GUI:
> -- GTK+ 2.x: YES
> -- GThread: YES
> --
> -- Media I/O:
> -- ZLib: YES
> -- JPEG: TRUE
> -- PNG: TRUE
> -- TIFF: TRUE
> -- JPEG 2000: build
> -- OpenEXR: NO
> -- OpenNI: NO
> -- OpenNI PrimeSensor Modules: NO
> -- XIMEA: NO
> --
> -- Video I/O:
> -- DC1394 1.x: NO
> -- DC1394 2.x: NO
> -- FFMPEG: YES
> -- codec: YES
> -- format: YES
> -- util: YES
> -- swscale: YES
> -- gentoo-style: YES
> -- GStreamer: YES
> -- UniCap: NO
> -- PvAPI: NO
> -- V4L/V4L2: /1
> -- Xine: NO
> --
> -- Other third-party libraries:
> -- Use IPP: NO
> -- Use TBB: NO
> -- Use ThreadingFramework: NO
> -- Use Cuda: NO
> -- Use Eigen: YES
> --
> -- Interfaces:
> -- Python: YES
> -- Python interpreter: /usr/bin/python -B (ver 2.7)
> -- Python numpy: NO (Python wrappers will not be
> generated)
> -- Java: NO
> --
> -- Documentation:
> -- Sphinx: NO
> -- PdfLaTeX compiler: /usr/bin/pdflatex
> -- Build Documentation: NO
> --
> -- Tests and samples:
> -- Tests: YES
> -- Examples: NO
> --
> -- Install path: /usr/local
> --
> -- cvconfig.h is in: /home/aitor/OpenCV-2.3.1/build
> -- -----------------------------------------------------------------
> --
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/aitor/OpenCV-2.3.1/build
>
> y después al hacer make esto:
>
> OpenCV-2.3.1/build$make
>
> [ 23%] Built target opencv_core
> [ 23%] Built target opencv_imgproc
> [ 23%] Built target opencv_flann
> [ 23%] Built target libjasper
> [ 23%] Built target opencv_highgui
> [ 23%] Built target opencv_features2d
> [ 23%] Built target opencv_calib3d
> [ 23%] Built target opencv_ts
> Linking CXX executable ../../bin/opencv_test_calib3d
> ../../lib/libopencv_highgui.so.2.3.1: undefined reference to
> `av_sub_q(AVRational, AVRational)'
> ../../lib/libopencv_highgui.so.2.3.1: undefined reference to
> `av_rescale_q(long, AVRational, AVRational)'
> collect2: ld devolvió el estado de salida 1
> make[2]: *** [bin/opencv_test_calib3d] Error 1
> make[1]: *** [modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/all] Error
> 2
> make: *** [all] Error 2
>
>
>
> --
> View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/problema-con-opencv-tp4641370p4641374.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
--
http://gsyc.es/jmplaza
Universidad Rey Juan Carlos
More information about the Jde-developers
mailing list