{"action":"closed","issue":{"url":"https://api.github.com/repos/ddemidov/vexcl/issues/135","labels_url":"https://api.github.com/repos/ddemidov/vexcl/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/ddemidov/vexcl/issues/135/comments","events_url":"https://api.github.com/repos/ddemidov/vexcl/issues/135/events","html_url":"https://github.com/ddemidov/vexcl/issues/135","id":34761936,"number":135,"title":"Problem compiling on Linux (tests/threads.cpp)","user":{"login":"formica-multiuso","id":830825,"avatar_url":"https://avatars.githubusercontent.com/u/830825?v=3","gravatar_id":"","url":"https://api.github.com/users/formica-multiuso","html_url":"https://github.com/formica-multiuso","followers_url":"https://api.github.com/users/formica-multiuso/followers","following_url":"https://api.github.com/users/formica-multiuso/following{/other_user}","gists_url":"https://api.github.com/users/formica-multiuso/gists{/gist_id}","starred_url":"https://api.github.com/users/formica-multiuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/formica-multiuso/subscriptions","organizations_url":"https://api.github.com/users/formica-multiuso/orgs","repos_url":"https://api.github.com/users/formica-multiuso/repos","events_url":"https://api.github.com/users/formica-multiuso/events{/privacy}","received_events_url":"https://api.github.com/users/formica-multiuso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-06-02T10:45:28Z","updated_at":"2015-03-10T12:23:30Z","closed_at":"2015-03-10T12:23:30Z","body":"Hi ddemidov and thanks for your beautiful work!\r\nTrying to compile in linux I obtain two errors:\r\n\r\n1) the first is concerning constants.hpp:\r\nOPENCL/vexcl/vexcl/constants.hpp:178:1: error: ‘one_div_two_pi’ is not a member of ‘boost::math::constants’\r\nI have solved this commenting the line 178 in constants.hpp.\r\n\r\n2) the second is about tests/threads.cpp and I didn't solve it yet.\r\n/home/formica/OPENCL/vexcl/tests/threads.cpp:24:74:   required from here\r\n/usr/include/boost/thread/detail/thread.hpp:114:9: error: ‘boost::thread::thread(boost::thread&)’ is private\r\nIn file included from /usr/include/c++/4.7/memory:66:0,\r\n                 from /usr/include/boost/config/no_tr1/memory.hpp:21,\r\n                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,\r\n                 from /usr/include/boost/shared_ptr.hpp:17,\r\n                 from /usr/include/boost/thread/pthread/thread_data.hpp:10,\r\n                 from /usr/include/boost/thread/thread.hpp:17,\r\n                 from /usr/include/boost/thread.hpp:13,\r\n                 from /home/formica/OPENCL/vexcl/tests/threads.cpp:2:\r\n/usr/include/c++/4.7/bits/stl_construct.h:77:7: error: within this context\r\n\r\nTake care: I had to use cl.hpp version 1.1 to start the compilation with my old nvidia gpu.\r\n\r\nCan you help me?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2458761-problem-compiling-on-linux-tests-threads-cpp?utm_campaign=plugin&utm_content=tracker%2F303508&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F303508&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}