Date: Fri, 7 Oct 2016 13:59:05 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: graphics/opencv2-core: compiler error on CURRENT: error: 'stddef.h' file not found Message-ID: <29ED4064-B515-49D5-9362-2B4B4AA6D982@FreeBSD.org> In-Reply-To: <20161007134320.2b241a96.ohartman@zedat.fu-berlin.de> References: <20161007102619.7989b299.ohartman@zedat.fu-berlin.de> <82D50395-FC1C-475B-B414-C83EB90AAB77@FreeBSD.org> <20161007134320.2b241a96.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_E6E8FE48-FC9C-466F-9065-2B3B10A831E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 07 Oct 2016, at 13:43, O. Hartmann <ohartman@zedat.fu-berlin.de> = wrote: >=20 > Am Fri, 7 Oct 2016 13:27:19 +0200 > Dimitry Andric <dim@FreeBSD.org> schrieb: >> On 07 Oct 2016, at 10:26, O. Hartmann <ohartman@zedat.fu-berlin.de> = wrote: ... >>> In file included >>> from = /usr/ports/graphics/opencv2-core/work/opencv-2.4.13.1/modules/core/include= /opencv2/core/core.hpp:53: >>> In file included from /usr/include/c++/v1/algorithm:624: In file = included >>> from /usr/include/c++/v1/initializer_list:47: = /usr/include/c++/v1/cstddef:43:15: fatal >>> error: 'stddef.h' file not found #include_next <stddef.h> >>=20 >> So for some reason, on your system, the compilation flags include >> -isystem /usr/include/include, which is rather strange. I would not >> expect this to break compilation in the fashion you are seeing. Do = you >> have an /usr/include/include directory on your system, by any chance? >=20 > YES :-( >=20 > /usr/include/include does exist ... Right, so that is pretty strange. Maybe it was an artefact of some failed installation? In any case, I would blow it away. Btw, it looks like the eigen port uses pkgconfig, can you please post the contents of your /usr/local/libdata/pkgconfig/eigen3.pc file? -Dimitry --Apple-Mail=_E6E8FE48-FC9C-466F-9065-2B3B10A831E7 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlf3jhUACgkQsF6jCi4glqPAJwCeKXMpIo0OmB6okEwNTK8QZlir kRMAoNmTmdmag695vZo0tjctzk5hy2lD =xTkn -----END PGP SIGNATURE----- --Apple-Mail=_E6E8FE48-FC9C-466F-9065-2B3B10A831E7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29ED4064-B515-49D5-9362-2B4B4AA6D982>