{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/432","labels_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/432/comments","events_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/432/events","html_url":"https://github.com/OpenKinect/libfreenect2/issues/432","id":112040000,"number":432,"title":"Ubuntu 12.04 opencl_depth_packet_processor","user":{"login":"mall3i","id":8885211,"avatar_url":"https://avatars.githubusercontent.com/u/8885211?v=3","gravatar_id":"","url":"https://api.github.com/users/mall3i","html_url":"https://github.com/mall3i","followers_url":"https://api.github.com/users/mall3i/followers","following_url":"https://api.github.com/users/mall3i/following{/other_user}","gists_url":"https://api.github.com/users/mall3i/gists{/gist_id}","starred_url":"https://api.github.com/users/mall3i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mall3i/subscriptions","organizations_url":"https://api.github.com/users/mall3i/orgs","repos_url":"https://api.github.com/users/mall3i/repos","events_url":"https://api.github.com/users/mall3i/events{/privacy}","received_events_url":"https://api.github.com/users/mall3i/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/labels/build","name":"build","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-18T20:43:47Z","updated_at":"2015-11-09T14:16:22Z","closed_at":"2015-11-09T14:16:22Z","body":"Hey everyone,\r\n\r\nI'm trying to setup libfreenect2 under Ubuntu 12.04 but I keep running into the following issue when executing the \"make\" command. I have an Nvidia graphics card and have the respective drivers and opencl components installed (I think).\r\nThankful for a push to the solutionary direction ;)\r\n\r\n```\r\nuser@userU:~/libfreenect2/build$ make\r\n[  8%] Built target generate_resources_tool\r\n[  8%] Building CXX object CMakeFiles/freenect2.dir/src/opencl_depth_packet_processor.cpp.o\r\n/home/user/libfreenect2/src/opencl_depth_packet_processor.cpp: In member function ‘bool libfreenect2::OpenCLDepthPacketProcessorImpl::initDevice(int)’:\r\n/home/user/libfreenect2/src/opencl_depth_packet_processor.cpp:324:59: error: no matching function for call to ‘cl::Context::Context(cl::Device&, NULL, NULL, NULL, cl_int*)’\r\n/home/user/libfreenect2/src/opencl_depth_packet_processor.cpp:324:59: note: candidates are:\r\n/usr/include/CL/cl.hpp:1466:5: note: cl::Context::Context(const cl::Context&)\r\n/usr/include/CL/cl.hpp:1466:5: note:   candidate expects 1 argument, 5 provided\r\n/usr/include/CL/cl.hpp:1464:5: note: cl::Context::Context()\r\n/usr/include/CL/cl.hpp:1464:5: note:   candidate expects 0 arguments, 5 provided\r\n/usr/include/CL/cl.hpp:1443:5: note: cl::Context::Context(cl_device_type, cl_context_properties*, void (*)(const char*, const void*, size_t, void*), void*, cl_int*)\r\n/usr/include/CL/cl.hpp:1443:5: note:   no known conversion for argument 1 from ‘cl::Device’ to ‘cl_device_type {aka long unsigned int}’\r\n/usr/include/CL/cl.hpp:1420:5: note: cl::Context::Context(const std::vector<cl::Device>&, cl_context_properties*, void (*)(const char*, const void*, size_t, void*), void*, cl_int*)\r\n/usr/include/CL/cl.hpp:1420:5: note:   no known conversion for argument 1 from ‘cl::Device’ to ‘const std::vector<cl::Device>&’\r\n/home/user/libfreenect2/src/opencl_depth_packet_processor.cpp: In member function ‘bool libfreenect2::OpenCLDepthPacketProcessorImpl::buildProgram(const string&)’:\r\n/home/user/libfreenect2/src/opencl_depth_packet_processor.cpp:549:42: error: no matching function for call to ‘cl::Program::build(const char*)’\r\n/home/user/libfreenect2/src/opencl_depth_packet_processor.cpp:549:42: note: candidate is:\r\n/usr/include/CL/cl.hpp:2459:12: note: cl_int cl::Program::build(const std::vector<cl::Device>&, const char*, void (*)(cl_program, void*), void*) const\r\n/usr/include/CL/cl.hpp:2459:12: note:   no known conversion for argument 1 from ‘const char*’ to ‘const std::vector<cl::Device>&’\r\nmake[2]: *** [CMakeFiles/freenect2.dir/src/opencl_depth_packet_processor.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/freenect2.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```"}}