christopherpoole/CADMesh

Compiling errors

Closed this issue · 0 comments

jroto commented

Hi all,

I'm looking for a software to convert from CAD geometry files into GDML format, and I found this package that looks promising, but I didn't manage to make it work. May I know which version of gcc, cmake, geant4... should be used?

When I run cmake I get this error:
CMake Error in CMakeLists.txt: Specified unknown feature "cxx_std_14" for target "cadmesh". CMake Error in examples/basic/CMakeLists.txt: Specified unknown feature "cxx_std_14" for target "cadmesh_example".
And then, running make:
c++: error: unrecognized command line option ‘-std=c++14’ make[2]: *** [CMakeFiles/cadmesh.dir/src/CADMesh.cc.o] Error 1 make[1]: *** [CMakeFiles/cadmesh.dir/all] Error 2 make: *** [all] Error 2
I'm trying to compile in a machine with CentOS7, gcc 6.2, and cmake 3.5.2.
I guess the solution is easy, but I'm not an expert, and any help is welcome.

Thank you advance,
J.