There are two targets abi for windows the -windows-gnu
(mingw runtime) and the -windows-msvc
(Microsoft visual c runtime).
It seems that raylib
is linked with one abi and you are building using the other one.
Try building with zig build -Dtarget=native-windows-gnu
or zig build -Dtarget=native-windows-msvc
.
1 Like