Hi all,

I was trying to compile eqOgre (from Equalizer 0.5 "contrib" directory) with
Equalizer (lastest 0.6 svn) and Ogre 3D (1.6 svn) on openSUSE 11.0. I made a
few changes following Pierre and Stefan's suggestions and was able to
compile the program. One additional change I made is to replace the original
lines 
    const unsigned         parentWnd    =

        windowSystem == eq::WINDOW_SYSTEM_WGL ?
(unsigned)getWGLWindowHandle() :

        windowSystem == eq::WINDOW_SYSTEM_AGL ? (unsigned)getCarbonWindow()
:

        windowSystem == eq::WINDOW_SYSTEM_GLX ? (unsigned)getXDrawable() :
0;
to
    eq::GLXWindowIF *pOSWindowIF = (eq::GLXWindowIF*)this->getOSWindow();
    const unsigned        parentWnd    =
(unsigned)pOSWindowIF->getXDrawable();

I tried to run the program and it could initialize the OpenGL rendering
system and create the render window (a blank rendering window showed up very
briefly). Then the program crashed with the following error message:

4013 1085139280 ./server/window.cpp:349 Window initialisation failed: 
4013 1085139280 ./server/pipe.cpp:258 Pipe initialisation failed:  window :
''
4013 1085139280 ./server/node.cpp:235 Node initialization failed: pipe : '
window : '''
4013 1085139280 ./server/config.cpp:701 Init of node 0x695ec0 failed.
4013 140408487151504 eqOgre.cpp:70 Config initialization failed:  pipe : '
window : '''
4013 1085139280 ./server/server.cpp:276 Release of running configuration
4013 1085139280 ./lib/net/session.cpp:419 Master node for object id 1025 not
connected
Segmentation fault

What might be the possible cause for this problem? Could anyone please share
a "working" version of eqOgre so that I can make further changes?

Thank you very much.

Best regards,
Chang Yuan


Pierre P. wrote:
> 
> Hi again,
> 
> Ok I've given up trying to run eqOgre under linux. I've managed to compile
> and run the two, but as soon as I start rendering things I invariably get
> a segmentation fault or garbled visuals. I the render loop is empty,
> everything works fine...but I just get a default green screen.
> 
> I'm guessing that either GLX or openGL are not being setup properly, but I
> really have no idea...I've tried everything.
> I've tried to follow the following suggestions regarding using GL outside
> of Ogre in this post:
> http://www.ogre3d.org/phpBB2/viewtopic.php?t=39933&postdays=0&postorder=asc&start=0
> 
> If there's any interest I could upload my code somewhere for other people
> to inspect...
> 
> eqOgre runs fine on Windows however (with some modifications), using both
> Ogre version 1.4.4 and 1.6.
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Compiling-eqOgre-on-Linux-tp1629040p2184479.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.


_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to