Build openlara for recalbox


#1

Hello everyone I would like to build the openlara-libretro.so core under buildroot for a x86_64 pc architecture however the build this stop with this error:

/share/host/bin/x86_64-buildroot-linux-gnu-g++  -shared -static-libgcc -static-libstdc++ -Wl,--version-script=link.T -lwinmm -Wl,--no-undefined  -o openlara_libretro.dll ./libretro-common/glsym/rglgen.o ./../../libs/stb_vorbis/stb_vorbis.o ./../../libs/tinf/tinflate.o ./libretro-common/compat/compat_strl.o ./libretro-common/compat/compat_strcasestr.o ./libretro-common/file/file_path.o ./libretro-common/encodings/encoding_utf.o ./libretro-common/glsym/glsym_gl.o ./main.o ./../../libs/minimp3/minimp3.o -lopengl32 -lm 
/share/host/lib/gcc/x86_64-buildroot-linux-gnu/7.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: cannot find -lwinmm
/share/host/lib/gcc/x86_64-buildroot-linux-gnu/7.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: cannot find -lopengl32
collect2: error: ld returned 1 exit status
Makefile:210: recipe for target 'openlara_libretro.dll' failed
make[2]: *** [openlara_libretro.dll] Error 1
make[2]: Leaving directory '/home/strodown/recalbox-x86_64/output/build/libretro-openlara-2086fd8d3182abcfb8a13836ef440a310f54e36c/src/platform/libretro'
package/pkg-generic.mk:223: recipe for target '/home/strodown/recalbox-x86_64/output/build/libretro-openlara-2086fd8d3182abcfb8a13836ef440a310f54e36c/.stamp_built' failed
make[1]: *** [/home/strodown/recalbox-x86_64/output/build/libretro-openlara-2086fd8d3182abcfb8a13836ef440a310f54e36c/.stamp_built] Error 2
make[1]: Leaving directory '/home/strodown/recalbox-x86_64/buildroot'
Makefile:17: recipe for target 'libretro-openlara' failed
make: *** [libretro-openlara] Error 2

I attach a pastebin link to the log of my build:

I want to integrate this core to my recalbox system. thanks for help !!!


#2

We have x86_64 linux builds available on our buildbot, if you want to just use those. buildbot.libretro.com


#3

not work i need build with option my log retroarch with builbot core

[INFO] Environ SET_HW_RENDER.
[ERROR] Requesting OpenGL context, but RetroArch is compiled against OpenGLES. Cannot use HW context.
HW Context could not be initialized, exiting...