{"action":"opened","issue":{"url":"https://api.github.com/repos/tbennun/cudnn-training/issues/5","repository_url":"https://api.github.com/repos/tbennun/cudnn-training","labels_url":"https://api.github.com/repos/tbennun/cudnn-training/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/tbennun/cudnn-training/issues/5/comments","events_url":"https://api.github.com/repos/tbennun/cudnn-training/issues/5/events","html_url":"https://github.com/tbennun/cudnn-training/issues/5","id":145908091,"number":5,"title":"Compile Error","user":{"login":"AdamSLevy","id":6133616,"avatar_url":"https://avatars.githubusercontent.com/u/6133616?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamSLevy","html_url":"https://github.com/AdamSLevy","followers_url":"https://api.github.com/users/AdamSLevy/followers","following_url":"https://api.github.com/users/AdamSLevy/following{/other_user}","gists_url":"https://api.github.com/users/AdamSLevy/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamSLevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamSLevy/subscriptions","organizations_url":"https://api.github.com/users/AdamSLevy/orgs","repos_url":"https://api.github.com/users/AdamSLevy/repos","events_url":"https://api.github.com/users/AdamSLevy/events{/privacy}","received_events_url":"https://api.github.com/users/AdamSLevy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-05T07:03:20Z","updated_at":"2016-04-05T07:03:20Z","closed_at":null,"body":"I'm getting the following error during compile. I am new to cmake so I appreciate the guidance if I'm doing something wrong.\r\n\r\nI ran `cmake CMakeLists.txt` and get the following output.\r\n\r\n```\r\n-- The C compiler identification is AppleClang 7.0.2.7000181\r\n-- The CXX compiler identification is AppleClang 7.0.2.7000181\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - found\r\n-- Found Threads: TRUE  \r\n-- Found CUDA: /usr/local/cuda (found suitable version \"7.5\", minimum required is \"6.5\") \r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /Users/mainuser/projects/cudnn-training\r\n```\r\n\r\nNow I ran `make` and got the following error.\r\n\r\n```\r\n[ 33%] Building NVCC (Device) object CMakeFiles/trainlenet.dir/trainlenet_generated_lenet.cu.o\r\nnvcc fatal   : redefinition of argument 'std'\r\nCMake Error at trainlenet_generated_lenet.cu.o.cmake:207 (message):\r\n  Error generating\r\n  /Users/adamlevy/projects/cudnn-training/CMakeFiles/trainlenet.dir//./trainlenet_generated_lenet.cu.o\r\n\r\n\r\nmake[3]: *** [CMakeFiles/trainlenet.dir/trainlenet_generated_lenet.cu.o] Error 1\r\nmake[2]: *** [CMakeFiles/trainlenet.dir/all] Error 2\r\nmake[1]: *** [CMakeFiles/trainlenet.dir/rule] Error 2\r\nmake: *** [trainlenet] Error 2\r\n```\r\n\r\nThank you,\r\nAdam"}}