在 Windows 上从源构建点云库的提升时出错

Error on building Boost of Point cloud library from source on Windows

当我在 windows 32 位 MSVC 2010 上从源代码为点云库构建 Boost 时 - 从 (http://sourceforge.net/projects/boost/files/boost-binaries/) 下载 boost 1.55.0。使用CMake 3.4.0构建时出现错误:

CMake Error: Cannot open file for write: C:/Program Files (x86)/PCL/PCL_dependencies/boost_1_55_0/build/CMakeCache.txt.tmp
CMake Error: The source directory "C:/Program Files (x86)/PCL/PCL_dependencies/boost_1_55_0" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error: : System Error: No such file or directory
CMake Error: Unable to open cache file for save. C:/Program Files (x86)/PCL/PCL_dependencies/boost_1_55_0/build/CMakeCache.txt
CMake Error: : System Error: No such file or directory

尝试将目录(可能是安装目录)更改为不同于 C:/Program Files (x86) 的目录,确保您使用的目录可以在没有管理员身份的情况下写入