graphics/opencv does not build on CURRENT amd64

Rainer Hurling rhurlin at gwdg.de
Sun Jan 24 11:27:04 UTC 2010


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


More information about the freebsd-ports mailing list