{"action":"created","issue":{"url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/60","repository_url":"https://api.github.com/repos/Genoil/cpp-ethereum","labels_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/60/comments","events_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/60/events","html_url":"https://github.com/Genoil/cpp-ethereum/issues/60","id":161422800,"number":60,"title":"Compile issue with Debian Stretch","user":{"login":"Bloodsplat","id":2127833,"avatar_url":"https://avatars.githubusercontent.com/u/2127833?v=3","gravatar_id":"","url":"https://api.github.com/users/Bloodsplat","html_url":"https://github.com/Bloodsplat","followers_url":"https://api.github.com/users/Bloodsplat/followers","following_url":"https://api.github.com/users/Bloodsplat/following{/other_user}","gists_url":"https://api.github.com/users/Bloodsplat/gists{/gist_id}","starred_url":"https://api.github.com/users/Bloodsplat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bloodsplat/subscriptions","organizations_url":"https://api.github.com/users/Bloodsplat/orgs","repos_url":"https://api.github.com/users/Bloodsplat/repos","events_url":"https://api.github.com/users/Bloodsplat/events{/privacy}","received_events_url":"https://api.github.com/users/Bloodsplat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-21T12:24:00Z","updated_at":"2016-06-21T12:40:42Z","closed_at":null,"body":"Im trying to compile cudaminer but am currently coming accross annoying errors.\r\nOperating System: Linux-x86_64 - Debian Stretch\r\nGPU - Nvidia 1080 GTX\r\nGPU Drivers -367.27\r\n\r\nI have tried with both CUDA toolkit 7.5 and 8.0 and am getting the same error on compile\r\nThese are the commands I run\r\nmkdir build\r\ncd build\r\ncmake -DBUNDLE=cudaminer ..\r\nmake -j8\r\n\r\n```\r\n[ 33%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieCommon.cpp.o\r\n[ 35%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Log.cpp.o\r\n[ 37%] Linking CXX shared library libethash-cl.so\r\n[ 37%] Built target ethash-cl\r\n[ 39%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o\r\nnvcc fatal   : redefinition of argument 'std'\r\nCMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:207 (message):\r\n  Error generating\r\n  /home/user/cpp-ethereum/test/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o\r\n\r\n\r\nlibethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:63: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o' failed\r\nmake[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1\r\nCMakeFiles/Makefile2:320: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/all' failed\r\nmake[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\n[ 41%] Building CXX object libdevcore/CMakeFiles/devcore.dir/StructuredLogger.cpp.o\r\n[ 43%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieDB.cpp.o\r\n[ 45%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonJS.cpp.o\r\n[ 47%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonIO.cpp.o\r\n[ 50%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Base64.cpp.o\r\n[ 52%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Common.cpp.o\r\n[ 54%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonData.cpp.o\r\n[ 56%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RLP.cpp.o\r\n[ 58%] Linking CXX shared library libethstratum.so\r\n[ 58%] Built target ethstratum\r\n[ 60%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Worker.cpp.o\r\n[ 62%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TransientDirectory.cpp.o\r\n[ 64%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FixedHash.cpp.o\r\n[ 66%] Linking CXX shared library libdevcore.so\r\n[ 66%] Built target devcore\r\nMakefile:127: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n\r\nThere are a few warnings earlier in the log about depreciation and some \"note: declared here\"\r\nif you would like me to post whole log."},"comment":{"url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/comments/227427229","html_url":"https://github.com/Genoil/cpp-ethereum/issues/60#issuecomment-227427229","issue_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/60","id":227427229,"user":{"login":"sardylan","id":1680076,"avatar_url":"https://avatars.githubusercontent.com/u/1680076?v=3","gravatar_id":"","url":"https://api.github.com/users/sardylan","html_url":"https://github.com/sardylan","followers_url":"https://api.github.com/users/sardylan/followers","following_url":"https://api.github.com/users/sardylan/following{/other_user}","gists_url":"https://api.github.com/users/sardylan/gists{/gist_id}","starred_url":"https://api.github.com/users/sardylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sardylan/subscriptions","organizations_url":"https://api.github.com/users/sardylan/orgs","repos_url":"https://api.github.com/users/sardylan/repos","events_url":"https://api.github.com/users/sardylan/events{/privacy}","received_events_url":"https://api.github.com/users/sardylan/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T12:40:42Z","updated_at":"2016-06-21T12:40:42Z","body":"I temporary resolved adding **-D_FORCE_INLINES** to **CMAKE_CXX_FLAGS** and removing all **-std=c++11** from generated Makefiles (after running _cmake_ and before running _make_), especially in _libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake_\r\nNewer version of compilers and drivers perhaps have different behaviour managing std flags... "}}
{"actor":{"display_login":"sardylan"}}