{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fbcunn/issues/66","labels_url":"https://api.github.com/repos/facebook/fbcunn/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbcunn/issues/66/comments","events_url":"https://api.github.com/repos/facebook/fbcunn/issues/66/events","html_url":"https://github.com/facebook/fbcunn/issues/66","id":88777515,"number":66,"title":"Error installing thpp ","user":{"login":"vislab2013","id":3234935,"avatar_url":"https://avatars.githubusercontent.com/u/3234935?v=3","gravatar_id":"","url":"https://api.github.com/users/vislab2013","html_url":"https://github.com/vislab2013","followers_url":"https://api.github.com/users/vislab2013/followers","following_url":"https://api.github.com/users/vislab2013/following{/other_user}","gists_url":"https://api.github.com/users/vislab2013/gists{/gist_id}","starred_url":"https://api.github.com/users/vislab2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vislab2013/subscriptions","organizations_url":"https://api.github.com/users/vislab2013/orgs","repos_url":"https://api.github.com/users/vislab2013/repos","events_url":"https://api.github.com/users/vislab2013/events{/privacy}","received_events_url":"https://api.github.com/users/vislab2013/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-16T16:36:35Z","updated_at":"2015-06-22T10:06:10Z","closed_at":null,"body":"I'm getting this error when compiling thpp (tried on 2 separate machines with newly installed ubuntu 14.04, same result). Any sugestions how to work around this ?\r\n\r\n[ 92%] Building CXX object test/CMakeFiles/tensor_serialization_test.dir/TensorSerializationTest.cpp.o\r\nLinking CXX executable tensor_serialization_test\r\n/usr/local/lib/libthrift.so: undefined reference to `boost::this_thread::interruption_point()'\r\n/usr/local/lib/libthriftcpp2.so: undefined reference to `boost::this_thread::disable_interruption::disable_interruption()'\r\n/usr/local/lib/libthriftcpp2.so: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()'\r\n/usr/local/lib/libthrift.so: undefined reference to `boost::detail::get_current_thread_data()'\r\ncollect2: error: ld returned 1 exit status\r\nmake[2]: *** [test/tensor_serialization_test] Error 1\r\nmake[1]: *** [test/CMakeFiles/tensor_serialization_test.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/fbcunn/issues/comments/114056930","html_url":"https://github.com/facebook/fbcunn/issues/66#issuecomment-114056930","issue_url":"https://api.github.com/repos/facebook/fbcunn/issues/66","id":114056930,"user":{"login":"vislab2013","id":3234935,"avatar_url":"https://avatars.githubusercontent.com/u/3234935?v=3","gravatar_id":"","url":"https://api.github.com/users/vislab2013","html_url":"https://github.com/vislab2013","followers_url":"https://api.github.com/users/vislab2013/followers","following_url":"https://api.github.com/users/vislab2013/following{/other_user}","gists_url":"https://api.github.com/users/vislab2013/gists{/gist_id}","starred_url":"https://api.github.com/users/vislab2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vislab2013/subscriptions","organizations_url":"https://api.github.com/users/vislab2013/orgs","repos_url":"https://api.github.com/users/vislab2013/repos","events_url":"https://api.github.com/users/vislab2013/events{/privacy}","received_events_url":"https://api.github.com/users/vislab2013/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T10:06:10Z","updated_at":"2015-06-22T10:06:10Z","body":"Found a work around for this issue in: https://github.com/wb14123/thpp/commit/b194e1d4ca4db056593e44ba539fef2ff9e7f737\r\n\r\nJust updated the thpp/CMakeLists.txt file in line 71 with the string SET(CMAKE_SHARED_LINKER_FLAGS \"-Wl,--no-as-needed,-lboost_thread,-lboost_system\") and everything else compiled without any issues, fbcunn included.\r\n\r\nCheers"}}