Crystal Space
Welcome, Guest. Please login or register.
August 22, 2014, 09:17:57 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2044 Topics by 8333 Members
Latest Member: Brantleywhite
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Support / iEngine::Prepare() - segmentation fault on: March 21, 2005, 05:59:26 pm
Done - it says:
Quote
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210512992 (LWP 9062)]
0xb5d7948e in csThing::CastShadows () from /usr/lib/crystalspace/thing.so


Hmm, casting shadows...can't really see what the problem could be.
2  Crystal Space Development / Support / iEngine::Prepare() - segmentation fault on: March 20, 2005, 02:05:17 pm
I'm attempting my first CS app, kind of following the tutorial on the main site. It works fine up until the point when I call iEngine::Prepare(). It goes like this:

Code:
csRef<iLight> light;
iLightList* ll = room->GetLights();

light = engine->CreateLight("light1", csVector3(-3, 5, 0), 10, csColor(1, 0, 0));
ll->Add(light);

std::cout << "Preparing engine...";
engine->Prepare();


'engine' is a csRef<iEngine>, grabbed out of the iObject registry.

I used the following plugin requests: CS_REQUEST_VFS, CS_REQUEST_OPENGL3D, CS_REQUEST_ENGINE, CS_REQUEST_IMAGELOADER, CS_REQUEST_LEVELLOADER, CS_REQUEST_END

This is the output I get:
Quote
Lightmaps are not up to date (no 'lm_precalc_info' found in cache).
Recalculation of lightmaps forced.
Initializing lighting (1 meshes).
Shining lights (1 lights).
Segmentation fault


I'm using Ubuntu Linux 5.04 (Hoary), with Crystal Space 0.98.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.237 seconds with 17 queries.