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

Cannot install libffm #9

Open
JoshuaC3 opened this issue Aug 9, 2016 · 11 comments
Open

Cannot install libffm #9

JoshuaC3 opened this issue Aug 9, 2016 · 11 comments

Comments

@JoshuaC3
Copy link

JoshuaC3 commented Aug 9, 2016

I get the following error during make

../sdk/graphlab/cppipc/server/comm_server.hpp:22:41: fatal error: nanosockets/socket_errors.hpp: No such file or directory compilation terminated. Makefile:16: recipe for target 'libffm.so' failed make: *** [libffm.so] Error 1

@xyangk
Copy link

xyangk commented Sep 26, 2016

g++ -o libffm.so -O3 -std=c++11 -I ../sdk -shared -fPIC -march=native -fopenmp src/libffm.cpp lib/ffm.o 
In file included from ../sdk/graphlab/cppipc/magic_macros.hpp:16:0,
                 from ../sdk/graphlab/unity/lib/api/model_interface.hpp:17,
                 from ../sdk/graphlab/unity/lib/toolkit_class_base.hpp:16,
                 from ../sdk/graphlab/sdk/toolkit_class_macros.hpp:15,
                 from src/libffm.cpp:12:
../sdk/graphlab/cppipc/server/comm_server.hpp:22:41: fatal error: nanosockets/socket_errors.hpp: No such file or directory
 #include <nanosockets/socket_errors.hpp>
                                         ^
compilation terminated.
make: *** [libffm.so] Error 1

@niknoproblems
Copy link

I have same error

@HyperGroups
Copy link

I have same error, and I found this error is also in GraphLab-Create-SDK issues.

@zmingshi
Copy link

I have the same error, and it cannot be resolved now~

@JoshuaC3
Copy link
Author

Is this still supported?

@shgidi
Copy link

shgidi commented Nov 30, 2016

I have the same error

@Olivialmt
Copy link

I have the same error,

@liao1995
Copy link

The same problem...

@shipengai
Copy link

I have the same error

@QuinRiva
Copy link

Similar error here too:
Windows (with GNU Make):
g++ -O3 -std=c++11 -I ../sdk -shared -fPIC -march=native -fopenmp -DUSEOMP -c -o lib/ffm.o lib/ffm.cpp process_begin: CreateProcess(NULL, g++ -O3 -std=c++11 -I ../sdk -shared -fPIC -march=native -fopenmp -DUSEOMP -c -o lib/ffm.o lib/ffm.cpp, ...) failed. make (e=2): The system cannot find the file specified. make: *** [lib/ffm.o] Error 2

Similar error under ubuntu.

@zyzvinoa
Copy link

same error as well with mac os
g++ -O3 -std=c++11 -I ../sdk -shared -fPIC -march=native -fopenmp --stdlib=libc++ -undefined dynamic_lookup -DUSEOMP -c -o lib/ffm.o lib/ffm.cpp
clang: error: unsupported option '-fopenmp'
make: *** [lib/ffm.o] Error 1

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