Search code examples
visual-studiographicscomputational-geometrycgal

build CGAL using visual studio , cmake


I'm trying to compile CGAL Library using visual studio on windows. I'm following the steps of this tutorial : https://www.cgal.org/download/windows.html#BuildingCGAL

I finished configuration and generation using cmake enter image description here

I stopped at the following step : *Run Visual Studio and compile ALL_BUILD project both in Debug and Release.

when I open CGAL.sln and rebuild "Allbuild" project or "install" project , it shows the following errors:
enter image description here

I appreciate any help , thanks in advance


Solution

  • right click on project-> properties -> linker add C:\dev\CGAL-4.9\build\bin\Debug manually

    right click on project-> properties ->c\c++ C:\dev\CGAL-4.9\auxiliary\mpfr\include