I'm trying to install graphics/opencv under FreeBSD 9.1.
I've tried deinstalling the dependencies, updating the ports tree, and then reinstalling each dependency after a make config on each.
But it's still failing in the same spot.
pkg-add -r opencv couldn't find it.
I searched ftp under 9-stable and only found a previous version incompatible with the already installed ports.
Here's the output:
Any suggestions?
I've tried deinstalling the dependencies, updating the ports tree, and then reinstalling each dependency after a make config on each.
But it's still failing in the same spot.
pkg-add -r opencv couldn't find it.
I searched ftp under 9-stable and only found a previous version incompatible with the already installed ports.
Here's the output:
Code:
[root@Acer /usr/ports/graphics/opencv]# make install clean
===> Building for opencv-2.3.1_5
[ 1%] Built target opencv_highgui_pch_dephelp
[ 2%] Built target pch_Generate_opencv_highgui
[ 6%] Built target opencv_highgui
[ 7%] Built target opencv_features2d_pch_dephelp
[ 8%] Built target pch_Generate_opencv_features2d
[ 13%] Built target opencv_features2d
[ 13%] Built target opencv_calib3d_pch_dephelp
[ 14%] Built target pch_Generate_opencv_calib3d
[ 18%] Built target opencv_calib3d
[ 18%] Built target opencv_test_calib3d_pch_dephelp
[ 18%] Built target pch_Generate_opencv_test_calib3d
Linking CXX executable ../../bin/opencv_test_calib3d
/usr/local/lib/libopencv_imgproc.so: undefined reference
to `cv::mulSpectrums(cv::_InputArray const&,
cv::_InputArray const&, cv::_OutputArray const&, int, bool)'
/usr/local/lib/libopencv_imgproc.so: undefined reference
to `cv::getOptimalDFTSize(int)'
/usr/local/lib/libopencv_imgproc.so: undefined reference
to `cv::dft(cv::_InputArray const&,
cv::_OutputArray const&, int, int)'
*** [bin/opencv_test_calib3d] Error code 1
Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1.
*** [modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/all] Error code 1
Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1.
*** [all] Error code 1
Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1.
*** [do-build] Error code 1
Stop in /usr/ports/graphics/opencv.
*** [install] Error code 1
Stop in /usr/ports/graphics/opencv.
Any suggestions?