Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] CMake Problem Installing CGAL 5.2.2

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] CMake Problem Installing CGAL 5.2.2


Chronological Thread 
  • From: "Jeb Gaither" <>
  • To: <>
  • Subject: RE: [cgal-discuss] CMake Problem Installing CGAL 5.2.2
  • Date: Sat, 10 Jul 2021 17:35:50 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-hdrordr: A9a23:7Va3da2B+7STKy9MqmwpmQqjBMYkLtp133Aq2lEZdPU7SKelfqyV8cjzqyWftN95YhhJpTnqAsa9qB3nmaJI3Q==
  • Ironport-phdr: A9a23:p+fApBHaGBDgSuGdnl/eOp1Gfz9LhN3EVzX9CrIZgr5DOp6u447ldBSGo6k31BmRDc6CtqoMy7KP9fy5CCpYudfJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+Mgm6oR/NusQVjoduN6Y8xgfUqXdMZ+ha2HlkKF2Okxv4/Mu84IJv/yFNsP896sBMVrn3cb4lRrJCFjQmNG415MzvtRbdSAaE+2URXGYLnBdWGgbJ9B71UIv/vSv8rep9xTKVPdbqQrAuWDSt9LlkRRn1gyoaLTE58WXXisttjKJHpR+quhJyz5LIbIyTKfFzeL7Wc9EHSmpbRstfVzJPAo2+YIUSAeQPPulXoJX6qVsSthaxHxWgBOz3xzNWmnP736s32PkhHwHc2wwgGsoDvHrQotrrL6gZTOG7w7PJzTXfb/NZxy395IbVeR0mo/GDQ6l/fNHNxEk1CwPIk1WRpJDmMT+PyusNtG2b4vNmWOmyhGEptxt/rSKzxscwlIbJnIQVx0jG+Ch6z4s5ONm1RU5nbdCqH5VdtS6UOYR4T80iTG9lujg3xLMatZO5cyUHx5AqyRDCZ/KHbYWF4A7uWeaeLzplgn9uZbyxhxG38Ue6y+38UNG530pFriVfltnArHcN1wbc6sSfRPt9+V2h1SyJ1w/N9uFIOUE0lazBK54g2LE8jJQTsV7FEyTrm0v2lLebe0Qr9+Sy6unqZq/qqoGBO4J3kA3yL7gil8y5DO8lKAYBRXKb9v651LD7/U32XrFKjvoun6nbqp/bKssWpqu5Aw9SyYkv9hSyAy280NsGknkHLUlFeA6ZgIjzJV7BPev4Dfajg1uyijtk2/fGPrj5DpXMKHjMjqvhcK585kNT0gY+zNRS64hKBr0cI///QFL9uMDYAxMhNgy72efnCNFz1oMEXmKPB7eUMKHMvlCT/e8gOfOMZJMOtzf9Mfcl5uTigmM+mV8YZaWpx4cYaGikHvR6JEWUeWbjgtgbHmcOpwYxUe3qiEaeXj5OfHayRLkx5io7CYKjFYfMXJqhgL2H3CehH51ZfHpKCl6WESSgSoOfRv1ZaD6OOtQz1XsfRL25Qskg0wuvvUn00f18P+/M82oZs5zkk9N67umWmRAp/iFvFJeg1XqQRUFom2ddRyMqxLst5gtm21Kb2O55heZZHJpd/bRSQwIiPNndyeJ9TNv9UwaEctaSQ0u9WYabByosRO4808NbY1phA87wyVfYzi+yCvkUkaaKDdo66OXHzn3pLoF8zXjBk6Iuhl1jTspUPnC9nf1D8F2HDIHAlwCVlr2haL8H9C/L7maKi2SU6hJ2Sgl1BO/nUHpXSULXsdT0/AmKG72jA5wOKBdr2OejbKBNb4u63h19WP7/NYGGMCqKkGCqCEPQrltpRKPwZ08M9QSbA08BwVh7FZeuNwEuWiKhpGiHU3p0GF3ueF/h6+Rys3KnQwk/yATYNyWJOJK84AIflPWdDfgU2+Bc0Bo=

Thank you Maxime.

 

I am using Section 1 of the CGAL 5.2.2 Instructions for Windows.

 

Today I tried manually entering the directory and file name information into CMake manually for GMP, MPFR ,etc which corrected  up to the point that CMake indicated that the version of Boost was not correct.

 

At that point, I decided to delete everything and start over using CGAL 5.3 following the directions in Section 1 of the 5.3 Instructions for Windows. Now the situation is worse. When I try to install yasm-tool or cgal, I get a "Computing Installation Plan" message with no installation taking place.

 

A possible cause for this may be my virus protection, McAfee Live Safe. It has real-time scanning turned off so it won't delete .exe files but perhaps it is interfering in some way.

 

Appreciate whatever assistance you can provide.

 

Jeb Gaither

 

From: [mailto:] On Behalf Of Maxime Gimeno ( via cgal-discuss Mailing List)
Sent: Friday, July 09, 2021 4:04 AM
To:
Subject: Re: [cgal-discuss] CMake Problem Installing CGAL 5.2.2

 

Hello,

 

It seems you are missing GMP. Did you follow the instructions at https://doc.cgal.org/latest/Manual/windows.html#ssec-vcpk-install-cgal ?

 

Le jeu. 8 juil. 2021 à 23:06, Jeb Gaither <> a écrit :

Hi

 

CMake encounters errors when I try to do C:\dev\CGAL-5.2.2\examples\Triangulation_2\build> cmake-gui.

 

