The following problems occurred when using cmake – G “MinGW makefiles”
CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: MinGW Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
The reason is that it has been generated before, and other problems have not been deleted before regeneration
Solution:
1. Delete the previously generated files inside the build file
2. Create a new folder, cd to the new folder and re-cmake
Read More:
- How to Solve Msys2/mingw64 Run cmake GUI Error
- Clion new method shows undefined reference to solution
- [Solved] CMake Error: The current CMakeCache.txt directory is different than xxx
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019 -A Win64
- NFS startup error: restart failed [How to Solve]
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019
- [Solved] QT cmak Compile Error: CMake Error: The source.. does not match the soused
- [Solved] Qt Error: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
- OS.Removedirs() and shutil.Rmtree() are used to delete the folder
- [Solved] SHELL Run Error: “-BASH: ./TEST.SH: /BIN/BASH^M: BAD INTERPRETER: NO SUCH FILE OR DIRECTORY”
- Arduino cache multiple definition error [How to Solve]
- Mybatis error under Springboot project: Invalid bound statement (not found)
- [PX4 Bug] make px4_sitl gazebo Error: CMake Error: The following variables are used in this project
- [Solved] error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows,
- Grpc Compilation issues: “C++ versions less than C++11 are not supported.
- [Solved] ORB_SLAM3 Compile Error: opencv4.0 not found four
- [Solved] ninja: error: build.ninja:1802: multiple rules generate Debug/xxx.exe [-w dupbuild=err]
- [Solved] cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKSs
- How to Solve Ceres library Error when compiling A-LOAM
- [Go] Solve the problem of exec: “gcc” executable file not found in %PATH% error when using cgo