Hi Patrick,

I mentioned that at lunch yesterday, but just in case other people are
interested...

On Tue, 2005-04-19 at 10:40 -0500, Patrick Hartling wrote:
> (I have come to this conclusion because I get a bus
> error deep in OpenSG the first time an attempt is made to render the
> scene in a VR Juggler application.)

Can you give me a backtrace for that?

> At this point, I do not yet understand the OpenSG build system well
> enough to figure out for sure how to make it compile the X11 code in
> OpenSG.  If it requires tweaking makefiles, that's fine.  

That should be compiled automatically, but I haven't used MacOS before,
so I might be wrong.

> I am not
> looking for a long-term solution.  I just want to determine whether I
> can use my PowerBook for some near-term OpenSG+VRJ development instead
> of using Windows.  :)

A noble goal indeed. ;)

> On a semi-related topic, I do see errors when compiling the Qt code
> where it is failing to find X11 headers.  This suggests to me one of two
> things:
> 
>    1) Qt/X11 is expected to be used on OS X instead of Qt/Mac
>    2) The Qt code in OpenSG has not been tested on OS X yet
> 
> I have my OpenSG 1.4.0 build configured to use Qt/Mac, which doesn't
> seem to satisfy the Qt dependency.  I could switch over to using Qt/X11,
> especially if doing so would make a difference in whether OpenSG will be
> able to be compile against X11 on OS X.

The OpenSG QT Window is currently hardcoded for Windows and X11 (it
needs to derive from the right parent class, and we don't have Carbon
windows to derive from).

But in general (and that means other GUI toolkits, too) it's probably
easier to use whatever OpenGL widget the toolkit has and use OpenSG with
a PassiveWindow for integration. An example of that can be found in
Examples/WXWidgets.

The only thing you loose is multi-threaded rendering/interface event
handling (as that needs to be careful about managing the OpenGL
context). Everything else should just fine.

Hope it helps

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to