The following is the CMake Output from the screen:

 

The C compiler identification is MSVC 19.29.30038.1

The CXX compiler identification is MSVC 19.29.30038.1

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped

Detecting C compile features

Detecting C compile features - done

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped

Detecting CXX compile features

Detecting CXX compile features - done

Visual Leak Detector (VLD) is not found.

Using header-only CGAL

Targetting Visual Studio 16 2019

Target build enviroment supports auto-linking

Using VC toolset 142.

Generator uses intermediate configuration directory: $(Configuration)

CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

  Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIR)

Call Stack (most recent call first):

  C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

  C:/dev/vcpkg/installed/x86-windows/share/cgal/FindGMP.cmake:53 (find_package_handle_standard_args)

  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:792 (_find_package)

  C:/dev/vcpkg/installed/x86-windows/share/cgal/CGAL_SetupGMP.cmake:24 (find_package)

  C:/dev/vcpkg/installed/x86-windows/share/cgal/CGAL_SetupCGALDependencies.cmake:41 (include)

  C:/dev/vcpkg/installed/x86-windows/share/cgal/CGALConfig.cmake:128 (include)

  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:792 (_find_package)

  CMakeLists.txt:16 (find_package)

 

 

Configuring incomplete, errors occurred!

See also "C:/dev/CGAL-5.2.2/examples/Triangulation_2/build/CMakeFiles/CMakeOutput.log".

 

The CMakeOutput.log is:

 

The system is: Windows - 10.0.19041 - AMD64

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.

Compiler: 

Build flags:

Id flags: 

 

The output was:

0

Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

Build started 7/8/2021 4:03:21 PM.

Project "C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\3.21.0-rc2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "Debug\".

  Creating directory "Debug\CompilerIdC.tlog\".

InitializeBuildStatus:

  Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /external:env:EXTERNAL_INCLUDE /external:W0 /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c

  CMakeCCompilerId.c

Link:

  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj

  CompilerIdC.vcxproj -> C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\3.21.0-rc2\CompilerIdC\CompilerIdC.exe

PostBuildEvent:

  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i

  :VCEnd

  CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\Hostx64\x64\cl.exe

FinalizeBuildStatus:

  Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".

  Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".

Done Building Project "C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\3.21.0-rc2\CompilerIdC\CompilerIdC.vcxproj" (default targets).

 

Build succeeded.

    0 Warning(s)

    0 Error(s)

 

Time Elapsed 00:00:02.11

 

 

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

 

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

 

The C compiler identification is MSVC, found in "C:/dev/CGAL-5.2.2/examples/Triangulation_2/build/CMakeFiles/3.21.0-rc2/CompilerIdC/CompilerIdC.exe"

 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.

Compiler: 

Build flags:

Id flags: 

 

The output was:

0

Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

Build started 7/8/2021 4:03:24 PM.

Project "C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\3.21.0-rc2\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "Debug\".

  Creating directory "Debug\CompilerIdCXX.tlog\".

InitializeBuildStatus:

  Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /external:env:EXTERNAL_INCLUDE /external:W0 /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp

  CMakeCXXCompilerId.cpp

Link:

  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj

  CompilerIdCXX.vcxproj -> C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\3.21.0-rc2\CompilerIdCXX\CompilerIdCXX.exe

PostBuildEvent:

  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i

  :VCEnd

  CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\Hostx64\x64\cl.exe

FinalizeBuildStatus:

  Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".

  Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".

Done Building Project "C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\3.21.0-rc2\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

 

Build succeeded.

    0 Warning(s)

    0 Error(s)

 

Time Elapsed 00:00:02.09

 

 

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

 

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

 

The CXX compiler identification is MSVC, found in "C:/dev/CGAL-5.2.2/examples/Triangulation_2/build/CMakeFiles/3.21.0-rc2/CompilerIdCXX/CompilerIdCXX.exe"

 

Detecting C compiler ABI info compiled with the following output:

Change Dir: C:/dev/CGAL-5.2.2/examples/Triangulation_2/build/CMakeFiles/CMakeTmp

 

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_340fb.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30038.1 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  CMakeCCompilerABI.c

  cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_340fb.dir\Debug\\" /Fd"cmTC_340fb.dir\Debug\vc142.pdb" /external:env:EXTERNAL_INCLUDE /external:W1 /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.21\Modules\CMakeCCompilerABI.c"

  cmTC_340fb.vcxproj -> C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\CMakeTmp\Debug\cmTC_340fb.exe

 

 

 

Detecting CXX compiler ABI info compiled with the following output:

Change Dir: C:/dev/CGAL-5.2.2/examples/Triangulation_2/build/CMakeFiles/CMakeTmp

 

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_40015.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30038.1 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  CMakeCXXCompilerABI.cpp

  cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_40015.dir\Debug\\" /Fd"cmTC_40015.dir\Debug\vc142.pdb" /external:env:EXTERNAL_INCLUDE /external:W1 /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.21\Modules\CMakeCXXCompilerABI.cpp"

  cmTC_40015.vcxproj -> C:\dev\CGAL-5.2.2\examples\Triangulation_2\build\CMakeFiles\CMakeTmp\Debug\cmTC_40015.exe

 

 

 

Please let me know what I am doing wrong so I can get this version of CGAL running. I am also happy to download and install Version 5.3 if thta would resolve the issues.

 

Thank you!

 

Jeb Gaither

 

 


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss




Archive powered by MHonArc 2.6.19+.

Top of Page