Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 17:41:41 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   graphics/opencv: on CURRENT (r255472): c++ issue resulting in: error: use of undeclared identifier 'usleep' usleep(1000); ^ 1 error
Message-ID:  <20130911174141.78870fac@thor.walstatt.dyndns.org>

next in thread | raw e-mail | index | archive | help
--Sig_/zF_OrfS6UuRLLVkLtODyV1u
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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=20

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/gr=
aphics/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

--Sig_/zF_OrfS6UuRLLVkLtODyV1u
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBAgAGBQJSMI86AAoJEOgBcD7A/5N8vJ4IAIbZuFkO0yw/yKo5aifhtbrq
i/M1oVEwchs/mUrvdCtt56dDOPp+qixl7kc44Z1hJdbXvK4YFp/yw4nNhdXOmB7/
UPuz8gr6ckKoglDJVV1KvI15Km9RD3kl32/l5RKuPvkwD+RLXSj9GqbkdM8S/Z/2
X38tvIp1D1UQHHsOYD6Rc/RuKgQJCYDSCubeG3691ih1c0/psBaGsyQEBTxlLo/7
1A4HWuYHf5lY1heoDNJhLOPLKE5gwwUK5Pbnd+jE+9dcySklrGE5TBBTeUF0uQN/
lSznPO+eZ5TkfeNl4LZFNiSZzzvP6htpk9+j3ZmDwOUtszCPAobUpEQR3GhHrM0=
=zgf6
-----END PGP SIGNATURE-----

--Sig_/zF_OrfS6UuRLLVkLtODyV1u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130911174141.78870fac>