Pcl: Installation of pcl-1.11.1 is failed on windows

Created on 25 Jun 2020  路  10Comments  路  Source: PointCloudLibrary/pcl


Describe the bug

image

1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines/Spline.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-18
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-18/desktop.ini
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1000
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1000/desktop.ini
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1001
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1001/desktop.ini
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1004
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1004/$IEHXFW1.exe
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1004/desktop.ini
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/$ICWG2TR.01
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/$ILVRH0T.zip
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/$RCWG2TR.01
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/$RCWG2TR.01/StressMyPC.exe
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/$RCWG2TR.01/StressMyPC.ini
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/$RLVRH0T.zip
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1005/desktop.ini
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Boost/$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1006
1>CMake Error at cmake_install.cmake:71 (file):
1>  file INSTALL cannot find
1>  "C://$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1006/.鍗犾彊鞓欏崰鞆欖槞000200000010fda2bf1812b8aa6fb695":
1>  No such file or directory.
1>
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5): error MSB3073: :VCEnd" exited with code 1.
1>Done building project "INSTALL.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Your Environment (please complete the following information):

  • OS: Windows 10
  • Compiler: vs2017
  • PCL Version 1.11.0.99

    • boost 1.73.0

    • eigen 3.3.7

    • flann 1.9.1

    • qhull 8.0.0

    • vtk 8.2.0

    • cuda 10.2

bug author reply windows

All 10 comments

PCL 1.11.1 isn't released yet. 馃槙

PCL 1.11.1 isn't released yet. 馃槙

sorry, pcl version is 1.11.0.99

Seems really odd it would try to copy a file from recycle bin:
C://$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1006/.

Ahh, its placed in boost directory. Maybe you can show hidden folders and remove it manually.

It could be looked into cmake not trying to copy hidden files, but I think it will happen rarely that a recycle.bin folder will be created in boost directory. I haven't experienced it yet.

Are you using the all-in-one installer?

Are you using the all-in-one installer?

I checked BUILD_all_in_one_installer in cmake.

Seems really odd it would try to copy a file from recycle bin:
C://$Recycle.Bin/S-1-5-21-2481024052-1005122543-481616067-1006/.

Ahh, its placed in boost directory. Maybe you can show hidden folders and remove it manually.

It could be looked into cmake not trying to copy hidden files, but I think it will happen rarely that a recycle.bin folder will be created in boost directory. I haven't experienced it yet.

I can`t find hidden folder $Recycle.Bin.

Looking at the log, there is no problem when installing eigen, but an error occurs when installing boost.

1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines/Spline.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h
1>-- Installing: C:/Libraries/PCL-1.11.1/3rdParty/Eigen/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h

I used Eigen built myself.
But, boost is pre-built library. boost_1_73_0-bin-msvc-all-32-64.7z https://sourceforge.net/projects/boost/files/boost-binaries/1.73.0/
Could this be a problem?

In my experience, this error is often due to user rights. Please run Visual Studio as administrator.
My build notes (PCL, 3rdParty) are here. Please refer to this document.
https://gist.github.com/UnaNancyOwen/59319050d53c137ca8f3#file-pcl1-11-0-md

larshg's point https://github.com/PointCloudLibrary/pcl/issues/4226#issuecomment-649432661 is correct. That's not a direct cause, but I think that it is very strange.

In my experience, this error is often due to user rights. Please run Visual Studio as administrator.

Was also my first thought, but install dir is c:\libraries and not in programs(x86), so that shouldn't be required.

Also it would not be able to copy any files.

But if you dont need to create the all-in-one installer you can just disable it. Then I think it wont copy the 3. Party files.

I changed boost library from pre-built to source compiled.
And, pcl installation succeed.
Thanks to those who commented.

I'm running into the same issue. Can you please explain how you made the change to source compiled?

I'm running into the same issue. Can you please explain how you made the change to source compiled?

I recommend to follow UnaNancyOwen's build note.
https://gist.github.com/UnaNancyOwen/59319050d53c137ca8f3#file-pcl1-11-1-md

And uncheck BUILD_all_in_one_installer

Was this page helpful?
0 / 5 - 0 ratings