graphics/opencv: on CURRENT (r255472): c++ issue resulting in: error: use of undeclared identifier 'usleep' usleep(1000); ^ 1 error
O. Hartmann
ohartman at zedat.fu-berlin.de
Wed Sep 11 15:41:50 UTC 2013
Recompiling everything installed due to the iconv-issue and the
extraction of the GNUish libstdc++ in favor of the new libc++, I run
permanently into the problem of a compiler (c++) stopp at
graphics/opencv due to the error shown below.
I'm getting crazy here, since I have successfully compiled opencv on
two other boxes running the most recent CURRENT with no libstdc++ and
no converters/libiconv any more.
Doing
portmaster -f graphics/opencv
results in getting everything built, except graphics/opencv!
graphics/opencv seems to be a prerequisite for the build of
devel/kdevelop-kde4, which also is a stopgap at the moment and is very
resiliant in getting compiled.
Can someone shed light and hints onto this?
Thanks in advance,
Oliver
[...]
/usr/local/include/libavformat/avformat.h:1578:26: note:
'av_write_header' declared here attribute_deprecated int
av_write_header(AVFormatContext *s); ^
12 warnings generated.
[ 2%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/loadsave.o [ 2%]
Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/precomp.o [ 2%]
Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/utils.o [ 3%]
Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.o [ 3%]
Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_QT.o /usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/highgui/src/window_QT.cpp:316:5:
error: use of undeclared identifier 'usleep' usleep(1000); ^ 1 error
generated. *** Error code 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130911/96a6c19f/attachment.sig>
More information about the freebsd-ports
mailing list