I'm trying to build netgen 6.2.2305. My build configuration sets USE_OCC=ON and keeps the default USE_GUI=ON. Tcl is found (8.6.13) setting TCL_INCLUDE_PATH=/usr/include/tcl (which contains tcl.h). But the build fails at libsrc/occ/occpkg.cpp via inctcl.hpp,
I'm trying to build netgen 6.2.2305. My build configuration sets
USE_OCC=ON
and keeps the defaultUSE_GUI=ON
. Tcl is found (8.6.13) settingTCL_INCLUDE_PATH=/usr/include/tcl
(which contains tcl.h). But the build fails at libsrc/occ/occpkg.cpp via inctcl.hpp,As far as I can tell the error arises due to an inconsistency introduced in https://github.com/NGSolve/netgen/commit/03347e8e33962e810f6bfbe4d63c7d522fd762c5, where (CMakeLists.txt)
was replaced with
But libsrc/occ/CMakeLists.txt still uses
occpkg.cpp includes inctcl.hpp, so needs TCL_INCLUDE_PATH. But it is built for nggui, while TCL_INCLUDE_PATH is only added to netgen_gui
There seems to be an inconsistency between the nggui and netgen_gui targets.