The following issue has been SUBMITTED.
==
https://cmake.org/Bug/view.php?id=16058
==
Reported By:Alex Ferrier
Assigned To:
==
Project:CMake
Issue ID: 16058
Category: CMake
Reproducibility:always
Severity: major
Priority: normal
Status: new
==
Date Submitted: 2016-04-11 15:24 EDT
Last Modified: 2016-04-11 15:24 EDT
==
Summary:ImageMagick found from Command line but not from
CMake GUI
Description:
I am trying to configure the project Theia-SfM to compile with XCode on a Mac.
https://github.com/sweeneychris/TheiaSfM
Using CMake 3.5.1 installed via Macports via XCode the package configures and
builds fine once the appropriate dependencies are installed, e.g.
mkdir Build
cmake -G XCode ..
-- Generating done
-- Build files have been written to: /Users/alex/src/TheiaSfM/build
If using CMake GUI 3.5.1 downloaded from KitWare, and installed via
applications, the same build fails to find ImageMagick. Output ends:
-- Found SuiteSparse 4.2.1
-- Check for ImageMagick
ImageMagick_EXECUTABLE_DIRImageMagick_EXECUTABLE_DIR-NOTFOUND
CMake Error at
/Applications/CMake.app/Contents/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find ImageMagick (missing: ImageMagick_convert_EXECUTABLE
ImageMagick_mogrify_EXECUTABLE ImageMagick_convert_EXECUTABLE
ImageMagick_mogrify_EXECUTABLE)
ImageMagick is demonstrably installed (via macports) in /opt/local/bin.
Alexs-MacBook-Pro:TheiaSfM alex$ type -a mogrify
mogrify is /opt/local/bin/mogrify
Is there any obvious reason why identical versions of CMake would fail to find
the same package? I'm assuming /opt/local is in my CMake GUI paths search paths,
because further up it finds other dependencies there.
-- Found Google Flags: /opt/local/include in namespace: google
-- Check for Google Log
-- Found Google Logging: /opt/local/include
-- Check for Ceres
Steps to Reproduce:
See description, download package and configure with command line (successful)
and GUI (unsuccessful.) Presumably reproducible with other builds using
imagemagick?
==
Issue History
Date ModifiedUsername FieldChange
==
2016-04-11 15:24 Alex Ferrier New Issue
==
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers