torrvision / Objectness

BING Objectness proposal estimator linux/mac/windows version implementation, runs at 1000 FPS. More in http://mmcheng.net/bing/ and also http://www.robots.ox.ac.uk/~szheng/DepthProposals.html
http://kylezheng.org/objectproposal/
BSD 3-Clause "New" or "Revised" License
190 stars 88 forks source link

Installing on Mac #6

Open JoostvDoorn opened 9 years ago

JoostvDoorn commented 9 years ago

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:

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:
bittnt commented 9 years ago

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.

JoostvDoorn commented 9 years ago

@bittnt Thanks for the response, in the end I ran it on Linux instead

phil0stine commented 9 years ago

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.

bittnt commented 9 years ago

@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?