Date: Sun, 24 Jan 2010 12:26:56 +0100 From: Rainer Hurling <rhurlin@gwdg.de> To: villa.alberto@gmail.com Cc: freebsd-ports@freebsd.org Subject: graphics/opencv does not build on CURRENT amd64 Message-ID: <4B5C2E80.3050003@gwdg.de>
next in thread | raw e-mail | index | archive | help
Whilst trying to update from opencv-1.0.0_5 to 2.0.0 I get the following errors: ------------------------------------------ Linking CXX shared library ../../lib/libcv.so [ 69%] Built target cv Scanning dependencies of target highgui [ 69%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap_images.o [ 69%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap.o [ 69%] Building CXX object src/highgui/CMakeFiles/highgui.dir/image.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/loadsave.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/precomp.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/utils.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/window.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/window_gtk.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap_xine.o [ 70%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap_ffmpeg.o /usr/ports/graphics/opencv/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp: In member function 'virtual bool CvVideoWriter_FFMPEG::open(const char*, int, double, CvSize, bool)': /usr/ports/graphics/opencv/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp:1214: warning: 'av_alloc_format_context' is deprecated (declared at /usr/local/include/libavformat/avformat.h:873) /usr/ports/graphics/opencv/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp:1214: warning: 'av_alloc_format_context' is deprecated (declared at /usr/local/include/libavformat/avformat.h:873) [ 71%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap_gstreamer.o [ 71%] Building CXX object src/highgui/CMakeFiles/highgui.dir/gstappsink.o [ 71%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap_libv4l.o /usr/ports/graphics/opencv/work/OpenCV-2.0.0/src/highgui/cvcap_libv4l.cpp:217:54: error: asm/types.h: No such file or directory [ 71%] Building CXX object src/highgui/CMakeFiles/highgui.dir/bitstrm.o *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/graphics/opencv. *** Error code 1 Stop in /usr/ports/graphics/opencv. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100124-70389-1hxcz4h-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=opencv-1.0.0_5 UPGRADE_PORT_VER=1.0.0_5 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! graphics/opencv (opencv-1.0.0_5) (missing header) ------------------------------------------ Is this a known error or merely a configuration problem on my side? System is recent 9.0-CURRENT (amd64). Thanks for any help, Rainer Hurling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5C2E80.3050003>