compiling

  • cosmnik
    12th Jun 2021 Member 0 Permalink

    i was trying to compile so i was following this guide here The Powder Toy - Wiki Building TPT with Meson

    then i got an error message here are the logs:

     

     

    Build started at 2021-06-12T21:13:57.585494
    Main binary: c:\program files\python39\python.exe
    Build Options:
    Python system: Windows
    The Meson build system
    Version: 0.58.1

     


    Source dir: C:\Users\VIVI\Desktop\TPTSC\The-Powder-Toy
    Build dir: C:\Users\VIVI\Desktop\TPTSC\The-Powder-Toy\build-debug
    Build type: native build
    Project name: the-powder-toy
    Project version: the.cake.is.a.lie

     

    meson.build:1:0: ERROR: Unknown compiler(s): ['icl', 'cl', 'cc', 'gcc', 'clang', 'clang-cl', 'pgcc']
    The following exception(s) were encountered:
    Running "icl " gave "[WinError 2] The system cannot find the file specified"
    Running "cl /?" gave "[WinError 2] The system cannot find the file specified"
    Running "cc --version" gave "[WinError 2] The system cannot find the file specified"
    Running "gcc --version" gave "[WinError 2] The system cannot find the file specified"
    Running "clang --version" gave "[WinError 2] The system cannot find the file specified"
    Running "clang-cl /?" gave "[WinError 2] The system cannot find the file specified"
    Running "pgcc --version" gave "[WinError 2] The system cannot find the file specified"

     

    i also tried to the second one using the visual studio IDE and it gives me the same message

  • jacob1
    12th Jun 2021 Developer 0 Permalink
    Is visual studio installed? It can't find the visual studio compiler for whatever reason.

    If you're sure it's installed, make sure you are running meson from "x64 Native Tools Command Prompt for VS", and NOT cmd.exe or powershell.