Page 2 of 2
Re: Compilation on Ubuntu 12.04 64bit
Posted: Tue Dec 18, 2012 10:30 am
by atman
Thank you, daniel!
Compilation have done successfully... but next issue:
Code: Select all
ccViewer: error while loading shared libraries: libCC_DLL.so: cannot open shared object file: No such file or directory
Do you thinking about creating repository at launchpad for precompiled apps for ubuntu and debian?
Re: Compilation on Ubuntu 12.04 64bit
Posted: Tue Dec 18, 2012 12:17 pm
by daniel
There's something about this issue on the wiki:
http://www.cloudcompare.org/doc/wiki/in ... tion_CMake
('compilation_all_platforms_eng.txt' file is not up-to-date)
On Linux, you may encounter issues with shared libraries (.so files) if the project is not installed in /usr. In this case:
[*]either set the LD_LIBRARY_PATH variable so that it points to the qCC and ccViewer installation folders (export LD_LIBRARY_PATH=...).
[*]or call 'sudo /sbin/ldconfig -v' as suggested here
Personally I'm far from being a Linux guru, so I won't be able to help you. Generally I try to compile on Windows and Linux but my ubuntu installation badly crashed since last "auto-update". Since then, I never found the time to re-install it...
And about pre-compiled apps, it would be great! We just need to find someone who is willing/able to do it;)
Re: Compilation on Ubuntu 12.04 64bit
Posted: Tue Dec 18, 2012 9:59 pm
by atman
mmmmm don't work :(
maybe, next time...
Anyway, Thanks.
Re: Compilation on Ubuntu 12.04 64bit
Posted: Wed Dec 19, 2012 7:55 am
by daniel
And if you copy the .so files next to the binary?
Re: Compilation on Ubuntu 12.04 64bit
Posted: Wed Dec 19, 2012 12:09 pm
by atman
Great! It's alive!
I've used wrong command for running... sorry :)
Thank you, Daniel!
Re: Compilation on Ubuntu 12.04 64bit
Posted: Wed Dec 19, 2012 8:47 pm
by atman
OK Daniel, next issue - plugins :)
Code: Select all
... ... ...
... ... ...
... ... ...
Scanning dependencies of target PclUtils
[ 70%] Building CXX object qCC/plugins/qPCL/PclUtils/CMakeFiles/PclUtils.dir/filters/MLSSmoothingUpsampling.cpp.o
In file included from /usr/include/pcl-1.6/pcl/point_types.h:301:0,
from /usr/include/pcl-1.6/pcl/point_representation.h:42,
from /usr/include/pcl-1.6/pcl/kdtree/kdtree.h:46,
from /usr/include/pcl-1.6/pcl/search/kdtree.h:43,
from /usr/include/pcl-1.6/pcl/search/pcl_search.h:44,
from /usr/include/pcl-1.6/pcl/surface/mls.h:48,
from /home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/filters/dialogs/MLSDialog.h:27,
from /home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:19:
/usr/include/pcl-1.6/pcl/impl/point_types.hpp:1009:68: warning: ‘SHOT’ is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/pcl-1.6/pcl/kdtree/kdtree.h:46:0,
from /usr/include/pcl-1.6/pcl/search/kdtree.h:43,
from /usr/include/pcl-1.6/pcl/search/pcl_search.h:44,
from /usr/include/pcl-1.6/pcl/surface/mls.h:48,
from /home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/filters/dialogs/MLSDialog.h:27,
from /home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:19:
/usr/include/pcl-1.6/pcl/point_representation.h:445:6: warning: ‘SHOT’ is deprecated (declared at /usr/include/pcl-1.6/pcl/impl/point_types.hpp:1002): USE SHOT352 FOR SHAPE AND SHOT1344 FOR SHAPE+COLOR INSTEAD [-Wdeprecated-declarations]
/usr/include/pcl-1.6/pcl/point_representation.h:446:34: warning: ‘SHOT’ is deprecated (declared at /usr/include/pcl-1.6/pcl/impl/point_types.hpp:1002): USE SHOT352 FOR SHAPE AND SHOT1344 FOR SHAPE+COLOR INSTEAD [-Wdeprecated-declarations]
/usr/include/pcl-1.6/pcl/point_representation.h:455:53: warning: ‘SHOT’ is deprecated [-Wdeprecated-declarations]
In file included from /home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:21:0:
/home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/utils/filtering.hpp: In function ‘int smooth_mls(const typename pcl::PointCloud<PointInT>::Ptr&, const MLSParameters&, typename pcl::PointCloud<PointOutT>::Ptr&, pcl::PointIndicesPtr&) [with PointInT = pcl::PointXYZ, PointOutT = pcl::PointNormal, typename pcl::PointCloud<PointInT>::Ptr = boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >, typename pcl::PointCloud<PointOutT>::Ptr = boost::shared_ptr<pcl::PointCloud<pcl::PointNormal> >, pcl::PointIndicesPtr = boost::shared_ptr<pcl::PointIndices>]’:
/home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp:81:97: instantiated from here
/home/user/Desktop/trunk-master/qCC/plugins/qPCL/PclUtils/utils/filtering.hpp:263:5: error: ‘class pcl::MovingLeastSquares<pcl::PointXYZ, pcl::PointNormal>’ has no member named ‘getCorrespondingIndices’
make[2]: *** [qCC/plugins/qPCL/PclUtils/CMakeFiles/PclUtils.dir/filters/MLSSmoothingUpsampling.cpp.o] Error 1
make[1]: *** [qCC/plugins/qPCL/PclUtils/CMakeFiles/PclUtils.dir/all] Error 2
make: *** [all] Error 2
Re: Compilation on Ubuntu 12.04 64bit
Posted: Thu Dec 20, 2012 8:24 pm
by daniel
We should ask Luca (the creator of this plugin, who also works on Linux).
Meanwhile, have you patched your liblas installation as stated in the wiki? (the patch is here
http://dev.pointclouds.org/issues/845)