geogram icon indicating copy to clipboard operation
geogram copied to clipboard

Cannot compile

Open lukkio88 opened this issue 2 years ago • 1 comments

Hello,

I am trying to use Geogram but I struggle even to build the library. I am following what's said in the page but I end with this when running CMake:

CMake Deprecation Warning at CMakeLists.txt:9 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
Using local options file: D:/Git/geogram/CMakeOptions.txt
Configuring build for standalone Geogram (without Vorpaline)
CMake Error at cmake/geogram.cmake:70 (include):
  include could not find requested file:

    D:/Git/geogram/cmake/platforms//config.cmake
Call Stack (most recent call first):
  CMakeLists.txt:47 (include)


CMake Error at CMakeLists.txt:57 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.


CMake Error at src/lib/geogram/third_party/CMakeLists.txt:1 (vor_reset_warning_level):
  Unknown CMake command "vor_reset_warning_level".


Configuring incomplete, errors occurred!
See also "D:/Git/geogram/build/CMakeFiles/CMakeOutput.log".

This is on Windows 10, Cmake 3.20.5 and Visual Studio 2019. Can you help?

Thank you

lukkio88 avatar Aug 25 '21 16:08 lukkio88

in cmake GUI, add "Win64-vs2015" to field: VORPALINE_PLATFORM

PerspectivesLab avatar Nov 30 '21 23:11 PerspectivesLab