VLOGroup / imageutilities

GNU Lesser General Public License v3.0
17 stars 9 forks source link

Build on macOS #8

Closed jo-m closed 6 years ago

jo-m commented 7 years ago

Hey all

I could not find any mention of supported operating systems anywhere in the project. I assume you only tested on Linux (which distributions/versions?).

I am trying to compile this project on macOS, from the latest commit 6faaa0854.

# remove all occurencies of '-fopenmp' in imageutilities/cmake/compiler_settings.cmake.txt
$EDITOR cmake/compiler_settings.cmake.txt
cd build
make

This however fails with the log attached. Any ideas? log.txt

gottfriedm commented 7 years ago

Hi,

it should work on Linux and Windows, as far as I know we didn't do any testing on Mac, sorry.

To get it working, using gcc instead of clang and in general making the environment as similar to Linux as possible should make things easier. You can also try to disable the ndarray module for now, this one uses quite some new C++11/14 features and might give trouble.

Good luck!