You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to CGAL. I want to incorporate the library part of CGAL to the my custom plugin of Unreal Engine. At first, I tried to use it as headers-only library; however, CGAL has dependency on boost and boost has many naming violation with the macros/functions/symbols of Unreal itself when compiling, so it didn't work.
So now I'm trying to build CGAL 5.6.1 to shared library (.dll in Windows), but I can't figure out how to do like this. I tried to set the variable like BUILD_SHARED_LIBS manifested in documentation. But it still didn't work. When I configured out and generated, the project just produced another identical headers-only library. And I browsed the content of cmake-related files that seems there are very few hints about this variable BUILD_SHARED_LIBS (sorry I have no much experience with CMake). And I found the default is headers-only since CGAL 5.0.
So my question is there option to build CGAL 5.6.1 to shared library? If yes, how to enable it? Or I have to resort to the older version?
The text was updated successfully, but these errors were encountered:
Hello, this would not help you. The built library contained only a few global non-template functions and some global variables. Whart you have to do instead is build a shared library where inside you use CGAL, but the exported interfaces are CGAL-free,
Can you shatre a minimal project on github which exposes the problem you experience.,We then could have a look.
CGAL
locked and limited conversation to collaborators
Sep 4, 2024
I'm new to CGAL. I want to incorporate the library part of CGAL to the my custom plugin of Unreal Engine. At first, I tried to use it as headers-only library; however, CGAL has dependency on boost and boost has many naming violation with the macros/functions/symbols of Unreal itself when compiling, so it didn't work.
So now I'm trying to build CGAL 5.6.1 to shared library (.dll in Windows), but I can't figure out how to do like this. I tried to set the variable like BUILD_SHARED_LIBS manifested in documentation. But it still didn't work. When I configured out and generated, the project just produced another identical headers-only library. And I browsed the content of cmake-related files that seems there are very few hints about this variable BUILD_SHARED_LIBS (sorry I have no much experience with CMake). And I found the default is headers-only since CGAL 5.0.
So my question is there option to build CGAL 5.6.1 to shared library? If yes, how to enable it? Or I have to resort to the older version?
The text was updated successfully, but these errors were encountered: