ianpatt / sfse

Starfield Script Extender
Other
338 stars 32 forks source link

CMake Error: CMAKE_CXX_COMPILER not set #12

Closed thavus closed 1 year ago

thavus commented 1 year ago

Description: When using the provided CMake command after having installed the latest version available for CMake, it errors.

Reproduction:

  1. Pull the latest SFSE code.
  2. Install CMake v3.27.4 for windows cmake-3.27.4-windows-x86_64.msi
  3. Run this command cmake -B sfse/build -S sfse
  4. You will see the below error.

    
    cmake -B sfse/build -S sfse
    CMake Error at CMakeLists.txt:7 (project):
    Running
    
    'nmake' '-?'
    
    failed with:
    
    The system cannot find the file specified

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!



Expected: No error
thavus commented 1 year ago

OH, I need to install a compiler.