Register
raylib»Forums»Examples build errors on Windows with MinGW
BlitzCoder
4 posts
Examples build errors on Windows with MinGW
2 months ago Edited by BlitzCoder on Oct. 9, 2019, 6:48 a.m.
I'm using MinGW 5.1 to build raylib, it went out smoothly with some warnings but building the examples throws this error:

1
2
3
4
5
6
C:\raylib\examples>mingw32-make PLATFORM=PLATFORM_DESKTOP
gcc -o core/core_basic_window core/core_basic_window.c -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces ../src/rayli
b.rc.data -Wl,--subsystem,windows -I. -I../src -I../src/external -L. -L../src -L../src -lraylib -lopengl32 -lgdi32 -lwin
mm -static -lpthread -DPLATFORM_DESKTOP
C:/MingW/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: 
i386 architecture of input file `../src/raylib.rc.data' is incompatible with i386:x86-64 output
Ray
57 posts / 1 project

I love videogames development.

Examples build errors on Windows with MinGW
1 month, 4 weeks ago Edited by Ray on Oct. 11, 2019, 4:21 p.m.
Hello BlitzCoder,

raylib.rc.data is just the resource file for icon and binary properties, you can remove that file from compilation line.

:)
BlitzCoder
4 posts
Examples build errors on Windows with MinGW
1 month, 3 weeks ago
raysan5
Hello BlitzCoder,

raylib.rc.data is just the resource file for icon and binary properties, you can remove that file from compilation line.

:)


Hello Ray, I actually removed it and also stops with raylib.rc.data not found error