ukoethe / vigra

a generic C++ library for image analysis
http://ukoethe.github.io/vigra/
Other
407 stars 191 forks source link

installation on macOS 10.14.5 #468

Open swvanderlaan opened 5 years ago

swvanderlaan commented 5 years ago

Hi,

I need to use an older version of CellProfiler and for that I need vigra. How do I install this on macOS 10.14.5? I git cloned the repository, but cmake or make don't work.

Much appreciated.

Best,

Sander

swvanderlaan commented 5 years ago

Oh, never mind, I needed to do brew install make. But now I run into this:

make
Scanning dependencies of target vigraimpex
[  4%] Building CXX object impex/CMakeFiles/vigraimpex.dir/bmp.o
/Users/swvanderlaan/git/vigra/src/impex/bmp.cxx:38:10: fatal error: 'vigra/config.hxx' file not found
#include "vigra/config.hxx"
         ^~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [impex/CMakeFiles/vigraimpex.dir/bmp.o] Error 1
make[1]: *** [impex/CMakeFiles/vigraimpex.dir/all] Error 2
make: *** [all] Error 2

How can I fix that?

Thanks!