Skip to content
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

Build Error #10

Closed
wqshen369 opened this issue Dec 28, 2020 · 1 comment
Closed

Build Error #10

wqshen369 opened this issue Dec 28, 2020 · 1 comment

Comments

@wqshen369
Copy link

Thanks for your work! I had trouble when build the code with ./build_ros.sh
It seems like something wrong with vtk, pcl and boost.
I reinstalled pcl1.7 and vtk6.2 via source code, but it didn't help.
Also, could you provide the way to build "libCamvox.so"? In that case I can test the code with other machines.
Thanks!!!

/usr/bin/ld: warning: libboost_system.so.1.65.1, needed by /opt/ros/melodic/lib/libroscpp.so, may conflict with libboost_system.so.1.58.0
/usr/bin/ld: warning: libboost_filesystem.so.1.65.1, needed by /opt/ros/melodic/lib/libroscpp.so, may conflict with libboost_filesystem.so.1.58.0
/usr/bin/ld: warning: libboost_thread.so.1.58.0, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingFreeTypeOpenGL-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingMatplotlib-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingFreeTypeFontConfig-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_calib3d3.so.3.3, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_features2d3.so.3.3, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_highgui3.so.3.3, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_imgcodecs3.so.3.3, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_imgproc3.so.3.3, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libGLEW.so.1.13, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkInteractionStyle-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingOpenGL-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingFreeType-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingCore-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonDataModel-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonMath-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonCore-6.2.so.6.2, needed by ../../../lib/libCamvox.so, not found (try using -rpath or -rpath-link)
../../../lib/libCamvox.so:对‘vtkRenderingFreeTypeOpenGL_AutoInit_Destruct()’未定义的引用
../../../lib/libCamvox.so:对‘pcl::search::Searchpcl::PointXYZ::getName() const’未定义的引用
../../../lib/libCamvox.so:对‘boost::this_thread::hiden::sleep_until(timespec const&)’未定义的引用
../../../lib/libCamvox.so:对‘vtkRenderingFreeTypeOpenGL_AutoInit_Construct()’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/camvox.dir/build.make:523: recipe for target '../camvox' failed
make[2]: *** [../camvox] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/camvox.dir/all' failed
make[1]: *** [CMakeFiles/camvox.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

@zywok
Copy link
Contributor

zywok commented Jan 8, 2021

Thank you for pointing out the problem. I will solve build errors caused by libraries version as soos as possible. Due to I was disturbed by the application for Phd some time ago, and next I will optimize the overall implementation of the code and will continue to maintain it. And i will provide a full code version. Please waiting for a short time, Thank you for understanding.

@zywok zywok closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants