Objectness
Objectness copied to clipboard
Installing on Mac
I am running OS X Yosemite and I have some issues getting this code to work. Anyone figured this out?
First I got this error:
Could NOT find OpenMP (missing: OpenMP_CXX_FLAGS)
Which I fixed using the following steps:
- installing a macports version of gcc
- calling cmake with
cmake -DCMAKE_C_COMPILER=gcc-mp-4.7 -DCMAKE_CXX_COMPILER=gcc-mp-4.7 .
Then calling make
gives the following error:
[ 65%] Building C object CMakeFiles/BING_linux.dir/LibLinear/blas/dscal.c.o
Linking CXX executable BING_linux
Undefined symbols for architecture x86_64:
Hi, Could you use the previous version of gcc? e.g. 4.6.x. I am not sure if this is the problem of gcc. However, the code has been tested on ubuntu 14.04/12.10. It should work with mac if you set the path right.
@bittnt Thanks for the response, in the end I ran it on Linux instead
I can confirm there are problems with installing on a Mac, I have tested with the latest clang (which supports OpenMP) and gcc (installed with brew without-multilib) but did not succeed in either track.
@phil0stine It should work with Mac, what's the error message have you got? Which mac version and which gcc or clang version have you tried?