Winlibs raylib.dll.rc.data linker error #2560
Replies: 2 comments 5 replies
-
You are recompiling raylib using a 64bit compiler, so, you should recompile |
Beta Was this translation helpful? Give feedback.
-
Hi raysan5 I gave up on raylib_installer_v4.0.mingw.exe. Folder structure:
Batch launch the Makefile: Everything compiles as expected. .\src\extras\raylib.h is found and converted to raygui.c and copied to .\src\raylib.c So all I can think of at the moment is some issue with raylib_installer_v4.0.mingw.exe, w64devkit and windows10 not playing nice with paths I haven't yet tested this under the later Winlibs versions with DW2 or SEH yet. I just posted this up in case anyone else reads the thread and can see what I did to solve the issue, with your guidance. |
Beta Was this translation helpful? Give feedback.
-
Hi
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?
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 i386:x86-64 output
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [Makefile:489: raylib] Error 1`
Axle
Beta Was this translation helpful? Give feedback.
All reactions