graphics/opencv2-core: compiler error on CURRENT: error: 'stddef.h' file not found
ohartman at zedat.fu-berlin.de
Fri Oct 7 12:23:00 UTC 2016
Am Fri, 7 Oct 2016 13:59:05 +0200
Dimitry Andric <dim at FreeBSD.org> schrieb:
> On 07 Oct 2016, at 13:43, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:
> > Am Fri, 7 Oct 2016 13:27:19 +0200
> > Dimitry Andric <dim at FreeBSD.org> schrieb:
> >> On 07 Oct 2016, at 10:26, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:
> >>> In file included
> >>> from /usr/ports/graphics/opencv2-core/work/opencv-188.8.131.52/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>
> >> 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?
> > YES :-(
> > /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.
Within the past years, I slide from one CURRENT to the next. There was no accdent as far
as I can recall, but due to the fact I do quite often a recompilation of the system, the
likelyhood of hitting the fan (or problems) is quite high. I gues this is a remnant of
some problems not visible to me.
I blew the /usr/include/include folder, but then the system rejected to buildworld. I had
to reinstall world, did a complete buildworld/buildkernel with recent sources and started
recompilation of updated ports. Now, graphics/opencv2-core compiles!
Thank you very much. Quite impressive!
> Btw, it looks like the eigen port uses pkgconfig, can you please post
> the contents of your /usr/local/libdata/pkgconfig/eigen3.pc file?
Content of /usr/local/libdata/pkgconfig/eigen3.pc:
Description: A C++ template library for linear algebra: vectors, matrices, and related
Thank you very much and kind regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports