cjam
Member
- Joined
- Jul 19, 2021
- Messages
- 60
Trying today's git master and target=beagle (cortex-a9) fails to build.Here is Reicast, an opensource Sega Dreamcast emulator
I used an source (0.8.1) for this build. I don't know if later sources are still as fast as this one. I'll try to update the source a bit later.
Code:
/big/src/emu/reicast-emulator/reicast/linux/../../libswirl/sdl/sdl.cpp:251: undefined reference to `sdlgl_CreateWindow(bool, int, int, int, void**, void**)'
Experiments with (sdl/x11, egl/glx) didn't get me a binary. It wants to link -lGL regardless of what I do, and I'm trying to avoid building stuff with gl4es if opengl-es2 can be used instead.
The generic armhf builds for me on omap4, but crashes at initialization.
Reicast underwent significant 'refactoring' june 2019, and the "non-core targets" seem to be mostly untested and problematic. [EDIT] Which release/commit looks best before that date?
My most recent build target attempt follows:
Code:
else ifneq (,$(findstring omap4,$(platform)))
MFLAGS += -marm -mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=neon-vfpv4 -mfloat-abi=hard
ASFLAGS += -marm -mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=neon-vfpv4 -mfloat-abi=hard
CFLAGS += -D TARGET_LINUX_ARMELv7 -DARM_HARDFP -funsafe-math-optimizations
CC = gcc -std=gnu99
CXX = g++ -std=gnu++14
# ifneq (,$(findstring sdl,$(platform)))
# CFLAGS += -D GL_GLEXT_PROTOTYPES
# USE_SDL := 1
# USE_GLES := 1
# else
USE_X11 := 1
USE_GLES := 1
SUPPORT_EGL := 1
[EDIT] got sdl-egl window setup. But only greenscreen, no menu so far ;-;
Created SDL Window (640x480) and GL Context successfully
fault_handler: Blocking before restoring default SIGSEGV handler
fault_handler: Blocking before restoring default SIGSEGV handler
fault_handler: Blocking before restoring default SIGSEGV handler
Last edited: