mesonmesonmesonmesonmesonmesonhahahhaha

  • Pwnz0r
    5th March Member 0 Permalink

    Build type: native build
    Project name: the-powder-toy
    Project version: the.cake.is.a.lie
    C compiler for the host machine: cc (gcc 13.2.0 "cc (Rev3, Built by MSYS2 project) 13.2.0")
    C linker for the host machine: cc ld.bfd 2.41
    C++ compiler for the host machine: c++ (gcc 13.2.0 "c++ (Rev3, Built by MSYS2 project) 13.2.0")
    C++ linker for the host machine: c++ ld.bfd 2.41
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Program inkscape skipped: feature render_icons_with_inkscape disabled

    meson.build:115:22: ERROR: Include dir /usr/include does not exist.

     

    wasn't this for windows??

    pls help

  • LBPHacker
    5th March Developer 0 Permalink
    Quoting the guide:

    • if you get something along the lines of meson.build:110:2: ERROR: Include dir /usr/include does not exist, or if Meson otherwise complains about bzip2, see Elusive bzip2
    Edited once by LBPHacker. Last: 5th March
  • Pwnz0r
    5th March Member 0 Permalink

    why is it searching for a linux/macOS dir when i am on windows?

  • LBPHacker
    5th March Developer 1 Permalink
    Because you're using msys. That is what msys is for. If you aren't familiar with msys/mingw, you should follow the msvc guide. If you're following the msvc guide but meson picks up gcc instead of cl as the compiler, remove the msys toolchain from your PATH or define the environment variables CC=cl.exe and CXX=cl.exe.
  • Pwnz0r
    5th March Member 0 Permalink

    The Meson build system
    Version: 1.3.2
    Source dir: C:\Users\\OneDrive\Desktop\Powder Toy\mod1\thing\The-Powder-Toy
    Build dir: C:\Users\\OneDrive\Desktop\Powder Toy\mod1\thing\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): [['cl.exe']]
    The following exception(s) were encountered:
    Running `cl.exe /?` gave "[WinError 2] The specified file could not be found"

    Edited once by Pwnz0r. Last: 5th March
  • jacob1
    6th March Developer 1 Permalink
    You don't have msvc installed.

    Follow the wiki guide to install it:
    https://powdertoy.co.uk/Wiki/W/Building_TPT_with_Meson.html#Compiling_for_Windows

    If you want to continue using your original compiler, follow this section as outlined in the guide:
    https://powdertoy.co.uk/Wiki/W/Building_TPT_with_Meson.html#Elusive_bzip2

    Either compiler works, the choice is up to you. I recommend msvc for new developers.
  • Pwnz0r
    6th March Member 0 Permalink

    thx

    it turns out i just needed to use the visual studio cmd prompt