I've been having a lot of trouble running Horde on my system ever since the 0.1.15. With 1.0 betas, it's gotten worse. I've tried (unsuccessfully) figuring it out.. When I try to run any of the samples (as of svn r34), they crash at startup:
Code:
(gdb) bt
#0 0x93af755e in glgConvertTo_32<GLGConverter_RGB8_ARGB8, (GLGMemory)2> ()
#1 0x93af4eb3 in glgProcessPixelsWithProcessor ()
#2 0x13fa582a in gldAllocVertexBuffer ()
#3 0x13fa65ce in gldGetTextureLevel ()
#4 0x0073bd14 in gleGenMipmaps ()
#5 0x006147c1 in glTexImage2D_Exec ()
#6 0x943b09cb in glTexImage2D ()
#7 0x001e282b in RendererBase::uploadTextureCube (this=0x87a800, pixels=0xbffff45c, width=4, height=4, comps=24, hdr=false, cubeFace=5, allowCompression=false, mipmaps=true, filtering=true, texId=4) at Horde3D/Source/Horde3DEngine/egRendererBase.cpp:268
#8 0x001f8502 in TextureCubeResource::initializationFunc () at Horde3D/Source/Horde3DEngine/egTextures.cpp:333
#9 0x001e4b4a in ResourceManager::registerType (this=0x481970, type=8, typeString=@0xbffff550, inf=0x1f8358 <TextureCubeResource::initializationFunc()>, rf=0x1f8514 <TextureCubeResource::releaseFunc()>, ff=0x1abb22 <TextureCubeResource::factoryFunc(std::string const&, int)>) at Horde3D/Source/Horde3DEngine/egResource.cpp:168
#10 0x001a9dc5 in init () at Horde3D/Source/Horde3DEngine/egMain.cpp:104
#11 0x000035c1 in Application::init (this=0x873600) at Horde3D/Samples/Chicago/app.cpp:47
#12 0x00005ad3 in main (argc=1, argv=0xbffff6f8) at Horde3D/Samples/Chicago/main.cpp:163
From what I could gather from debugging, all the pointers seem valid and everything should work but... Obviously something is wrong. When commenting out the TextureCube resource type registration, like so:
Code:
/* Modules::resMan().registerType( ResourceTypes::TextureCube, "TextureCube", TextureCubeResource::initializationFunc,
TextureCubeResource::releaseFunc, TextureCubeResource::factoryFunc ); */
The samples run but the cubemapping doesn't work. Terrain sample works fine without cubemapping, though. This is on top of the previous issues I've already been having..