Hi Brian,

You'll need to modify the src/osgViewer/CMakeLists.txt to add the
option in of compile with X11 under Windows.  Have a look at the OSX
blocks for a guide how to do this.

Robert.

On Thu, Dec 11, 2008 at 7:36 PM, Brian Keener
<[email protected]> wrote:
> Not sure I can explain this well but I will give it a shot.  I use
> Cygwin and have can compile OSG and the examples using ccmake and it
> compiles using opengl and the win32 api interface (w323api).  This
> works great and I can run the examples.  But just like Unix - Cygwin
> can run commands/applications from the command line (osgviewer) or
> Cygwin can have X installed and you can use x11 applications like
> xclock, glxgears and the like.
>
> How would I adjust ccmake or is there some parameter I pass if I wanted
> to compile for X11.  Would this be all of osg or just the Examples or
> what.  I know that osgViewer (which I believe is lib) has X11 as well
> as Carbon and Win32 code.  How could you control this to build one or
> the other or is there some way we can have it build the X11 version
> along with the Win32 version if X11 is installed.
>
> I hope I explained this with some degree of clarity.
>
> Thanks for the help
>
> bk
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to