[SOLVED] why the demo always crash on linux

hotgloupi

15-06-2007 12:24:20

I hope lots of people will love me !
in PagingLandScape2FrameListener.h :
find the line where is
mWindow->getCustomAttribute("WINDOWGLX", &windowHnd);
and replace by
mWindow->getCustomAttribute("WINDOW", &windowHnd);

Or you remove the #ifdef section and just let
mWindow->getCustomAttribute("WINDOW", &windowHnd);
for both linux platform and windows platform.

plz post if it doesn't work for you or if ti needs some other changes
:D
kiss me ;)

blinkeye

19-06-2007 14:25:27

:kiss: :wink:

hotgloupi, thanks for your effort. This patch indeed fixes the X Window error I got!
I'm now able to open the demo screen without loading a map. I posted here the 3 different errors I get depending on the map I'm trying to load. So, I'm not yet able to open a demo :oops:.
Since CVS got recently updated with my patches for a clean GNU/Linux build I wonder which version you have? Would you mind updating to the the recent CVS build, applying your patch and telling me if you don't get the same errors? I get them on 2 different boxes (x86 and x86_64).