{"action":"created","issue":{"url":"https://api.github.com/repos/mitdrc/pronto/issues/4","labels_url":"https://api.github.com/repos/mitdrc/pronto/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mitdrc/pronto/issues/4/comments","events_url":"https://api.github.com/repos/mitdrc/pronto/issues/4/events","html_url":"https://github.com/mitdrc/pronto/issues/4","id":54182583,"number":4,"title":"cmake file needs to explicitly locate boost libs","user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-13T11:43:46Z","updated_at":"2015-01-13T13:53:34Z","closed_at":null,"body":"fyi - when compiling on the mac, I see\r\n\r\n```\r\n-------------------------------------------\r\n-- visualization\r\n-------------------------------------------\r\n[  0%] Built target lcmgen_c\r\n[  0%] Built target lcmgen_cpp\r\n[  0%] Built target lcmgen_java\r\n[  0%] Built target lcmgen_python\r\n[ 71%] Built target lcmtypes_visualization\r\n[ 80%] Built target lcmtypes_visualization_jar\r\n[ 85%] Built target vs_vis\r\n[ 90%] Built target collections_renderer\r\nLinking CXX executable ../../bin/collections_example\r\nld: library not found for -lboost_thread\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mitdrc/pronto/issues/comments/69746569","html_url":"https://github.com/mitdrc/pronto/issues/4#issuecomment-69746569","issue_url":"https://api.github.com/repos/mitdrc/pronto/issues/4","id":69746569,"user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T13:53:33Z","updated_at":"2015-01-13T13:53:33Z","body":"\r\nfwiw - i get pages of cmake errors of the form\r\n```\r\nCMake Warning (dev) at CMakeLists.txt:23 (add_library):\r\n  Policy CMP0038 is not set: Targets may not link directly to themselves.\r\n  Run \"cmake --help-policy CMP0038\" for policy details.  Use the cmake_policy\r\n  command to set the policy and suppress this warning.\r\n\r\n  Target \"vs_vis\" links to itself.\r\n```\r\nafter filtering through those, i do see\r\n```\r\nBUILD_PREFIX: /Users/russt/drc/software/build\r\n\r\n\r\n-- Boost version: 1.55.0\r\n-- Found the following Boost libraries:\r\n--   thread\r\n--   system\r\n-- /usr/local/lib/libboost_thread-mt.dylib/usr/local/lib/libboost_system-mt.dylib\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /Users/russt/drc/software/pronto/visualization/pod-build\r\n\r\n```\r\n\r\n\r\nOn Jan 13, 2015, at 6:58 AM, Maurice Fallon <notifications@github.com> wrote:\r\n\r\n> I see this:\r\n> -- checking for module 'lcm'\r\n> -- found lcm, version 1.0.0\r\n> -- Found Java: /usr/bin/java (found version \"1.7.0.65\") \r\n> -- Found PythonInterp: /usr/bin/python (found version \"2.7.6\") \r\n> -- Boost version: 1.54.0\r\n> -- Found the following Boost libraries:\r\n> -- thread\r\n> -- system\r\n> \r\n> CMakeLists.txt finds boost like this:\r\n> find_package(Boost COMPONENTS thread system REQUIRED)\r\n> message(STATUS ${Boost_LIBRARIES})\r\n> ...\r\n> target_link_libraries(vs_vis ${Boost_LIBRARIES})\r\n> \r\n> At the start of a clean build of visualization what does cmake say?\r\n> It common enough to explicitly list it in target_link_libraries() does that work for mac?\r\n> The bug report is appreciated!\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> "}}