Skip to content

Installing on Mac #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JoostvDoorn opened this issue Jun 17, 2015 · 4 comments
Open

Installing on Mac #6

JoostvDoorn opened this issue Jun 17, 2015 · 4 comments

Comments

@JoostvDoorn
Copy link

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:
@bittnt
Copy link
Collaborator

bittnt commented Jul 20, 2015

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
Copy link
Author

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

@phil0stine
Copy link

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
Copy link
Collaborator

bittnt commented Aug 27, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants