how to configure the header file tigl_config.h and run the program? #929
Replies: 3 comments 7 replies
-
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 mkdir build
cd build
cmake -DTIGL_BUILD_TESTS=ON .. |
Beta Was this translation helpful? Give feedback.
-
I will move this issue to the discussions, if you don't mind. |
Beta Was this translation helpful? Give feedback.
-
As a guideline to build tigl, check the wiki here: https://github.com/DLR-SC/tigl/wiki/Building-TiGL-from-Source Unfortunately, this is somewhat outdated as tigl requires newer compilers (VC 2019 on windows) and the newer opencascade version 7.4.0. Probably the easiest way to build tigl from source is to create a build environment with conda:
Then switch into this environment
And build tigl like a normal cmake-based project
The first command configures the build process, the second performs the actual compilation. To run the tests, go to the
@joergbrech The official build instructions from the wiki might need so referesh. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions