TSnake41/raylib-lua

Building on Windows

EzzypooOfNazareth opened this issue · 3 comments

I noticed there was no info on building for windows in the readme, it just says to download the prebuilt executables. Wanted to try the 5.0 branch, which isn't prebuilt yet, so I tried finding a reliable way to build it on Windows and I think that MSYS2 with the mingw64 environment active appears to be very reliable. I tested with the 4.5a source and the updated 5.0 source code on two different Windows machines and the builds worked as expected. Possibly worth a quick update to the readme?

Machines Testing (using both raylua_s.exe and raylua_e.exe):

Machine 1:
OS: Windows 11 Home 23H2
CPU: 11th Gen Intel Core i7-11800H @ 2.30GHz 2.30 GHz
GPU: RTX 3060

Machine 2:
OS: Windows 10 Home 22H2
CPU: AMD Ryzen 7-5700U @ 4.3GHz
GPU: Integrated AMD Radeon

Hi @EzzypooOfNazareth I tried building the 5.0rc1 branch in Msys2 Mingw64, however it says make[1]: *** No rule to make target 'amalg'. Stop.. Do you know what could be the problem? Thanks.

I have same problem in lunix by the way

Hi @EzzypooOfNazareth I tried building the 5.0rc1 branch in Msys2 Mingw64, however it says make[1]: *** No rule to make target 'amalg'. Stop.. Do you know what could be the problem? Thanks.

I have same problem in lunix by the way

You need to make sure that git submodules are properly pulled.