CMake Error: your C compiler: "/home/user/revision OLD/host/linux/x86/usr/bin/qcc" was not found.
Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "/home/user/revision OLD/host/linux/x86/usr/bin/qcc" was not found.
Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
我将我的修订版更改为新版本,即使它指的是修订版 OLD 路径。我读过他们建议的wiki FAQ
$ cmake -G "Your Generator" -D CMAKE_C_COMPILER=gcc-4.2 -D CMAKE_CXX_COMPILER=g++-4.2 path/to/your/source
但这是正确的方法吗?因为我听说有一些缺点,比如重置其他 FLAGS ?
我根本不知道cmake。