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:
iLightList* ll = room->GetLights();
light = engine->CreateLight("light1", csVector3(-3, 5, 0), 10, csColor(1, 0, 0));
std::cout << "Preparing engine...";
'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:
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).
I'm using Ubuntu Linux 5.04 (Hoary), with Crystal Space 0.98.