forcolormap icon indicating copy to clipboard operation
forcolormap copied to clipboard

In MSYS2/Windows, CMake encounters problems with the ForImage dependency

Open vmagnin opened this issue 4 months ago • 1 comments

Ìn MSYS2/Windows 10, CMake 3.28.3 has problems with ForImage:

$ cmake -G "MSYS Makefiles" -D BUILD_SHARED_LIBS=true ..
-- The Fortran compiler identification is GNU 13.2.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: D:/Logiciels/MSYS2/ucrt64/bin/gfortran.exe - skipped
-- Setting build type to 'Release' as none was specified.
-- Build FORIMAGE tests: OFF
-- Build FORIMAGE examples: OFF
CMake Error at cmake/dependencies/forimage/CMakeLists.txt:15 (add_custom_command):
  No TARGET 'forcolormap' has been created in this directory.


-- Build FORCOLORMAP tests: OFF
-- Build FORCOLORMAP examples: OFF
-- Configuring incomplete, errors occurred!

Note: no problem with fpm.

vmagnin avatar Mar 03 '24 10:03 vmagnin