EmptyEpsilon icon indicating copy to clipboard operation
EmptyEpsilon copied to clipboard

macOS Assertion failure at initOpenGL

Open pixelclef opened this issue 2 years ago • 2 comments

Building EmptyEpsilon on macOS still results in an assertion failure when the app is run.

Assertion failure at initOpenGL (~/Desktop/ee/SeriousProton/src/graphics/opengl.cpp:165), triggered 1 time: 'glad_glGetError() == 0'

image

macOS 12.4 AMD Radeon Pro 5700 XT 16 GB cmake version 3.23.2 sdl2 version 2.0.22

pixelclef avatar Jul 16 '22 13:07 pixelclef

None of the options in the Assertion Failed dialog result in success. At best, I get a completely blank window.

pixelclef avatar Jul 16 '22 13:07 pixelclef

At the end of the make sequence there's a warning in the output. Related?

ld: warning: dylib (/usr/local/Cellar/sdl2/2.0.22/lib/libSDL2.dylib) was built for newer macOS version (12.0) than being linked (10.15)

pixelclef avatar Jul 16 '22 14:07 pixelclef

exporting SP_GL_PROFILE as COMPAT should be sufficient, it fails on the core profile that is created by default. This should be fixed in the source but that'll do in the meantime

coderobe avatar Oct 15 '22 15:10 coderobe

Should I put export SP_GL_PROFILE=COMPAT before the build process, or when I run the app?

pixelclef avatar Nov 02 '22 16:11 pixelclef

Building 2022.10.28 (20221029) resolved this issue.

pixelclef avatar Nov 02 '22 17:11 pixelclef