-
Notifications
You must be signed in to change notification settings - Fork 168
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
Compile issue on CentOS 6 #6
Comments
Please show cmake output from fresh start, I fix |
|
I also cloned the git repository locally and re-done the compilation steps. Now it compiles with out issue. Thanks for fixing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I noticed a compile issue on CentOS 6 with GCC 6.3.1 and would like to share the details including a solution/workaround.
First,
gcc
doesn't know about some options, so I need to replace them in the filecmake/flags.cmake
:Replace
std=c++11
bystd=c++0x
Replace
Ofast
byO2
The error message during
make
is:To fix this, I added an include statement in line 29 of file
src/crypto/common/Algorithm.h
That way,
make
completes without errors and produces a workinglibxmrig-cuda.so
The text was updated successfully, but these errors were encountered: