Build error (CGAL)

Bernt Hansson bah at bananmonarki.se
Fri Aug 12 12:31:37 UTC 2016


Hello list!

Getting this error building math/cgal

-- Build files have been written to: /usr/ports/math/cgal/work/CGAL-4.8.1
===>  Building for cgal-4.8.1
Scanning dependencies of target CGAL
[ 16%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o
[ 33%] Linking CXX shared library ../../lib/libCGAL.so
[ 33%] Built target CGAL
Scanning dependencies of target CGAL_Core
[ 50%] Building CXX object 
src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all_files.cpp.o
Scanning dependencies of target CGAL_ImageIO
[ 66%] Building CXX object 
src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o
In file included from 
/usr/ports/math/cgal/work/CGAL-4.8.1/src/CGAL_ImageIO/all_files.cpp:1:
In file included from 
/usr/ports/math/cgal/work/CGAL-4.8.1/src/CGAL_ImageIO/ImageIO.cpp:25:
/usr/ports/math/cgal/work/CGAL-4.8.1/include/CGAL/ImageIO_impl.h:1479:9: 
error: use of undeclared identifier 'createPgmFormat'
     f = createPgmFormat();
         ^
/usr/ports/math/cgal/work/CGAL-4.8.1/include/CGAL/ImageIO_impl.h:1481:9: 
error: use of undeclared identifier 'createPgmAscIIFormat'
     f = createPgmAscIIFormat();
         ^
/usr/ports/math/cgal/work/CGAL-4.8.1/include/CGAL/ImageIO_impl.h:1483:9: 
error: use of undeclared identifier 'createPpmFormat'
     f = createPpmFormat();
         ^
3 errors generated.
--- src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o ---
*** [src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o] Error 
code 1

make[4]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
1 error

make[4]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
--- src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all ---
*** [src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all] Error code 2

make[3]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
--- src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all ---
*** [src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all] Error code 2

make[3]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
2 errors

make[3]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
*** [all] Error code 2

make[2]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
1 error

make[2]: stopped in /usr/ports/math/cgal/work/CGAL-4.8.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/cgal
*** Error code 1

Stop.
make: stopped in /usr/ports/math/cgal


More information about the freebsd-questions mailing list