[osg-users] How do I get osgviewer on Cygwin to compile with -lX11 -lXrandr

2011-07-06 Thread Brian Keener
I tried building OSG on Cygwin 1.7 and I first tried to do it without X but it seems that osgviewer seems to insist on X11 and that WIN32 option has been removed (or is that what you get if you leave it at none). At any rate I finally accepted the defaults (except adding -DNOMINMAX and was

Re: [osg-users] How do I get osgviewer on Cygwin to compile with -lX11 -lXrandr

2011-07-06 Thread Alberto Luaces
Hi Brian, Brian Keener writes: [...] My question(s) is/are where do I find the logic that dictates during the Cmake configure what libs to include and in what files will I find this when the generate finishes. I would like to tweak this so the cmake configure and generate for cygwin was

Re: [osg-users] How do I get osgviewer on Cygwin to compile with -lX11 -lXrandr

2011-07-06 Thread brianklistacct
Alberto Luaces alua...@udc.es wrote: It should be smart enough to do it by itself; however I guess that you can manually configure it by setting X11_X11_LIB and X11_Xrandr_LIB parameters of CMake. These take the path of the libraries, as in /usr/lib/libXrandr.so. As a last resort, you