sciapp / gr

GR framework: a graphics library for visualisation applications
Other
328 stars 54 forks source link

Build from source broken on macOS #96

Open GlenHenshaw opened 4 years ago

GlenHenshaw commented 4 years ago
$ cmake .
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Zlib: /usr/lib/libz.dylib (found version "1.2.11") 
-- Found Libpng: /usr/local/lib/libpng.dylib (found version "1.6.37") 
-- Found Freetype: /Library/Frameworks/freetype.framework (found version "2.10.1") 
-- Found Jpeg: /usr/local/lib/libjpeg.dylib (found version "9.3") 
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Qhull (missing: QHULL_INCLUDE_DIR QHULL_VERSION_STRING)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindQhull.cmake:67 (find_package_handle_standard_args)
  CMakeLists.txt:45 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/glenhenshaw/Code/gr/CMakeFiles/CMakeOutput.log".

however,

$ brew install qhull
Warning: qhull 2019.1 is already installed and up-to-date
To reinstall 2019.1, run `brew reinstall qhull`
FlorianRhiem commented 4 years ago

Hello, I would guess that the directory structure that homebrew creates either isn't searched by CMake or doesn't correspond to the structure that our FindQhull.cmake expects.

Where is the Qhull library located on your system and where are the headers qhull/libqhull.h and qhull/qhull_a.h?

kojix2 commented 4 years ago

Available via the Homebrew package manager. (unofficial)

brew install --build-from-source libgr
kojix2 commented 3 years ago

The GR framework only works with ZeroMQ 4.0, so there is currently no GKSTerm in Homebrew. We want to improve this...

jjstickel commented 3 years ago

I'd like to make a port of GR (for Macports), but the ZeroMQ version in Macports is 4.3.3. Why is GR fixed to 4.0? Are developments in progress to enable higher versions?

IngoMeyer441 commented 3 years ago

We plan to replace ZeroMQ completely with self developed code and work for this is already in progress.

jheinen commented 2 years ago

@jjstickel : GR is no longer fixed to ZMQ 4.0 - we use 4.3.4. Does this solve your problem(s)?