rougier / freetype-gl

OpenGL text using one vertex buffer, one texture and FreeType
Other
1.65k stars 266 forks source link

windows build : Could NOT find ImageMagick #193

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi, When building in windows 64 bits using MINGW64, I get this error: I tried installing Image Magick, but that didnt make it. Any ideas?


CMake Error at C:/msys64/mingw64/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find ImageMagick (missing: ImageMagick_compare_EXECUTABLE)
Call Stack (most recent call first):
  C:/msys64/mingw64/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/msys64/mingw64/share/cmake-3.11/Modules/FindImageMagick.cmake:274 (FIND_PACKAGE_HANDLE_STANDARD_ARG
```S)
  tests/CMakeLists.txt:6 (find_package)
ghost commented 6 years ago
I tried installing Image Magick, but that didnt make it.

Please specify how you installed ImageMagick. I would assume that CMake searches for applications and packages within the msys64 tree, and not outside in wherever Windows installs applications usually.

Try installing the packages by following the msys2 manual instead: https://github.com/msys2/msys2/wiki/Using-packages

ghost commented 6 years ago

thanks! shouldn't you include it in the list of packages to install? pacman -S mingw-w64-x86_64-imagemagick

ghost commented 6 years ago

Me? I'm not the maintainer and are just passing by.

rougier commented 6 years ago

In fact, I'm not sure why image magick is required at all.

shadd3 commented 6 years ago

Hi, I have also this issue (cmake "Visual Studio 14 2015"); I downloaded very recently the last master of freetype-gl for replacing the old one

CMake Error at cmake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find ImageMagick (missing: ImageMagick_compare_EXECUTABLE)

it was not the case before. Thanks

rougier commented 6 years ago

Can you track when this dependency was added ?

MightBeHarmless commented 3 years ago

I also had to add ImageMagick to get through the build process on MinGW64

The INSTALL.md file might include this line, so long as it's required: pacman -S mingw-w64-x86_64-imagemagick