how to configure the header file tigl_config.h and run the program? #928
Description
Activity
Hello @tigllearner, I like your user name!
If you could let me know the steps you followed to build TiGL, I might give you better pointers on what to change.
In general, if you want to build TiGL from source, you would have to run CMake in the root directory of the TiGL repository. If you do so, CMake will automatically configure
tigl_config.h. So I suggest creating a subdirectorybuildand invoking thecmakecommand from there, passing the tigl root directory as the argument. Note that the unit tests are not build automatically. You have to explicitly set the CMake OptionTIGL_BUILD_TESTSto beON. Also, you have to make sure that TiGL's requirements (OpenCascade and TiXI3) are installed and can be foun by CMake.mkdir build cd build cmake -DTIGL_BUILD_TESTS=ON ..
I will move this issue to the discussions, if you don't mind.
- locked and limited conversation to collaborators
on Oct 17, 2022