every blog every motto: You will never know unless you try
0. Preface
An error occurred when compiling OSG,
1. Text
The following error occurred:
CMake Error at CMakeLists.txt:52 (PROJECT): No CMAKE_CXX_COMPILER could be found.
Solutions:
Method 1:
There may be Chinese in the vs installation path, check and reinstall
Method 2:
Personal guess: I
can’t find the compiler in vs, click configure in cmake, and then select cl.exe in vs.
Description: The above step has not been done yet, just open the folder (as shown below), click configure to configure Ok