博客转自:http://www.cnblogs.com/vincenzo/archive/2010/05/13/1734230.html 和 https://blog.csdn.net/langresser_king/article/details/6649238
1.MSYS安装好之后,不停的cd..,只能够访问到安装硬盘的最上层。比如安装在D盘,cd..只能访问到D盘的根目录。要想访问其他盘符,如E盘,方法是: cd /e/
2.文件名 或目录名中如果带有空格,必须用双引号括起(例如"/C/Program Files")
3.注意,斜杠的方向是/而不是\
粘贴和复制
常见错误
cmake .. -G ‘Unix Makefiles‘ #error CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!
This can be fixed by
pacman -S make
then re-running CMake. The rest of the build should work fine.
原文:https://www.cnblogs.com/flyinggod/p/10841834.html