MaDDoX wrote:Hey Belmakor, great news! Can you share a dependency list and/or any tricks that you had to use to make it work?
Not so great news, I'm afraid.
I had built it, but I hadn't tried to run it.
Tried to run it just now. SDL2 can't create the OpenGL 3.0 context, so the launch fails. Investigating…
Code: Select all
============== <User System> ==============
Spring 104.0
Build Environment: boost-105800, GNU libstdc++ version 20160726
Compiler Version: gcc-4.9.4
Operating System: Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Binary Word Size: 64-bit (native)
Deque Chunk Size: 384
Process Clock: std::chrono::high_resolution_clock
Physical CPU Cores: 1
Logical CPU Cores: 8
============== </User System> ==============
[good_fpu_init] CPU SSE mask: 127, flags:
SSE 1.0: 1, SSE 2.0: 1
SSE 3.0: 1, SSSE 3.0: 1
SSE 4.1: 1, SSE 4.2: 1
SSE 4.0A: 0, SSE 5.0A: 0
using streflop SSE FP-math mode, CPU supports SSE instructions
[WatchDogInstall] Installed (HangTimeout: 10sec)
[WatchDog::RegisterThread] registering controls for thread [main]
[GL::CheckAvailableVideoModes] desktop={2560x1440x32bpp@60Hz} current={2560x1440x32bpp@60Hz}
display=1 modes=12 bounds={x=0, y=0, w=2560, h=1440}
[ 1] 2560x1440x32bpp@60Hz
[ 2] 2048x1152x32bpp@60Hz
[ 4] 1600x900x32bpp@60Hz
[ 6] 1344x756x32bpp@60Hz
[ 8] 1280x720x32bpp@60Hz
[10] 1024x576x32bpp@60Hz
2017-09-27 22:46:28.599 spring[3265:1091770] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/jw/rnh_53jn3fn5frkzkly_5lc00000gn/T/com.springrts.Spring.savedState
[GR::CreateSDLWindow] using 0x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_ARGB8888")
Warning: [GR::CreateGLContext] created GL2.0 core-context
Warning: [GR::CreateGLContext] created GL2.0 compatibility-context
Warning: [GR::CreateGLContext] created GL2.1 core-context
Warning: [GR::CreateGLContext] created GL2.1 compatibility-context
Warning: [GR::CreateGLContext] created GL3.0 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL3.0 compatibility-context
Warning: [GR::CreateGLContext] created GL3.1 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL3.1 compatibility-context
Warning: [GR::CreateGLContext] created GL3.2 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL3.2 compatibility-context
Warning: [GR::CreateGLContext] created GL3.3 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL3.3 compatibility-context
Warning: [GR::CreateGLContext] created GL4.0 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.0 compatibility-context
Warning: [GR::CreateGLContext] created GL4.1 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.1 compatibility-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.2 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.2 compatibility-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.3 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.3 compatibility-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.4 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.4 compatibility-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.5 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.5 compatibility-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.6 core-context
Warning: [GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL4.6 compatibility-context
[WatchDog::DeregisterThread] deregistering controls for thread [main]
Error: [ExitSpringProcess] errorMsg="[GR::CreateGLContext] error ("Failed creating OpenGL context at version requested") creating GL3.0 compatibility-context" msgCaption="ERROR" mainThread=1