John,

If you’re not planning on doing development, you should specify the 
-DBRLCAD_ENABLE_STRICT=OFF flag to cmake before running make.  Otherwise, every 
little compiler warning will turn into an error, which is what you’re 
encountering below.  The error is from very recent code changes issuing a 
pretty benign warning (and different compiler versions issue different 
warnings, so it often takes a few days to catch them all).

The latest development is on trunk.  There is a STABLE branch that is some 
fully-tested prior version.  There are also tags for every released version. 

Cheers!
Sean




> On May 9, 2017, at 12:50 PM, John Griessen <j...@cibolo.com> wrote:
> 
> Now after adding some png dependencies, I get farther:
> 
> [ 85%] Built target plot3-X
> Scanning dependencies of target creo-brl
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/SurfaceOfLinearExtrusion.cpp.o
> [ 85%] Building CXX object 
> src/external/CREO/CMakeFiles/creo-brl.dir/assembly.cpp.o
> [ 85%] Building CXX object src/external/CREO/CMakeFiles/creo-brl.dir/csg.cpp.o
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/SurfaceOfRevolution.cpp.o
> [ 85%] Building CXX object 
> src/external/CREO/CMakeFiles/creo-brl.dir/main.cpp.o
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/SurfacePatch.cpp.o
> [ 85%] Building CXX object 
> src/external/CREO/CMakeFiles/creo-brl.dir/part.cpp.o
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/SurfaceReplica.cpp.o
> /modatabig/src/brlcad-code/src/external/CREO/part.cpp: In function ‘ProError 
> tessellate_part(creo_conv_info*, ProMdl, bu_vls**)’:
> /modatabig/src/brlcad-code/src/external/CREO/part.cpp:658:36: error: 
> ‘norm_tree’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>      bn_vert_tree_destroy(norm_tree);
>                                     ^
> /modatabig/src/brlcad-code/src/external/CREO/part.cpp:657:36: error: 
> ‘vert_tree’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>      bn_vert_tree_destroy(vert_tree);
>                                     ^
> At global scope:
> cc1plus: error: unrecognized command line option ‘-Wno-c11-extensions’ 
> [-Werror]
> cc1plus: all warnings being treated as errors
> src/external/CREO/CMakeFiles/creo-brl.dir/build.make:134: recipe for target 
> 'src/external/CREO/CMakeFiles/creo-brl.dir/part.cpp.o' 
> failed
> make[2]: *** [src/external/CREO/CMakeFiles/creo-brl.dir/part.cpp.o] Error 1
> CMakeFiles/Makefile2:30346: recipe for target 
> 'src/external/CREO/CMakeFiles/creo-brl.dir/all' failed
> make[1]: *** [src/external/CREO/CMakeFiles/creo-brl.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/SweptSurface.cpp.o
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/ThermodynamicTemperatureContextDependentUnit.cpp.o
> [ 85%] Building CXX object 
> src/conv/step/step-g/CMakeFiles/step-g.dir/ThermodynamicTemperatureConversionBasedUnit.cpp.o
> 
> Is there a dependency that CREO needs ?
> 
> Should I be compiling from HEAD, or an earlier tag or commit?
> 
> -- 
> John Griessen
> 
> 
> ------------------------------------------------------------------------------
> 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