Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake configuration file for ipelet demos processes the "simple_triangulation" example incorrectly #8561

Open
alekseYY opened this issue Oct 20, 2024 · 0 comments

Comments

@alekseYY
Copy link

alekseYY commented Oct 20, 2024

Issue Details

It's a minor issue, but anyway. The file demo/CGAL_ipelets/CMakeLists.txt processes a number of ipelets correctly, but in the end it processes the "simple_triangulation" example (which is included in the CGAL Ipelets User Manual) in some different way. As a result, the library libsimple_triangulation.so can't be found by the libCGAL_simple_triangulation.lua loader (cause filenames differ).

The solution I tried and it worked - add the "simple_triangulation" into the list of other ipelets and remove the special treatment of this ipelet:

set(CGAL_IPELETS ${CGAL_IPELETS} simple_triangulation)

Another thing which can be improved - remove complex mechanics to find the IPE directory for ipelets from the demo/CGAL_ipelets/CMakeLists.txt file and use the ~/.ipe/ipelets directory to install ipelets. This will avoid the sudo during installation.

Source Code

Please see the demo/CGAL_ipelets/CMakeLists.txt file.

Environment

  • Operating system (Windows/Mac/Linux, 32/64 bits): Ubuntu 22.04
  • Compiler: g++ 12.3.0
  • Release or debug mode: Debug
  • Specific flags used (if any):
  • CGAL version: 6.0
  • Boost version: 1.74.0
  • Other libraries versions if used (Eigen, TBB, etc.): Qt 6.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant