INSTALL cannot find libpcl_common.so.1.8.1.99

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

INSTALL cannot find libpcl_common.so.1.8.1.99

ravijoshi
HI,

I am trying to install PCL 1.8 from the source in my new Ubuntu 14.04 LTS 64
BIt PC. Below are the commands, I used-

(1) git clone https://github.com/PointCloudLibrary/pcl.git
(2) cd pcl
(3) mkdir build
(4) cd build
(5) cmake -DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/home/baxterpc/Tools/pcl/build -DBUILD_GPU=OFF
-DBUILD_apps=OFF -DBUILD_examples=OFF
-DCMAKE_INSTALL_PREFIX=/home/baxterpc/Tools/pcl/build ..
(6) make
(7) make install

Please note that I am trying to install PCL to
'/home/baxterpc/Tools/pcl/build' directory. Everything goes fine. However
'make install' failed and shows following errors-

----------------------------------------------------------------
Install the project...
-- Install configuration: "None"
-- Installing:
/home/baxterpc/Tools/pcl/build/include/pcl-1.8/pcl/pcl_config.h
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindSuiteSparse.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindOpenNI2.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/Findlibusb-1.0.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindGLEW.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindQVTK.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindSphinx.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindEigen.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindPcap.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FinddavidSDK.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindGtest.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindG2O.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindRSSDK.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindQhull.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindFLANN.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindEnsenso.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindDSSDK.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindOpenNI.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindGTSAM.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/Modules/FindFZAPI.cmake
-- Installing: /home/baxterpc/Tools/pcl/build/share/pcl-1.8/PCLConfig.cmake
-- Installing:
/home/baxterpc/Tools/pcl/build/share/pcl-1.8/PCLConfigVersion.cmake
CMake Error at common/cmake_install.cmake:48 (FILE):
  file INSTALL cannot find
  "/home/baxterpc/Tools/pcl/build/lib/libpcl_common.so.1.8.1.99".
Call Stack (most recent call first):
  cmake_install.cmake:72 (INCLUDE)


make: *** [install] Error 1
------------------------------------------------------------------

I checked the file and found following in the terminal-

ls -la /home/baxterpc/Tools/pcl/build/lib/libpcl_common.so.1*
lrwxrwxrwx 1 baxterpc baxterpc 22 Feb 13 19:29
/home/baxterpc/Tools/pcl/build/lib/libpcl_common.so.1.8 ->
libpcl_common.so.1.8.1

Any workaround, please? Previously I installed PCL with the similar steps in
another Ubuntu PC and succeed but not now!



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: INSTALL cannot find libpcl_common.so.1.8.1.99

Sérgio Agostinho
Start by not installing to the build folder. Create a separate one at
../install for instance.

Cheers




_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: INSTALL cannot find libpcl_common.so.1.8.1.99

ravijoshi
You are absolutely right.

As always, thank you very much.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users