{"action":"opened","issue":{"url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/473","labels_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/473/comments","events_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/473/events","html_url":"https://github.com/PixarAnimationStudios/OpenSubdiv/issues/473","id":76160657,"number":473,"title":"undefined reference to `XineramaQueryScreens' while building the examples","user":{"login":"opeca64","id":802847,"avatar_url":"https://avatars.githubusercontent.com/u/802847?v=3","gravatar_id":"","url":"https://api.github.com/users/opeca64","html_url":"https://github.com/opeca64","followers_url":"https://api.github.com/users/opeca64/followers","following_url":"https://api.github.com/users/opeca64/following{/other_user}","gists_url":"https://api.github.com/users/opeca64/gists{/gist_id}","starred_url":"https://api.github.com/users/opeca64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opeca64/subscriptions","organizations_url":"https://api.github.com/users/opeca64/orgs","repos_url":"https://api.github.com/users/opeca64/repos","events_url":"https://api.github.com/users/opeca64/events{/privacy}","received_events_url":"https://api.github.com/users/opeca64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T23:29:23Z","updated_at":"2015-05-13T23:29:23Z","closed_at":null,"body":"Hit a simple bug inside of the examples.  I believe this is Ubuntu-specific. ( I have turned off <code>CLEW</code> because of mentioned bug in #472 )\r\n\r\n<pre><code>\r\nMYUSERNAME@MYCOMPUER:/home/pion/ext/openSubdiv-current/build$ make\r\n[  0%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuKernel.cpp.o\r\n[  1%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuComputeController.cpp.o\r\n[  1%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuComputeContext.cpp.o\r\n[  1%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuEvalLimitContext.cpp.o\r\n[  2%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuEvalLimitController.cpp.o\r\n[  2%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuEvalLimitKernel.cpp.o\r\n[  2%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuEvalStencilsContext.cpp.o\r\n[  3%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuEvalStencilsController.cpp.o\r\n[  3%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuSmoothNormalContext.cpp.o\r\n[  4%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuSmoothNormalController.cpp.o\r\n[  4%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/cpuVertexBuffer.cpp.o\r\n[  4%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/drawContext.cpp.o\r\n[  5%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/drawRegistry.cpp.o\r\n[  5%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/evalLimitContext.cpp.o\r\n[  5%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ptexTextureLoader.cpp.o\r\n[  6%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ptexMipmapTextureLoader.cpp.o\r\n[  6%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ompKernel.cpp.o\r\n[  6%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ompComputeController.cpp.o\r\n[  7%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ompEvalStencilsController.cpp.o\r\n[  7%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ompSmoothNormalController.cpp.o\r\n[  8%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/tbbKernel.cpp.o\r\n[  8%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/tbbComputeController.cpp.o\r\n[  8%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/tbbEvalStencilsController.cpp.o\r\n[  9%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/tbbSmoothNormalController.cpp.o\r\n[  9%] Built target osd_cpu_obj\r\n[ 10%] Building CXX object opensubdiv/sdc/CMakeFiles/sdc_obj.dir/crease.cpp.o\r\n[ 10%] Building CXX object opensubdiv/sdc/CMakeFiles/sdc_obj.dir/typeTraits.cpp.o\r\n[ 10%] Built target sdc_obj\r\n[ 11%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/fvarLevel.cpp.o\r\n[ 11%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/fvarRefinement.cpp.o\r\n[ 11%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/level.cpp.o\r\n[ 12%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/quadRefinement.cpp.o\r\n[ 12%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/refinement.cpp.o\r\n[ 12%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/sparseSelector.cpp.o\r\n[ 13%] Building CXX object opensubdiv/vtr/CMakeFiles/vtr_obj.dir/triRefinement.cpp.o\r\n[ 13%] Built target vtr_obj\r\n[ 13%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/error.cpp.o\r\n[ 13%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/gregoryBasis.cpp.o\r\n[ 14%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/patchDescriptor.cpp.o\r\n[ 14%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/patchMap.cpp.o\r\n[ 15%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/patchTables.cpp.o\r\n[ 15%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/patchTablesFactory.cpp.o\r\n[ 15%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/stencilTablesFactory.cpp.o\r\n[ 16%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/topologyRefiner.cpp.o\r\n[ 16%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/topologyRefinerFactory.cpp.o\r\n[ 16%] Built target far_obj\r\n[ 16%] Building CXX object opensubdiv/CMakeFiles/osd_dynamic_cpu.dir/version.cpp.o\r\nLinking CXX shared library ../lib/libosdCPU.so\r\n[ 16%] Built target osd_dynamic_cpu\r\n[ 16%] Building CXX object opensubdiv/tools/stringify/CMakeFiles/stringify.dir/main.cpp.o\r\nLinking CXX executable ../../../bin/stringify\r\n[ 16%] Built target stringify\r\n[ 16%] Generating clKernel.gen.h\r\n[ 16%] Generating glslPatchCommon.gen.h\r\n[ 17%] Generating glslPatchBSpline.gen.h\r\n[ 17%] Generating glslPatchGregory.gen.h\r\n[ 18%] Generating glslPatchTransition.gen.h\r\n[ 18%] Generating glslPtexCommon.gen.h\r\n[ 18%] Generating glslTransformFeedbackKernel.gen.h\r\n[ 19%] Generating glslComputeKernel.gen.h\r\nScanning dependencies of target osd_gpu_obj\r\n[ 19%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glPtexTexture.cpp.o\r\n[ 20%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glPtexMipmapTexture.cpp.o\r\n[ 20%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cpuGLVertexBuffer.cpp.o\r\n[ 20%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glDrawContext.cpp.o\r\n[ 21%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glDrawRegistry.cpp.o\r\n[ 21%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glVertexBuffer.cpp.o\r\n[ 22%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glslTransformFeedbackComputeContext.cpp.o\r\n[ 22%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glslTransformFeedbackComputeController.cpp.o\r\n[ 22%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glslComputeContext.cpp.o\r\n[ 23%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/glslComputeController.cpp.o\r\n[ 23%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/clComputeContext.cpp.o\r\nIn file included from /usr/local/cuda/include/CL/opencl.h:44:0,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/../osd/opencl.h:34,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/clComputeContext.h:31,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/clComputeContext.cpp:27:\r\n/usr/local/cuda/include/CL/cl_gl_ext.h:44:4: warning: \"/*\" within comment [-Wcomment]\r\n  * /* cl_VEN_extname extension  */\r\n ^\r\n[ 23%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/clComputeController.cpp.o\r\nIn file included from /usr/local/cuda/include/CL/opencl.h:44:0,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/../osd/../osd/opencl.h:34,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/../osd/clComputeContext.h:31,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/clComputeController.h:31,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/clComputeController.cpp:25:\r\n/usr/local/cuda/include/CL/cl_gl_ext.h:44:4: warning: \"/*\" within comment [-Wcomment]\r\n  * /* cl_VEN_extname extension  */\r\n ^\r\n[ 24%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/clVertexBuffer.cpp.o\r\nIn file included from /usr/local/cuda/include/CL/opencl.h:44:0,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/../osd/opencl.h:34,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/clVertexBuffer.h:29,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/clVertexBuffer.cpp:26:\r\n/usr/local/cuda/include/CL/cl_gl_ext.h:44:4: warning: \"/*\" within comment [-Wcomment]\r\n  * /* cl_VEN_extname extension  */\r\n ^\r\n[ 24%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/clGLVertexBuffer.cpp.o\r\nIn file included from /usr/local/cuda/include/CL/opencl.h:44:0,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/../osd/opencl.h:34,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/clGLVertexBuffer.h:31,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/clGLVertexBuffer.cpp:25:\r\n/usr/local/cuda/include/CL/cl_gl_ext.h:44:4: warning: \"/*\" within comment [-Wcomment]\r\n  * /* cl_VEN_extname extension  */\r\n ^\r\n[ 24%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaComputeController.cpp.o\r\n[ 25%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaComputeContext.cpp.o\r\n[ 25%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaVertexBuffer.cpp.o\r\n[ 26%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaGLVertexBuffer.cpp.o\r\n[ 26%] Built target osd_gpu_obj\r\n[ 27%] Building NVCC (Device) object opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o\r\n-- Removing /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o\r\n/usr/bin/cmake -E remove /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o\r\n-- Generating dependency file: /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.NVCC-depend\r\n/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu -o /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -DOPENSUBDIV_VERSION_STRING=\\\"3.0.0.beta\\\" -DOPENSUBDIV_HAS_OPENMP -DOPENSUBDIV_HAS_TBB -DGLFW_VERSION_3 -DOSD_USES_GLEW -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_GLSL_COMPUTE -DOPENSUBDIV_HAS_OPENCL -DOPENSUBDIV_HAS_CUDA -DOPENSUBDIV_HAS_PTEX -DOPENSUBDIV_HAS_MAYA -Dosd_dynamic_gpu_EXPORTS -Xcompiler ,\\\"-fPIC\\\",\\\"-O3\\\",\\\"-DNDEBUG\\\" -Xcompiler -fPIC --gpu-architecture compute_20 --gpu-code sm_30 -DNVCC -I/usr/local/cuda/include -I/home/pion/ext/openSubdiv-current/opensubdiv -I/home/pion/ext/ptex-current/install/include -I/opt/intel/tbb/include -I/usr/include -I/usr/local/cuda/include -I/usr/include/nvidia-346/CL/c\r\n-- Generating temporary cmake readable file: /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend.tmp\r\n/usr/bin/cmake -D input_file:FILEPATH=/home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.NVCC-depend -D output_file:FILEPATH=/home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend.tmp -P /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake\r\n-- Copy if different /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend.tmp to /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend\r\n/usr/bin/cmake -E copy_if_different /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend.tmp /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend\r\n-- Removing /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend.tmp and /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.NVCC-depend\r\n/usr/bin/cmake -E remove /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.depend.tmp /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o.NVCC-depend\r\n-- Generating /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o\r\n/usr/local/cuda/bin/nvcc /home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu -c -o /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o -ccbin /usr/bin/cc -m64 -DOPENSUBDIV_VERSION_STRING=\\\"3.0.0.beta\\\" -DOPENSUBDIV_HAS_OPENMP -DOPENSUBDIV_HAS_TBB -DGLFW_VERSION_3 -DOSD_USES_GLEW -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_GLSL_COMPUTE -DOPENSUBDIV_HAS_OPENCL -DOPENSUBDIV_HAS_CUDA -DOPENSUBDIV_HAS_PTEX -DOPENSUBDIV_HAS_MAYA -Dosd_dynamic_gpu_EXPORTS -Xcompiler ,\\\"-fPIC\\\",\\\"-O3\\\",\\\"-DNDEBUG\\\" -Xcompiler -fPIC --gpu-architecture compute_20 --gpu-code sm_30 -DNVCC -I/usr/local/cuda/include -I/home/pion/ext/openSubdiv-current/opensubdiv -I/home/pion/ext/ptex-current/install/include -I/opt/intel/tbb/include -I/usr/include -I/usr/local/cuda/include -I/usr/include/nvidia-346/CL/c\r\n/home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu(223): warning: type qualifier is meaningless on cast type\r\n\r\n/home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu(223): warning: type qualifier is meaningless on cast type\r\n\r\nGenerated /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o successfully.\r\n[ 27%] Building NVCC (Device) object opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o\r\n-- Removing /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o\r\n/usr/bin/cmake -E remove /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o\r\n-- Generating dependency file: /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.NVCC-depend\r\n/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu -o /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -DOPENSUBDIV_VERSION_STRING=\\\"3.0.0.beta\\\" -DOPENSUBDIV_HAS_OPENMP -DOPENSUBDIV_HAS_TBB -DGLFW_VERSION_3 -DOSD_USES_GLEW -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_GLSL_COMPUTE -DOPENSUBDIV_HAS_OPENCL -DOPENSUBDIV_HAS_CUDA -DOPENSUBDIV_HAS_PTEX -DOPENSUBDIV_HAS_MAYA -Xcompiler ,\\\"-O3\\\",\\\"-DNDEBUG\\\" -Xcompiler -fPIC --gpu-architecture compute_20 --gpu-code sm_30 -DNVCC -I/usr/local/cuda/include -I/home/pion/ext/openSubdiv-current/opensubdiv -I/home/pion/ext/ptex-current/install/include -I/opt/intel/tbb/include -I/usr/include -I/usr/local/cuda/include -I/usr/include/nvidia-346/CL/c\r\n-- Generating temporary cmake readable file: /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp\r\n/usr/bin/cmake -D input_file:FILEPATH=/home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.NVCC-depend -D output_file:FILEPATH=/home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp -P /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake\r\n-- Copy if different /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp to /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend\r\n/usr/bin/cmake -E copy_if_different /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend\r\n-- Removing /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp and /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.NVCC-depend\r\n/usr/bin/cmake -E remove /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.NVCC-depend\r\n-- Generating /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o\r\n/usr/local/cuda/bin/nvcc /home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu -c -o /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o -ccbin /usr/bin/cc -m64 -DOPENSUBDIV_VERSION_STRING=\\\"3.0.0.beta\\\" -DOPENSUBDIV_HAS_OPENMP -DOPENSUBDIV_HAS_TBB -DGLFW_VERSION_3 -DOSD_USES_GLEW -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_GLSL_COMPUTE -DOPENSUBDIV_HAS_OPENCL -DOPENSUBDIV_HAS_CUDA -DOPENSUBDIV_HAS_PTEX -DOPENSUBDIV_HAS_MAYA -Xcompiler ,\\\"-O3\\\",\\\"-DNDEBUG\\\" -Xcompiler -fPIC --gpu-architecture compute_20 --gpu-code sm_30 -DNVCC -I/usr/local/cuda/include -I/home/pion/ext/openSubdiv-current/opensubdiv -I/home/pion/ext/ptex-current/install/include -I/opt/intel/tbb/include -I/usr/include -I/usr/local/cuda/include -I/usr/include/nvidia-346/CL/c\r\n/home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu(223): warning: type qualifier is meaningless on cast type\r\n\r\n/home/pion/ext/openSubdiv-current/opensubdiv/osd/cudaKernel.cu(223): warning: type qualifier is meaningless on cast type\r\n\r\nGenerated /home/pion/ext/openSubdiv-current/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o successfully.\r\n[ 27%] Building CXX object opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/version.cpp.o\r\nLinking CXX shared library ../lib/libosdGPU.so\r\n[ 27%] Built target osd_dynamic_gpu\r\n[ 27%] Building CXX object opensubdiv/CMakeFiles/osd_static_cpu.dir/version.cpp.o\r\nLinking CXX static library ../lib/libosdCPU.a\r\n[ 27%] Built target osd_static_cpu\r\n[ 27%] Building CXX object opensubdiv/CMakeFiles/osd_static_gpu.dir/version.cpp.o\r\nLinking CXX static library ../lib/libosdGPU.a\r\n[ 28%] Built target osd_static_gpu\r\n[ 29%] Building CXX object regression/common/CMakeFiles/regression_common_obj.dir/shape_utils.cpp.o\r\n[ 29%] Built target regression_common_obj\r\n[ 29%] Building CXX object regression/common/CMakeFiles/regression_vtr_utils_obj.dir/vtr_utils.cpp.o\r\n[ 29%] Built target regression_vtr_utils_obj\r\n[ 30%] Building CXX object regression/hbr_regression/CMakeFiles/hbr_baseline.dir/baseline.cpp.o\r\nLinking CXX executable ../../bin/hbr_baseline\r\n[ 30%] Built target hbr_baseline\r\n[ 31%] Building CXX object regression/hbr_regression/CMakeFiles/hbr_regression.dir/main.cpp.o\r\nLinking CXX executable ../../bin/hbr_regression\r\n[ 31%] Built target hbr_regression\r\n[ 32%] Building CXX object regression/vtr_regression/CMakeFiles/vtr_regression.dir/vtr_regression.cpp.o\r\nLinking CXX executable ../../bin/vtr_regression\r\n[ 32%] Built target vtr_regression\r\n[ 33%] Generating ssao.gen.h\r\n[ 33%] Generating framebuffer.gen.h\r\nScanning dependencies of target examples_common_obj\r\n[ 33%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/font_image.cpp.o\r\n[ 34%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/hdr_reader.cpp.o\r\n[ 34%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/hud.cpp.o\r\n[ 34%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/objAnim.cpp.o\r\n[ 35%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/patchColors.cpp.o\r\n[ 35%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/gl_common.cpp.o\r\n[ 35%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/gl_framebuffer.cpp.o\r\n[ 36%] Building CXX object examples/common/CMakeFiles/examples_common_obj.dir/gl_hud.cpp.o\r\n[ 36%] Built target examples_common_obj\r\n[ 37%] Generating shader_gl3.gen.h\r\n[ 37%] Generating shader.gen.h\r\nScanning dependencies of target glViewer\r\n[ 37%] Building CXX object examples/glViewer/CMakeFiles/glViewer.dir/glViewer.cpp.o\r\nIn file included from /usr/local/cuda/include/CL/opencl.h:44:0,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/../osd/opencl.h:34,\r\n                 from /home/pion/ext/openSubdiv-current/opensubdiv/osd/clGLVertexBuffer.h:31,\r\n                 from /home/pion/ext/openSubdiv-current/examples/glViewer/glViewer.cpp:66:\r\n/usr/local/cuda/include/CL/cl_gl_ext.h:44:4: warning: \"/*\" within comment [-Wcomment]\r\n  * /* cl_VEN_extname extension  */\r\n ^\r\nLinking CXX executable ../../bin/glViewer\r\n/home/pion/ext/glfw-current/build/lib/libglfw3.a(x11_init.c.o): In function `initExtensions':\r\nx11_init.c:(.text+0x1aeb): undefined reference to `XineramaQueryExtension'\r\nx11_init.c:(.text+0x1b05): undefined reference to `XineramaIsActive'\r\n/home/pion/ext/glfw-current/build/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetMonitors':\r\nx11_monitor.c:(.text+0x6fb): undefined reference to `XineramaQueryScreens'\r\ncollect2: error: ld returned 1 exit status\r\nmake[2]: *** [bin/glViewer] Error 1\r\nmake[1]: *** [examples/glViewer/CMakeFiles/glViewer.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n</pre></code>\r\n\r\nHowever, as long as I don't build the examples, the rest of the codebase compiles just fine against the CUDA 7 Toolkit.  "}}