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
problem of make on MAC #29
Comments
See the build guide, in README.md you need to remove -fopenmp flag |
Hi guys, I am also getting errors on my mac with 10.9 trying out the R interface. Failed to compile. g++-4.2 -Wall -O3 -msse2 -Wno-unknown-pragmas -pthread -lm -o xgboost src/xgboost_main.cpp src/io/io.cpp Any help appreciated. |
Try the new version on the master branch, it should be fixed by now |
Add support hosts with unresolveable DNS entries.
Hi Guys,
I cannot make on my Mac. Could you please help me?
Below is the information on my terminal when making.
Hiris-Guteki-MacBook-Pro-5:xgboost hirisgu$ make
g++ -Wall -O3 -msse2 -Wno-unknown-pragmas -fopenmp -pthread -lm -o xgboost regrank/xgboost_regrank_main.cpp
In file included from regrank/xgboost_regrank_main.cpp:7:
In file included from regrank/xgboost_regrank.h:12:
In file included from regrank/xgboost_regrank_eval.h:13:
regrank/../utils/xgboost_omp.h:13:2: warning: "OpenMP is not available, compile
to single thread code" [-W#warnings]
warning "OpenMP is not available, compile to single thread code"
^
1 warning generated.
ld: library not found for -lgomp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xgboost] Error 1
Some software versions `i have
make:
GNU Make 3.81
gcc:
Hiris-Guteki-MacBook-Pro-5:xgboost hirisgu$ gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
The text was updated successfully, but these errors were encountered: