在Windows上从源代码构建Point云库的Boost时出错

时间:2015-11-12 01:11:04

标签: c++ boost point-cloud-library

当我在Windows 32位MSVC 2010上从源构建Boost for Point Cloud Library时 - 从(http://sourceforge.net/projects/boost/files/boost-binaries/)下载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

1 个答案:

答案 0 :(得分:1)

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