alicevision / geogram

Git mirror of the geogram library by INRIA
https://github.com/BrunoLevy/geogram
BSD 3-Clause "New" or "Revised" License
123 stars 54 forks source link

Cannot compile #26

Open lukkio88 opened 3 years ago

lukkio88 commented 3 years ago

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

PerspectivesLab commented 2 years ago

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