I am attempting to compile raylib with FB current version "winlibs-mingw-w64-x86_64-9.3.0-7.0.0-r3-sjlj" and getting a linker error for the rc.data file. Wondering if anyone has encountered this or know how to correct it.
I have tried adding the CFLAG and LDFLAG -m64 but I still get the error. Any thoughts?
Code: Select all
C:\Dev-FreeBASIC\Winlibs\winlibs-mingw-w64-x86_64-9.3.0-7.0.0-r3-sjlj\raylib\src>mingw32-make V=1 -f Makefile PLATFORM=P
LATFORM_DESKTOP RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_LIBTYPE=SHARED GRAPHICS=GRAPHICS_API_OPENGL_33
gcc -shared -o ../src/raylib.dll rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o raygui.o ./ray
lib.dll.rc.data -static-libgcc -lopengl32 -lgdi32 -lwinmm -Wl,--out-implib,../src/libraylibdll.a
c:/dev-freebasic/winlibs/winlibs-mingw-w64-x86_64-9.3.0-7.0.0-r3-sjlj/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/..
/../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `./raylib.dll.rc.data' is incompatible with i38
6:x86-64 output
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [Makefile:489: raylib] Error 1