Compiling Spring - GL Error

Compiling Spring - GL Error

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
calvinengland
Posts: 4
Joined: 11 Oct 2009, 14:10

Compiling Spring - GL Error

Post by calvinengland »

Hi,

I've run into a problem compiling Spring, relating to GLEW. As far as I can tell the compiler seems unable to find the file glew.h, even though it should be pointing at the correct directory based on my CCMake information. I've put the full error code at the bottom of my post, but I believe the cause of the errors is this line:

Code: Select all

/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:10:21: error: GL/glew.h: No such file or directory
For reference, I'm using MacOS 10.6 and I have GLEW installed - the ccmake config file I created pointed to sw/include, and the mygl.h file points to GL/glew.h - which is the correct location.

If it helps other mac users, I have managed to reach 92% complete through the following two changes:
1. In ccmake I set the C Flags to -m32 (to force 32 rather than 64 bit, as otherwise I got errors fairly early on with 'push' and 'pop')
2. In rts/system/platform/errorhandler.cpp I commented out MacMessageBox (line 50) - based on another forum post here

Thanks for your help!
Calvin


Full error code:

Code: Select all

[ 92%] Building CXX object tools/DedicatedServer/CMakeFiles/springserver.dir/__/__/rts/System/BaseNetProtocol.cpp.o
In file included from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:9,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Units/Unit.h:11,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Units/UnitSet.h:13,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Misc/Team.h:14,
                 from /Applications/Games/spring_0.80.4.2/rts/System/BaseNetProtocol.cpp:8:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:10:21: error: GL/glew.h: No such file or directory
In file included from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:9,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Units/Unit.h:11,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Units/UnitSet.h:13,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Misc/Team.h:14,
                 from /Applications/Games/spring_0.80.4.2/rts/System/BaseNetProtocol.cpp:8:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glVertexf3(const float3&)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:19: error: ÔÇÿglVertex3fÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glColorf3(const float3&)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:24: error: ÔÇÿglColor3fÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glNormalf3(const float3&)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:29: error: ÔÇÿglNormal3fÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glTranslatef3(const float3&)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:34: error: ÔÇÿglTranslatefÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glSecondaryColorf3(const float3&)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:39: error: ÔÇÿglSecondaryColor3fÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glColorf4(const float3&, const float&)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:44: error: ÔÇÿglColor4fÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: At global scope:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:47: error: expected ÔÇÿ,ÔÇÖ or ÔÇÿ...ÔÇÖ before ÔÇÿ&ÔÇÖ token
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:47: error: ISO C++ forbids declaration of ÔÇÿGLintÔÇÖ with no type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: In function ÔÇÿvoid glUniformf3(int)ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:49: error: ÔÇÿlocationÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:49: error: ÔÇÿvÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:49: error: ÔÇÿglUniform3fÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h: At global scope:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:53: error: expected ÔÇÿ,ÔÇÖ or ÔÇÿ...ÔÇÖ before ÔÇÿtargetÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:53: error: ISO C++ forbids declaration of ÔÇÿGLenumÔÇÖ with no type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:60: error: ÔÇÿGLenumÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:60: error: expected primary-expression before ÔÇÿconstÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:60: error: initializer expression list treated as compound expression
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:65: error: variable or field ÔÇÿglSafeDeleteProgramÔÇÖ declared void
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/GL/myGL.h:65: error: ÔÇÿGLuintÔÇÖ was not declared in this scope
In file included from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Units/Unit.h:11,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Units/UnitSet.h:13,
                 from /Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Sim/Misc/Team.h:14,
                 from /Applications/Games/spring_0.80.4.2/rts/System/BaseNetProtocol.cpp:8:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:85: error: ÔÇÿGLintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:86: error: ÔÇÿGLintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:87: error: ÔÇÿGLintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:88: error: ÔÇÿGLintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:89: error: ÔÇÿGLintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:91: error: ISO C++ forbids declaration of ÔÇÿGLfloatÔÇÖ with no type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:91: error: expected ÔÇÿ;ÔÇÖ before ÔÇÿ*ÔÇÖ token
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:96: error: ÔÇÿGLintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:97: error: ÔÇÿGLenumÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:98: error: ÔÇÿGLuintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:99: error: ÔÇÿGLuintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:100: error: ISO C++ forbids declaration of ÔÇÿGLintÔÇÖ with no type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:100: error: expected ÔÇÿ;ÔÇÖ before ÔÇÿ*ÔÇÖ token
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:101: error: ISO C++ forbids declaration of ÔÇÿGLfloatÔÇÖ with no type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:101: error: expected ÔÇÿ;ÔÇÖ before ÔÇÿ*ÔÇÖ token
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h: In constructor ÔÇÿLuaUnitUniforms::LuaUnitUniforms()ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:67: error: class ÔÇÿLuaUnitUniformsÔÇÖ does not have any field named ÔÇÿspeedLocÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:68: error: class ÔÇÿLuaUnitUniformsÔÇÖ does not have any field named ÔÇÿhealthLocÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:69: error: class ÔÇÿLuaUnitUniformsÔÇÖ does not have any field named ÔÇÿunitIDLocÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:70: error: class ÔÇÿLuaUnitUniformsÔÇÖ does not have any field named ÔÇÿteamIDLocÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:71: error: class ÔÇÿLuaUnitUniformsÔÇÖ does not have any field named ÔÇÿcustomLocÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:73: error: class ÔÇÿLuaUnitUniformsÔÇÖ does not have any field named ÔÇÿcustomDataÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h: In destructor ÔÇÿLuaUnitUniforms::~LuaUnitUniforms()ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:77: error: ÔÇÿcustomDataÔÇÖ was not declared in this scope
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h: At global scope:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:129: error: ÔÇÿGLuintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:130: error: ÔÇÿGLuintÔÇÖ does not name a type
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h: In constructor ÔÇÿLuaUnitLODMaterial::LuaUnitLODMaterial()ÔÇÖ:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:113: error: class ÔÇÿLuaUnitLODMaterialÔÇÖ does not have any field named ÔÇÿpreDisplayListÔÇÖ
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Lua/LuaUnitMaterial.h:114: error: class ÔÇÿLuaUnitLODMaterialÔÇÖ does not have any field named ÔÇÿpostDisplayListÔÇÖ
In file included from /Applications/Games/spring_0.80.4.2/rts/System/BaseNetProtocol.cpp:10:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/InMapDraw.h: At global scope:
/Applications/Games/spring_0.80.4.2/tools/DedicatedServer/../../rts/Rendering/InMapDraw.h:89: error: ÔÇÿGLuintÔÇÖ does not name a type
make[2]: *** [tools/DedicatedServer/CMakeFiles/springserver.dir/__/__/rts/System/BaseNetProtocol.cpp.o] Error 1
make[1]: *** [tools/DedicatedServer/CMakeFiles/springserver.dir/all] Error 2
make: *** [all] Error 2
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Compiling Spring - GL Error

