{"action":"created","issue":{"url":"https://api.github.com/repos/gaoxiang12/slambook/issues/38","repository_url":"https://api.github.com/repos/gaoxiang12/slambook","labels_url":"https://api.github.com/repos/gaoxiang12/slambook/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/gaoxiang12/slambook/issues/38/comments","events_url":"https://api.github.com/repos/gaoxiang12/slambook/issues/38/events","html_url":"https://github.com/gaoxiang12/slambook/issues/38","id":252176921,"number":38,"title":"ch4/useSophus Error","user":{"login":"teduav","id":9317044,"avatar_url":"https://avatars1.githubusercontent.com/u/9317044?v=4","gravatar_id":"","url":"https://api.github.com/users/teduav","html_url":"https://github.com/teduav","followers_url":"https://api.github.com/users/teduav/followers","following_url":"https://api.github.com/users/teduav/following{/other_user}","gists_url":"https://api.github.com/users/teduav/gists{/gist_id}","starred_url":"https://api.github.com/users/teduav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teduav/subscriptions","organizations_url":"https://api.github.com/users/teduav/orgs","repos_url":"https://api.github.com/users/teduav/repos","events_url":"https://api.github.com/users/teduav/events{/privacy}","received_events_url":"https://api.github.com/users/teduav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-23T06:43:48Z","updated_at":"2017-11-01T09:01:39Z","closed_at":null,"author_association":"NONE","body":"~/slambook/ch4/useSophus$ make\r\nScanning dependencies of target useSophus\r\n[ 50%] Building CXX object CMakeFiles/useSophus.dir/useSophus.cpp.o\r\n[100%] Linking CXX executable useSophus\r\nCMakeFiles/useSophus.dir/useSophus.cpp.o：在函数‘main’中：\r\nuseSophus.cpp:(.text+0xd1)：对‘Sophus::SO3::SO3(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0xf4)：对‘Sophus::SO3::SO3(double, double, double)’未定义的引用\r\nuseSophus.cpp:(.text+0x126)：对‘Sophus::SO3::SO3(Eigen::Quaternion<double, 0> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x1d2)：对‘Sophus::SO3::log() const’未定义的引用\r\nuseSophus.cpp:(.text+0x232)：对‘Sophus::SO3::hat(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x27c)：对‘Sophus::SO3::hat(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x295)：对‘Sophus::SO3::vee(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x341)：对‘Sophus::SO3::exp(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x361)：对‘Sophus::SO3::operator*(Sophus::SO3 const&) const’未定义的引用\r\nuseSophus.cpp:(.text+0x41a)：对‘Sophus::SE3::SE3(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x43a)：对‘Sophus::SE3::SE3(Eigen::Quaternion<double, 0> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x4cf)：对‘Sophus::SE3::log() const’未定义的引用\r\nuseSophus.cpp:(.text+0x52f)：对‘Sophus::SE3::hat(Eigen::Matrix<double, 6, 1, 0, 6, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x586)：对‘Sophus::SE3::hat(Eigen::Matrix<double, 6, 1, 0, 6, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x59f)：对‘Sophus::SE3::vee(Eigen::Matrix<double, 4, 4, 0, 4, 4> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x642)：对‘Sophus::SE3::exp(Eigen::Matrix<double, 6, 1, 0, 6, 1> const&)’未定义的引用\r\nuseSophus.cpp:(.text+0x662)：对‘Sophus::SE3::operator*(Sophus::SE3 const&) const’未定义的引用\r\nuseSophus.cpp:(.text+0x67b)：对‘Sophus::SE3::matrix() const’未定义的引用\r\nCMakeFiles/useSophus.dir/useSophus.cpp.o：在函数‘Sophus::operator<<(std::ostream&, Sophus::SO3 const&)’中：\r\nuseSophus.cpp:(.text._ZN6SophuslsERSoRKNS_3SO3E[_ZN6SophuslsERSoRKNS_3SO3E]+0x2e)：对‘Sophus::SO3::log() const’未定义的引用\r\ncollect2: error: ld returned 1 exit status\r\nCMakeFiles/useSophus.dir/build.make:94: recipe for target 'useSophus' failed\r\nmake[2]: *** [useSophus] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/useSophus.dir/all' failed\r\nmake[1]: *** [CMakeFiles/useSophus.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/gaoxiang12/slambook/issues/comments/341040925","html_url":"https://github.com/gaoxiang12/slambook/issues/38#issuecomment-341040925","issue_url":"https://api.github.com/repos/gaoxiang12/slambook/issues/38","id":341040925,"user":{"login":"ArmstrongWall","id":16604264,"avatar_url":"https://avatars1.githubusercontent.com/u/16604264?v=4","gravatar_id":"","url":"https://api.github.com/users/ArmstrongWall","html_url":"https://github.com/ArmstrongWall","followers_url":"https://api.github.com/users/ArmstrongWall/followers","following_url":"https://api.github.com/users/ArmstrongWall/following{/other_user}","gists_url":"https://api.github.com/users/ArmstrongWall/gists{/gist_id}","starred_url":"https://api.github.com/users/ArmstrongWall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArmstrongWall/subscriptions","organizations_url":"https://api.github.com/users/ArmstrongWall/orgs","repos_url":"https://api.github.com/users/ArmstrongWall/repos","events_url":"https://api.github.com/users/ArmstrongWall/events{/privacy}","received_events_url":"https://api.github.com/users/ArmstrongWall/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T09:01:39Z","updated_at":"2017-11-01T09:01:39Z","author_association":"NONE","body":"手动指定头文件目录，手动添加动态链接库\r\ninclude_directories(  /home/wzq/3rd_party/Sophus  )\r\ntarget_link_libraries(project libSophus.so)"}}
{"actor":{"display_login":"ArmstrongWall"}}