Hi Jonathan,

If I remember correctly, pnglibconf.h will be generated during the CMake
configuration.  The parallel build isn't therefore probable the cause.  You
could try to run cmake from scratch again.  (BTW, do you have any special
CMake settings?)

On the other side, it's possible that version 7.26.4 has some issues -
which the current development version at our repository's trunk hasn't.
Hence, if running cmake again doesn't work I would like to ask you to try
the most recent version.  There we could apply patches if necessary as well.

Regards,
    Daniel

2018-02-14 14:23 GMT+01:00 Jonathan Cottrill <
brlcad-de...@jonathancottrill.net>:

> Hello,
>
> I sent this yesterday, but I think it got lost in the SourceForge fiasco.
> If
> not, apologies for the double-post.
>
> When doing a parallel build (make -j8) of 7.26.4, the build fails with the
> following error:
>
> In file included from /brlcad-7.26.4/src/libfb/fb_generic.c:36:0:
> /brlcad-7.26.4/src/other/libpng/png.h:361:27: fatal error: pnglibconf.h:
> No
> such file or directory
>  #   include "pnglibconf.h"
>                            ^
> compilation terminated.
> src/libfb/CMakeFiles/libfb-obj.dir/build.make:86: recipe for target 'src/
> libfb/CMakeFiles/libfb-obj.dir/fb_generic.c.o' failed
> make[2]: *** [src/libfb/CMakeFiles/libfb-obj.dir/fb_generic.c.o] Error 1
> CMakeFiles/Makefile2:8947: recipe for target 'src/libfb/CMakeFiles/libfb-
> obj.dir/all' failed
> make[1]: *** [src/libfb/CMakeFiles/libfb-obj.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> Guessing this is a build-order issue triggered by doing a parallel build?
>
> Thanks,
>
> Jonathan Cottrill
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to