Post by Auswaschbar »

open tools/DedicatedServer/CMakeLists.txt, and insert

Code: Select all

include_directories(${GLEW_INCLUDE_DIR})
(around line 7)

Try again and post if it worked please.
calvinengland
Posts: 4
Joined: 11 Oct 2009, 14:10

Re: Compiling Spring - GL Error

Post by calvinengland »

Thanks for your reply - with that change I managed to get Spring installed. However I now seem to be getting an error on tying to load. I've put the code below, but in summary it seems to be looking for a file called ArchiveCachev7.lua in an empty directory '/Users/calvin/.spring', which then causes it to abort.

Any ideas?

Thanks,
Calvin

Code: Select all

calvin$ /Applications/Games/Spring/spring 
using default configuration source "/Users/calvin/.springrc"
[CMyMath::Init] CPU SSE mask: 126, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  0
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Mac OS X
OS: 32bit native mode
Adding /Users/calvin/.spring to directories
Adding /usr/local/lib/spring to directories
Adding /usr/local/share/games/spring to directories
LogOutput initialized.
Spring 0.80.4.1
Available log subsystems: Sound, VFS-detail, VFS, ArchiveScanner, unit, CollisionVolume, mapinfo
Enabled log subsystems: Sound, 
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Using read-write data directory: /Users/calvin/.spring/
ERROR in /Users/calvin/.spring/ArchiveCacheV7.lua: could not open file: /Users/calvin/.spring/ArchiveCacheV7.lua
Aborted (SIGABRT) in spring 0.80.4.1
Stacktrace:
0   spring                              0x00490867 _ZN12CrashHandler12HandleSignalEi + 1338
1   libSystem.B.dylib                   0x96ed8b9b _sigtramp + 43
2   ???                                 0xffffffff 0x0 + 4294967295
3   libSystem.B.dylib                   0x96f66b99 raise + 26
4   libSystem.B.dylib                   0x96f7cc50 abort + 93
5   libSystem.B.dylib                   0x96ef91cb _Unwind_Resume + 59
6   spring                              0x0046ef4f _Z3RuniPPc + 63
7   spring                              0x0046ef7c SDL_main + 24
8   spring                              0x0051621c -[SDLMain applicationDidFinishLaunching:] + 76
9   Foundation                          0x92982253 _nsnote_callback + 176
10  CoreFoundation                      0x97f1bc29 __CFXNotificationPost + 905
11  CoreFoundation                      0x97f1b65a _CFXNotificationPostNotification + 186
12  Foundation                          0x92977120 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
13  Foundation                          0x929844fd -[NSNotificationCenter postNotificationName:object:] + 56
14  AppKit                              0x9366a8f2 -[NSApplication _postDidFinishNotification] + 125
15  AppKit                              0x9366a802 -[NSApplication _sendFinishLaunchingNotification] + 74
16  AppKit                              0x937c1565 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 274
17  AppKit                              0x937c1185 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 101
18  Foundation                          0x929b746c -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
19  Foundation                          0x929b7230 _NSAppleEventManagerGenericHandler + 228
20  AE                                  0x9228ede6 _Z20aeDispatchAppleEventPK6AEDescPS_mPh + 166
21  AE                                  0x9228ece5 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 43
22  AE                                  0x9228ebf2 aeProcessAppleEvent + 197
23  HIToolbox                           0x900a4381 AEProcessAppleEvent + 50
24  AppKit                              0x9363aed2 _DPSNextEvent + 1420
25  AppKit                              0x9363a50a -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
26  AppKit                              0x935fc69b -[NSApplication run] + 821
27  spring                              0x005169b0 main + 1568
28  spring                              0x0003618d start + 53
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `addr2line --exe="" SDLMain applicationDidFinishLaunching: NSNotificationCenter postNotificationName:object:userInfo: NSNotificationCenter postNotificationName:object: NSApplication _postDidFinishNotification NSApplication _sendFinishLaunchingNotification NSApplication(NSAppleEventHandling) _handleAEOpen: NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent: NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon: NSApplication nextEventMatchingMask:untilDate:inMode:dequeue: NSApplication run >> infolog.txt'
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Compiling Spring - GL Error

Post by hoijui »

make sure that the user executing spring has sufficient rights to write to this directory, or set the main data-dir to an other path. you can do that with cmake this way:

Code: Select all

cmake -DSPRING_DATADIR=/my/data/dir
for a self compiled spring i usually set it to the install dir
calvinengland
Posts: 4
Joined: 11 Oct 2009, 14:10

Re: Compiling Spring - GL Error

Post by calvinengland »

Thanks - I'm getting there...! Really impressed with the speed at which I've got responses to my last queries - it's appreciated.

I changed the springdata line in the .springrc file to point to subdirectories of the folder with spring in (I thought I'd done that through ccmake at the start, but I guess not). It now gets past the previous check and it seems an archivecachev7.lua file has actually been created in the directory I changed springdata to point to.

One more (hopefully final) error has now cropped up. A black window opens up when I run spring, but it then quickly crashes out. I get a 'bus error' message?

Thanks for any help you can give.
Calvin

Code: Select all

Video mode set to  1024 x 768 / 32 bit
SpringApp::InitWindow(): 3141340982 ms
Bus error
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Compiling Spring - GL Error

Post by zerver »

Bus error means misaligned data. Nearly impossible to know what is causing it. I suggest you run spring in the debugger (gdb) and then type "bt" when it crashes. This will produce a stack trace.
calvinengland
Posts: 4
Joined: 11 Oct 2009, 14:10

Re: Compiling Spring - GL Error

Post by calvinengland »

Here's the output:

Thanks,
Calvin

Code: Select all

Video mode set to  1024 x 768 / 32 bit
SpringApp::InitWindow(): 3124833642 ms

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x019eb8be in glxewContextInit ()
#2  0x019f143b in glewInit ()
#3  0x002b4ec3 in LoadExtensions () at /Applications/Games/spring_0.80.4.2/rts/Rendering/GL/myGL.cpp:67
#4  0x0047dd74 in SpringApp::Initialize (this=0xbfffe6d0) at /Applications/Games/spring_0.80.4.2/rts/System/SpringApp.cpp:179
#5  0x0047e125 in SpringApp::Run (this=0xbfffe6d0, argc=1, argv=0x230ca00) at /Applications/Games/spring_0.80.4.2/rts/System/SpringApp.cpp:925
#6  0x0046ef38 in Run (argc=1, argv=0x230ca00) at /Applications/Games/spring_0.80.4.2/rts/System/Main.cpp:111
#7  0x0046ef7c in SDL_main (argc=1, argv=0x230ca00) at /Applications/Games/spring_0.80.4.2/rts/System/Main.cpp:127
#8  0x0051621c in -[SDLMain applicationDidFinishLaunching:] (self=0x205a120, _cmd=0x932ae078, note=0x2338f90) at SDLMain.m:301
#9  0x92982253 in _nsnote_callback ()
#10 0x97f1bc29 in __CFXNotificationPost ()
#11 0x97f1b65a in _CFXNotificationPostNotification ()
#12 0x92977120 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#13 0x929844fd in -[NSNotificationCenter postNotificationName:object:] ()
#14 0x9366a8f2 in -[NSApplication _postDidFinishNotification] ()
#15 0x9366a802 in -[NSApplication _sendFinishLaunchingNotification] ()
#16 0x937c1565 in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
#17 0x937c1185 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#18 0x929b746c in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#19 0x929b7230 in _NSAppleEventManagerGenericHandler ()
#20 0x9228ede6 in aeDispatchAppleEvent ()
#21 0x9228ece5 in dispatchEventAndSendReply ()
#22 0x9228ebf2 in aeProcessAppleEvent ()
#23 0x900a4381 in AEProcessAppleEvent ()
#24 0x9363aed2 in _DPSNextEvent ()
#25 0x9363a50a in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#26 0x935fc69b in -[NSApplication run] ()
#27 0x005169b0 in CustomApplicationMain [inlined] () at :228
#28 0x005169b0 in main (argc=1, argv=0xbffff454) at SDLMain.m:379
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Compiling Spring - GL Error

Post by imbaczek »

looks like something may be wrong in your opengl drivers or library... or spring is doing something it doesn't do on other OSes.
Post Reply

Return to “Engine”