From: Lloyd W. <L....@su...> - 2009-02-18 15:12:02
|
After a few days of playing with Geomview under the new Cygwin Xserver, I can state: - under Cygwin's new Xserver, geomview-1.9.4 will build with just ./configure and make. Nothing else required. (This is arguably an improvement.) BUT - Actually attempting to use geomview (itself painful due to the lack of hardware acceleration) is difficult, due to the tendency of the new Xserver to explode rapidly and take geomview, savi, and everything else with it, in either desktop or multiwindow mode (xinit -- -multiwindow works). There's a lot of robustness and reliability missing. (This clearly isn't.) The new Xserver is described at: http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg00000.html I've stuck a warning on: http://personal.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/building-under-Windows/ about not upgrading existing Cygwin installs for now. Question: Could the crashes in the Cygwin Xserver conceivably be blamed on Geomview having 'old code'? thanks, L. At Monday 2/16/2009 09:44 PM +0000, Lloyd Wood wrote: >And then I do: >./configure --with-motif=/usr/X11R6 --with-xforms > >to build without OpenGL and just have a working geomview, and discover that it's picked up on OpenGL automatically. Without the linking errors. Too weird. > >(Things still aren't perfect - Cygwin's startx is broken in the new X11 install and can't handle spaces in pathnames, xinit -multiwindow no longer works for X windows as Windows windows, and rendering the camera in the virtual X11 desktop is painfully flickerly slow - no hardware acceleration. This is progress?) > >L. > >At Monday 2/16/2009 08:32 PM +0000, Lloyd Wood wrote: >>Cygwin has made a major change in their X11 installation which has shifted the dependencies for Geomview. So, I updated Cygwin, got the new X11 install, and rather wish I hadn't. >> >>In rebuilding Geomview and updating the Cygwin instructions at: >>http://personal.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/building-under-Windows/ >>I've had to add a few things to the 'necessary' list: >>Devel / libiconv (needed only for the new xforms 1.0.91, not for the four-years-old xforms 1.0.90) >>Devel / minires-devel (replaces libresolv for -lresolv. Not obvious.) >>X11 / libXm-devel >>X11 / libXm2 (lesstif no longer seems to be picked up? But this gets past the complaint) >> >>After >>MOTIFLIBS='-lDtPrint -lMrm -lXm -lXt -lXmu -lXp -lXext -lX11 -lSM -lICE' >>./configure --with-motif=/usr/X11R6 --with-opengl=/usr/X11R6 --with-xforms >>I'm currently stuck on linking with OpenGL: >> >>/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. >>This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.../../../../src/lib/.libs/libgeomview.a(mgopenglshade.o): In function `mgopengl_needtexture': >>/home/lloyd/geomview-1.9.4/src/lib/mg/opengl/mgopenglshade.c:700: undefined reference to `_gluBuild2DMipmaps' >>/home/lloyd/geomview-1.9.4/src/lib/mg/opengl/mgopenglshade.c:717: undefined reference to `_gluScaleImage' >>Info: resolving __XmStrings by linking to __imp___XmStrings (auto-import) >>[..] >> >>I've already installed everything OpenGL-related (including GLUT) that I can think of. Any suggestions as to which librar(ies) I'm missing or what I'm doing wrong? >> >>thanks, >> >>L. >> >>SaVi satellite constellation visualization: http://savi.sf.net/ >> >><http://www.ee.surrey.ac.uk/Personal/L.Wood/><L....@su...> |