meson build debug error

  • XnoobSpeakable
    1st Aug 2021 Member 0 Permalink

    when i run meson build-debug it throws this error message: 

    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've tried so hard to fix it, help?

    Edit: I am on Windows 10 (64bit)

    Edited once by XnoobSpeakable. Last: 1st Aug 2021
  • LBPHacker
    1st Aug 2021 Developer 0 Permalink
    You're not running the command from the VS prompt, as the guide tells you to.
  • XnoobSpeakable
    2nd Aug 2021 Member 0 Permalink

    LBPHacker:

    You're not running the command from the VS prompt, as the guide tells you to.

     But I'm pretty sure i am? Unless I'm just extremely dumb and doing something wrong which is probably the case.

    Am i using the wrong prompt? I go open the folder I'm doing stuff in then i go tools and i go to developer command prompt. Is that not the right thing?

  • XnoobSpeakable
    3rd Aug 2021 Member 0 Permalink

    @LBPHacker (View Post)

     wait i meant to reply not quote

  • jacob1
    4th Aug 2021 Developer 0 Permalink
    If you are running this from "x64 Native Tools Command Prompt for VS", it will work. Make sure you are using the right one.
  • Enatsu
    2nd Feb 2023 Member 0 Permalink

    Hello, i have the same problem and i am using "Developper Command prompt for VS 2022".

    (I am on windows 11)

  • LBPHacker
    2nd Feb 2023 Developer 0 Permalink
    Please restrict your comments regarding this problem to the thread you have created.
Locked by LBPHacker: necro