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 compile 960GTX Ubuntu 18.2 Cuda 7/5 #241

Closed
i-guru opened this issue Mar 2, 2019 · 1 comment
Closed

Cannot compile 960GTX Ubuntu 18.2 Cuda 7/5 #241

i-guru opened this issue Mar 2, 2019 · 1 comment
Labels

Comments

@i-guru
Copy link

i-guru commented Mar 2, 2019

Hello!

Today i tried to upgrade my green miner before cnv4 implementation and got this issue when trying to cmake

/home/censored/xmrig-nvidia/src/nvidia/cuda_cryptonight_gpu.hpp(418): error: Within a device/global function, only shared variables may be marked "static"
detected during instantiation of "void cryptonight_core_gpu_hash_gpu<ALGO,VARIANT>(nvid_ctx *, uint32_t) [with ALGO=xmrig::CRYPTONIGHT, VARIANT=xmrig::VARIANT_GPU]"
/home/censored/xmrig-nvidia/src/nvidia/cuda_core.cu(927): here

1 error detected in the compilation of "/tmp/tmpxft_0000544a_00000000-13_cuda_core.compute_20.cpp1.ii".
CMake Error at xmrig-cuda_generated_cuda_core.cu.o.cmake:266 (message):
Error generating file
/home/censored/xmrig-nvidia/build/CMakeFiles/xmrig-cuda.dir/src/nvidia/./xmrig-cuda_generated_cuda_core.cu.o

CMakeFiles/xmrig-cuda.dir/build.make:63: recipe for target 'CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_core.cu.o' failed
make[2]: *** [CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_core.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrig-cuda.dir/all' failed
make[1]: *** [CMakeFiles/xmrig-cuda.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I tried to use all 3 recipes described at build intructions section but the result was the same.

@xmrig xmrig added the bug label Mar 2, 2019
xmrig added a commit that referenced this issue Mar 2, 2019
@i-guru
Copy link
Author

i-guru commented Mar 4, 2019

Thank you. That helped.

@i-guru i-guru closed this as completed Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants