hello,
i tried to run the examples on linux. with example 1 (hello world) i still can not see textures (the lady is just a white hole) when running opengl with a voodoo3 card (meaning i run in 16bit color depth). any ideas? when running on an other machine with no hardware accel and 24bit color depth, i see the textured lady...
example 2 just segfaults (it doesn't with 0.4.1), the stack trace is:
#0 0x080b2ccf in inflate_codes ()
#1 0x080b1ba3 in inflate_blocks ()
#2 0x080b0d36 in inflate ()
#3 0x08075240 in irr::io::CZipReader::openFile(int) ()
#4 0x08074fad in irr::io::CZipReader::openFile(char const*) ()
#5 0x0805e00f in irr::io::CFileSystem::createAndOpenFile(char const*) ()
#6 0x0806dc65 in irr::scene::CSceneManager::getMesh(char const*) ()
#7 0x0804a5e0 in main () at main.cpp:118
example 3 works fine, i have a colord pyramid rotating
example 4 segfaults
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 1482)]
0x0804af31 in MyEventReceiver::OnEvent(irr::SEvent) (this=0xbffff5e4, event=
{EventType = EET_LOG_TEXT_EVENT, {GUIEvent = {Caller = 0x80dcce8, EventType = EGET_ELEMENT_LEFT}, MouseInput = {X = 135122152, Y = 3, Event = 134540631}, KeyInput = {Key = 135122152, PressedDown = 3}, LogEvent = {Text = 0x80dcce8 "Irrlicht Engine version 0.4.2", Level = ELL_NONE}}}) at main.cpp:67
67 if (device->getSceneManager()->getActiveCamera())
(gdb) bt
#0 0x0804af31 in MyEventReceiver::OnEvent(irr::SEvent) (this=0xbffff5e4, event=
{EventType = EET_LOG_TEXT_EVENT, {GUIEvent = {Caller = 0x80dcce8, EventType = EGET_ELEMENT_LEFT}, MouseInput = {X = 135122152, Y = 3, Event = 134540631}, KeyInput = {Key = 135122152, PressedDown = 3}, LogEvent = {Text = 0x80dcce8 "Irrlicht Engine version 0.4.2", Level = ELL_NONE}}}) at main.cpp:67
#1 0x0805d5fe in irr::CLogger::log(char const*, irr::ELOG_LEVEL) ()
#2 0x0805d77a in irr::CLogger::log(wchar_t const*, irr::ELOG_LEVEL) ()
#3 0x08056d25 in irr::os::Printer::log(wchar_t const*, irr::ELOG_LEVEL) ()
#4 0x08056ef1 in irr::CIrrDeviceStub::CIrrDeviceStub(wchar_t const*, irr::IEventReceiver*) ()
#5 0x0804b160 in irr::CIrrDeviceLinux::CIrrDeviceLinux(irr::video::EDriverType, irr::core::dimension2d<int> const&, unsigned, bool, bool, irr::IEventReceiver*, wchar_t const*) ()
#6 0x0804e8b3 in irr::createDevice(irr::video::EDriverType, irr::core::dimension2d<int> const&, unsigned, bool, bool, irr::IEventReceiver*, wchar_t const*) ()
#7 0x0804a5f6 in main () at main.cpp:85
example 5 does not compile anymore because:
main.cpp: In member function `virtual bool
MyEventReceiver::OnEvent(irr::SEvent)':
main.cpp:101: error: no matching function for call to `
irr::gui::IGUIEnvironment::addWindow(irr::core::rect<s32>, int, int, const
wchar_t[12])'
../../include/IGUIEnvironment.h:104: error: candidates are: virtual
irr::gui::IGUIWindow* irr::gui::IGUIEnvironment::addWindow(const
irr::core::rect<s32>&, bool, const wchar_t*, irr::gui::IGUIElement*, int)
example 6
again only white, no textures with voodoo 3...
the two examples where i get only white are strange. does anybody know if this is a 16 bit X problem, a voodoo specific problem or something else?
please tell me if you need more informations or want me to test something to track the problem down.