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: Wed, 14 Jul 2021 20:49:04 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-hdrordr: A9a23:lUDk3qOOy577DcBcThyjsMiBIKoaSvp037BZ7TELdfU1SL3/qynApoV/6faZslgssTQb6LO90cq7MBThHPxOkO0s1N6ZNWGM0gSVxcNZjbcKqAeQeREWg9QtrZuIHZIeNPTASXBnkMf35xS5Gd48zNTCzICE7N2z854Ud3ASV4hQqzpSMz22NmtKaCl+bKBVKKah
  • Ironport-phdr: A9a23:rTPqphMMHhBFx2uURNYl6nYZChdPi9zP1u491JMrhvp0f7i5+Ny6ZQqDv60r1Q6CBtSTq6odzbaP4ua4AS1IyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexf69+IA+roQjVucUbj49vIbs1xhfVv3dEYetbyX5sKF6Jgxrw+sK894N//ipNvP4s69ROWrjgcaQiSrxYAjUmM2Qr68DuqBLOUwiB6GYCX2sPihZHDBTL4x/8Xpfqryv1rfF91zWAPc33Vr87RzKv5Lp2RRDyiScHMzk58HzLisF1kalWrg6tqwB5zoXJZoyeKfhwcb7Hfd4CRWRPQMhRWC5cDI2ybIUAAPYOM+FEr4TmvVQCsRS+CBGyCO/zyDJFgGL9060g0+QmFAHLxAIsEdYQv3vPsd77Nb0dUeGpzKnI0zrDdf1a0ir65YjKbB8uuuqBUK5qccrN1EQuFx/IgFaKpYP5ODOV0/0Avm6G5OVvSeyhkXQoqx1tojex3McsjJHEi4AWx13L6Cl0xIY4KcG2RkB0Y9OqH5Reui+aOYV5QM4vXW9mtDo4x7AJtpO2eCYExIknyRPBafGKb4iF7B3+WeuXPDx2inVleLeliBaz90it0vHzVsau31ZOtCZFlcPMtn8V2xzd7ciHUOFx/kG/1jaTzwzT6+dEIVo1laXBMZIhzKQwm5wOukrABi/7gET7gaCMekgl/uWk8frrbqjlq5OGKoN4lgDzP6IzkcKlG+s4KBIBX22D9OS8yrLj+Ur5Ta1IjvIsnajUv5XaJcQcpqGiHgNY0Zwv6wyhADep0dQYhmUHI0xfeB2ZkofpIFDOIOzmAvuln1uslzJry+jHPr3nHJrNMmDOnbbucLpn6kNRzBA/wc5C659XEL0NPe7/V07puNzdFBA5Mgi0w+j9CNV604MTQWCPDbGCP67Jq1CI/P4vLPKMZYAPuTbxMeQq5/nrjXMhg18SYbGp3YcLaHC/BvlpP0qZbmDogtsYDGgKvxE+Q/D3iF2ZSj5efG2yXqI55jEjEo2qF4bDRoa3gLyAxii3BJNWZnoVQm2KCmriIoWYR+8XOmXVOd5kijVCVL67SoZn2wvprx7/07MgL+za/WoTupvnkdR0/ObOjgphyDpvEs69z2SJGmFognsTFXhxx7F6uUU7y1GZ0KE+jeYfDs1W//oOUwE0MtnXwOV+TtzzQQncZczadVC9X9+aDCEtG9It38cVMQE6AMSnlhmF3iywArZTmabMH40x6qub3n7/IIF2xH/CkaUglFI7WdAcCWrz0qVw/gyWC4/SmFiCjI6rc74d1WjD7jHQ43CJuRQScgN6GYrMXGwfa1Gc5YD760nqZqWyI6UOE01KzsvUefgCUcHgkVgTHKSrA9/ZeW/kww9Y4D6h3K+mfaPLPW4a2XeFYKDluwIa7SqDNQ80X3fnuW/RDSdyGEjib1jt7eQ4o3S+HBdcJ+6iZld93au8+1gegvnOE5su

Hi again.

 

I followed the directions and downloaded the vcpkg without any issues.

 

I have also seen some info online that not all vcpkg updates work the same way.

 

Therefore I started over and followed the 5.3 Section 2 directions that do not use vcpkg.

 

The process was straight forward. I tried the Arrangement_on_sufrace_2 examples because that is the CGAL of most interest to me. CMake indicated that everything was okay and that it found the gmp, mpfr and boost libraries. Visual studio built the Solution just fine with no errors or unusual messages.

 

However, when I tried to execute the Bezier_Curves .exe, Visual Studio indicated it could not find the gmp library libgmp-10.lib, even though CMake indicated it found that library during configuration..

 

Any suggestions to solve this issue would be greatly appreciated.

 

Thank you!

 

Jeb Gaither

 

From: [mailto:] On Behalf Of Maxime Gimeno ( via cgal-discuss Mailing List)
Sent: Monday, July 12, 2021 3:45 AM
To:
Subject: Re: [cgal-discuss] CMake Problem Installing CGAL 5.2.2

 

It gets stranger and stranger. Did you maybe update your vcpkg ? 

 

Le sam. 10 juil. 2021 à 23:36, Jeb Gaither <> a écrit :

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


--
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