meson setup build-debug error

  • DanielMo09
    29th Nov 2023 Member 0 Permalink

    Hello,

    I wanted to try modding the game, as I really wanna add my own elements. When I try to build, it gives me a error:

     

    Problem encountered: no prebuilt x86-windows-mingw-dynamic libraries are currently provided

     

    Thank you in advance for any help

    Edited 3 times by DanielMo09. Last: 29th Nov 2023
  • LBPHacker
    29th Nov 2023 Developer 1 Permalink
    You'll have to get your compiler to target 64-bit hosts. We don't support targetting 32-bit hosts with mingw. If targetting 32-bit hosts is a concern, you'll have to use msvc.
  • DanielMo09
    30th Nov 2023 Member 0 Permalink

    @LBPHacker (View Post)

     Okay, how do I target 64 bit then? I am still new to MinGW, how could I use MinGW for that tho? I don't know anything about msvc, and don't really wanna use it.

  • LBPHacker
    30th Nov 2023 Developer 0 Permalink
    You get the x86_64 toolchain instead of the i686 one.
    Edited once by LBPHacker. Last: 30th Nov 2023
  • DanielMo09
    26th Dec 2023 Member 0 Permalink

    @LBPHacker (View Post)

     I have tried over and over again but there are a few things missing it says:
    libisl-23.dll

    libmpc-3.dll

    libmpfr-6.dll

  • LBPHacker
    27th Dec 2023 Developer 0 Permalink
    Meson is probably picking up a toolchain that you forgot you have installed. You can see which one it picks up during the setup phase. Try running it from the command line and figuring out where it is, then try removing it from your PATH.

    If you don't feel like dealing with this, try msvc instead. Like the guide says, we don't have the resources to provide support for mingw toolchains other than the one linked in the guide.
  • DanielMo09
    30th Dec 2023 Member 0 Permalink

    @LBPHacker (View Post)

     I looked into the log and checked what it said, it sends a error "Unable to detect GNU compiler type", I'm also going to look through all path folders to check where the dlls are needed.

    Edit: I found the correct version of mingw finally, should work with it
    Edit 2: I have now tried to run it again, it came further, but what should you say to... this... like bruh

     

    meson.build:61: WARNING: host platform is not linux but we will pretend that it is

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

    Edited 3 times by DanielMo09. Last: 30th Dec 2023