-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it sames I can not read ply file? #43
Comments
and I just can run Kdtree example, it doesn't need read ply data or visualizer~ |
Hi, Apologies for the late reply. It seems you are not linking against the library. If you used the default CMake settings for building
Let me know if you still run into issues! |
oh ,it works. |
Great! No problem :) |
coding:
" std::string file_path="data/test.ply";
cilantro::PointCloud3f cloud(file_path);"
when I was building,the output is
"/usr/local/include/cilantro/utilities/ply_io.hpp:11: undefined reference to
tinyply::PlyFile::PlyFile()' /usr/local/include/cilantro/utilities/ply_io.hpp:12: undefined reference to
tinyply::PlyFile::parse_header(std::istream&)'/usr/local/include/cilantro/utilities/ply_io.hpp:11: undefined reference to `tinyply::PlyFile::~PlyFile()'...."
And when I try to use the visualizer,the output is :
" undefined reference to
cilantro::Visualizer::Visualizer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /home/cidi/learning_code/myLocalization1/src/jiqunLocalization.cc:569: undefined reference to
cilantro::Visualizer::spinOnce()'/home/cidi/learning_code/myLocalization1/src/jiqunLocalization.cc:563: undefined reference to
cilantro::Visualizer::~Visualizer()' /home/cidi/learning_code/myLocalization1/src/jiqunLocalization.cc:563: undefined reference to
cilantro::Visualizer::~Visualizer()' "the Pangolin is builded fine.
I can running your demo fine ,but it does not work in my project~
hope for you answer,thanks.
The text was updated successfully, but these errors were encountered: