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

CGAL install in windows11 #8733

Open
ytian7 opened this issue Feb 11, 2025 · 0 comments
Open

CGAL install in windows11 #8733

ytian7 opened this issue Feb 11, 2025 · 0 comments

Comments

@ytian7
Copy link

ytian7 commented Feb 11, 2025

Please use the following template to help us solving your issue.

Issue Details

Describe your issue. Please be specific (compilation error, runtime error, unexpected behavior, wrong results, etc.).
I used to use CGAL 5.6 version in window system and it ran well. Currently, I try to update my CGAL version to 6.0.1 and I face the error during the compilation. Frist, I try to use VS 2022 to build the environment. I downloaded the CGAL code and CGAL-6.0.1-win64-auxiliary-libraries-gmp-mpfr.zip for gmp and mpfr.
For additional include Directories:
C:\Users\cgal\CGAL-6.0.1\CGAL-6.0.1\auxiliary\gmp\include
C:\local\boost_1_81_0
C:\Users\cgal\CGAL-6.0.1\CGAL-6.0.1\include
For additional library directories:
C:\local\boost_1_81_0\libs
C:\Users\cgal\CGAL-6.0.1\CGAL-6.0.1\auxiliary\gmp\lib
In Linker Input:
additional dependencies:
kernel32.lib
user32.lib
gmp.lib
gmpxx.lib
mpfr.lib

And then I got error about "The code execution cannot proceed because gmp-10.dll was not found." The gmp-10.dll is in the bin file, but even I include the bin file, the error happened again.

And then I try to not use GMP and MPFR but directly use boost-multiprecision in cmake, but in cmake, after configuration, the error said Could NOT find GMP. And in other post, it mentioned cmake variable CGAL_CMAKE_EXACT_NT_BACKEND to BOOST_BACKEND, my cmake version is 3.28 but I do not find that in my cmake post. I try my best, but the code still not work, I hope there are some helps for me.

Thanks!

PS. I cannot use vckpg in my computer.

Source Code

If your issue arises by using CGAL in your own source code, please provide a minimalist example that we can compile easily to reproduce the bug. If your issue arises from using a CGAL program (demo, example, etc.), please let us know which one. Helping you solving an issue is much easier and efficient if we can reproduce it.

Environment

  • Operating system (Windows/Mac/Linux, 32/64 bits): Window11
  • Compiler:VS2022
  • Release or debug mode:x64
  • Specific flags used (if any):
  • CGAL version:6.0.1
  • Boost version:1.81.0 or 1.87.0
  • Other libraries versions if used (Eigen, TBB, etc.):Eigen
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