graphics/opencv ISSUE with gcc 4.6.3
awarecons
awarecons at gmail.com
Fri Feb 8 19:42:17 UTC 2013
UPD:
with gcc 4.2.1 and libIlm (OpenEXR) compiled with gcc 4.6.3
opencv-2.3.1_5 -> opencv-2.3.1_6
...
[ 24%] Building CXX object
modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine3d_estimator.o
Linking CXX executable ../../bin/opencv_test_calib3d
/usr/local/include/../lib/libIlmThread.so.7: undefined reference to
`std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/local/include/../lib/libIlmThread.so.7: undefined reference to
`std::__detail::_List_node_base::_M_unhook()'
*** Error code 1
Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1.
*** Error code 1
Is that possible to make it compile with gcc 4.6.3?
Thank you in advance.
2013/1/16 awarecons <awarecons at gmail.com>:
> ===> Building for opencv-2.3.1_5
> [ 1%] Generating opencv_calib3d_pch_dephelp.cxx
> Scanning dependencies of target opencv_calib3d_pch_dephelp
> [ 1%] Building CXX object
> modules/calib3d/CMakeFiles/opencv_calib3d_pch_dephelp.dir/opencv_calib3d_pch_dephelp.o
> Linking CXX static library ../../lib/libopencv_calib3d_pch_dephelp.a
> [ 1%] Built target opencv_calib3d_pch_dephelp
> Scanning dependencies of target pch_Generate_opencv_calib3d
> [ 1%] Generating precomp.hpp
> [ 2%] Generating precomp.hpp.gch/opencv_calib3d_Release.gch
> /usr/lib/crt1.o: In function `_start1':
> crt1_c.c:(.text+0x9d): undefined reference to `main'
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1.
> *** Error code 1
>
> But gcc 4.2+ works fine. Wonder, if there's need of libmap or so?
More information about the freebsd-ports-bugs
mailing list