Replies: 2 comments 9 replies
-
Update: I managed to make the whole thing compile with meson under a MSYS2 environment. So far so good. But here comes the next kicker. Disservin thought I made a mistake. No I didnt, meson build was successful. I wrap my head around this shenanigan but can't solve it. Maybe someone of you? Regards |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. The problems could be resolved. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I am not a Linux guy nor doing stuff with mingw, I solely use MS Visual Studio. So here is my problem.
I have a running Python system on my machine, MS VS 2022 and I have installed meson with the pip3 command. Too bad there is no msi file for Windows as promised.
In short: Although I following the instructions to compile the lib with meson under a vs environment, it doesn't work. I can see the compiler starting, but then chaos starts. Output tells me, it cannot find standard includes and it doesn't understand the compiler flags (e.g. tries to compile with C++14)
Here are the steps to reproduce:
Install python3 latest with installer -> working
get meson with pip3 command - work, it installed
For convenience I copied the meson.exe from that cryptic folder in AppData to the chess-lib-master folder
I ran the following commands in a terminal under Visual Studio
meson.exe setup build --backend=vs
meson.exe compile -C build
meson.exe test -C build
setup seems ok, no red flags. compiling completely fails. Seems the options are wrong or simply not passed to the compiler command, idk.
If anyone here has a solution for me, I'd be a happy man.
Best regards
Achim
Beta Was this translation helpful? Give feedback.
All reactions