{"action":"created","issue":{"url":"https://api.github.com/repos/hlrs-vis/covise/issues/14","labels_url":"https://api.github.com/repos/hlrs-vis/covise/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/hlrs-vis/covise/issues/14/comments","events_url":"https://api.github.com/repos/hlrs-vis/covise/issues/14/events","html_url":"https://github.com/hlrs-vis/covise/issues/14","id":93357076,"number":14,"title":"CUDA related compile errors","user":{"login":"legts","id":5943952,"avatar_url":"https://avatars.githubusercontent.com/u/5943952?v=3","gravatar_id":"","url":"https://api.github.com/users/legts","html_url":"https://github.com/legts","followers_url":"https://api.github.com/users/legts/followers","following_url":"https://api.github.com/users/legts/following{/other_user}","gists_url":"https://api.github.com/users/legts/gists{/gist_id}","starred_url":"https://api.github.com/users/legts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legts/subscriptions","organizations_url":"https://api.github.com/users/legts/orgs","repos_url":"https://api.github.com/users/legts/repos","events_url":"https://api.github.com/users/legts/events{/privacy}","received_events_url":"https://api.github.com/users/legts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-06T19:24:01Z","updated_at":"2015-07-07T19:20:14Z","closed_at":null,"body":"Compiling on Ubuntu 12.04 results in the following error log:\r\n\r\n[120] [hxgpu0] $make\r\ncd /hx/u/legts/covise/pangolin/build.covise//src && make -f /hx/u/legts/covise/pangolin/build.covise//src/Makefile\r\nmake[1]: Entering directory `/hx/u/legts/covise/pangolin/build.covise/src'\r\nmake[2]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[3]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'\r\n[  0%] Building NVCC (Device) object src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o\r\n/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: identifier \"nullptr\" is undefined\r\n\r\n/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: expected a \";\"\r\n\r\n/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h(190): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(63): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(68): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(76): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(83): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(93): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(64): error: function \"std::current_exception\" returns incomplete type \"std::__exception_ptr::exception_ptr\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(64): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(79): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(81): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(82): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(84): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(86): error: declaration is incompatible with previous \"std::current_exception\"\r\n(64): here\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(86): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(86): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(87): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(90): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(92): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(95): error: incomplete type is not allowed\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(95): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(126): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(143): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(144): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(147): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(152): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(153): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(156): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(157): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(160): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(161): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(169): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(57): error: incomplete type is not allowed\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(60): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(64): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(66): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(70): error: identifier \"rethrow_exception\" is undefined\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(73): error: function \"std::nested_exception::nested_ptr\" returns incomplete type \"std::__exception_ptr::exception_ptr\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(80): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(108): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(113): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(120): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(125): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(125): error: function template \"std::__throw_with_nested\" has already been defined\r\n\r\n/usr/include/c++/4.8/new(95): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/new(110): error: identifier \"__p\" is undefined\r\n\r\n/usr/include/c++/4.8/new(111): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/new(115): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/new(116): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(184): error: identifier \"char16_t\" is undefined\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: identifier \"char32_t\" is undefined\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: class \"std::__is_integer<<error-type>>\" has already been defined\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: namespace \"std::__gnu_cxx\" has no member \"__normal_iterator\"\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: expected a \">\"\r\n\r\nSegmentation fault\r\nCMake Error at cuda_compile_generated_vvcudatransfunc.cu.o.cmake:264 (message):\r\n  Error generating file\r\n  /hx/u/legts/covise/pangolin/build.covise/src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o\r\n\r\n\r\nmake[3]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir/./cuda_compile_generated_vvcudatransfunc.cu.o] Error 1\r\nmake[3]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[2]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/virvo.dir/all] Error 2\r\nmake[2]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise/src'\r\nmake: *** [first] Error 2\r\n[121] [hxgpu0] $\r\n\r\n[120] [hxgpu0] $make\r\ncd /hx/u/legts/covise/pangolin/build.covise//src && make -f /hx/u/legts/covise/pangolin/build.covise//src/Makefile\r\nmake[1]: Entering directory `/hx/u/legts/covise/pangolin/build.covise/src'\r\nmake[2]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[3]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'\r\n[  0%] Building NVCC (Device) object src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o\r\n/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: identifier \"nullptr\" is undefined\r\n\r\n/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: expected a \";\"\r\n\r\n/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h(190): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(63): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(68): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(76): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(83): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/exception(93): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(64): error: function \"std::current_exception\" returns incomplete type \"std::__exception_ptr::exception_ptr\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(64): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(79): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(81): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(82): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(84): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(86): error: declaration is incompatible with previous \"std::current_exception\"\r\n(64): here\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(86): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(86): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(87): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(90): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(92): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(95): error: incomplete type is not allowed\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(95): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(126): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(143): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(144): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(147): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(152): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(153): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(156): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(157): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(160): error: use of a local type to declare a function\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(161): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/exception_ptr.h(169): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(57): error: incomplete type is not allowed\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(60): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(64): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(66): error: expected a \";\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(70): error: identifier \"rethrow_exception\" is undefined\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(73): error: function \"std::nested_exception::nested_ptr\" returns incomplete type \"std::__exception_ptr::exception_ptr\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(80): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(108): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(113): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(120): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(125): error: expected a \")\"\r\n\r\n/usr/include/c++/4.8/bits/nested_exception.h(125): error: function template \"std::__throw_with_nested\" has already been defined\r\n\r\n/usr/include/c++/4.8/new(95): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/new(110): error: identifier \"__p\" is undefined\r\n\r\n/usr/include/c++/4.8/new(111): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/new(115): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/new(116): error: expected a \"{\"\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(184): error: identifier \"char16_t\" is undefined\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: identifier \"char32_t\" is undefined\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: class \"std::__is_integer<<error-type>>\" has already been defined\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: namespace \"std::__gnu_cxx\" has no member \"__normal_iterator\"\r\n\r\n/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: expected a \">\"\r\n\r\nSegmentation fault\r\nCMake Error at cuda_compile_generated_vvcudatransfunc.cu.o.cmake:264 (message):\r\n  Error generating file\r\n  /hx/u/legts/covise/pangolin/build.covise/src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o\r\n\r\n\r\nmake[3]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir/./cuda_compile_generated_vvcudatransfunc.cu.o] Error 1\r\nmake[3]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[2]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/virvo.dir/all] Error 2\r\nmake[2]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise/src'\r\nmake: *** [first] Error 2\r\n\r\nAny idea what is going on and how to fix it?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/hlrs-vis/covise/issues/comments/119308462","html_url":"https://github.com/hlrs-vis/covise/issues/14#issuecomment-119308462","issue_url":"https://api.github.com/repos/hlrs-vis/covise/issues/14","id":119308462,"user":{"login":"legts","id":5943952,"avatar_url":"https://avatars.githubusercontent.com/u/5943952?v=3","gravatar_id":"","url":"https://api.github.com/users/legts","html_url":"https://github.com/legts","followers_url":"https://api.github.com/users/legts/followers","following_url":"https://api.github.com/users/legts/following{/other_user}","gists_url":"https://api.github.com/users/legts/gists{/gist_id}","starred_url":"https://api.github.com/users/legts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legts/subscriptions","organizations_url":"https://api.github.com/users/legts/orgs","repos_url":"https://api.github.com/users/legts/repos","events_url":"https://api.github.com/users/legts/events{/privacy}","received_events_url":"https://api.github.com/users/legts/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T19:20:13Z","updated_at":"2015-07-07T19:20:13Z","body":"I have deactivated CUDA, but I still get an error message.  Should the CMakeCache.txt file be at the original settings when I run the make command without CUDA.\\\r\n\r\nThis is the error message I get when I try to compile:\r\n\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /hx/u/legts/covise/pangolin/build.covise\r\nmake[3]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[4]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'\r\n[  0%] Building NVCC (Device) object src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o\r\nCMake Error at cuda_compile_generated_vvcudatransfunc.cu.o.cmake:206 (message):\r\n  Error generating\r\n  /hx/u/legts/covise/pangolin/build.covise/src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o\r\n\r\n\r\nmake[4]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir/./cuda_compile_generated_vvcudatransfunc.cu.o] Error 1\r\nmake[4]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[3]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/virvo.dir/all] Error 2\r\nmake[3]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise'\r\nmake[2]: *** [all] Error 2\r\nmake[2]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise/src'\r\nmake[1]: *** [first] Error 2\r\nmake[1]: Leaving directory `/hx/u/legts/covise/src'\r\nmake: *** [covise] Error 2\r\n[505] [hxgpu0] $"}}