Skip to content
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

failed to compile in mac os10.11, fv_cached compilation failed #11

Open
yiwan-rl opened this issue Nov 18, 2015 · 2 comments
Open

failed to compile in mac os10.11, fv_cached compilation failed #11

yiwan-rl opened this issue Nov 18, 2015 · 2 comments

Comments

@yiwan-rl
Copy link

When running your compile.m, I see this warning
Warning: Maybe you need to call fv_cache('unlock') first?

In fv_compile (line 52)
In compile (line 48)
which means I can not successfully compile fv_cache.cc function.
I saw your comment in this exception, but I don't know how to solve this problem.
There is one guy in stack overflow suggested that he has met the same problem, and he solve it by installing gcc48.
http://stackoverflow.com/questions/24150718/voc-release-5-demo-m-is-not-working/33789824#33789824
Is that the correct way?

@ElaineJiang
Copy link

Any idea on how to fix this? I tried gcc48/gcc47/gcc46 but none of them works for Mac.

@misskanagi
Copy link

I think it is because that osx's clang does not contain OpenMP library and mex needs OMP when compiling fv_cache. But I have not got any idea on how to fix this.

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