Fri Feb 1 03:28:00 GMT 2002
Phil Humpherys wrote:
> I'd sure like to have an image viewer of some kind in cygwin-xfree.
> I couldn't get xv to compile... anyone have any suggestions?
I found that xv 3.10a required only minor configuration tweaks before it
compiled under Cygwin/XFree. Try the procedure outlined below.
Edit xv.h and comment out some lines as follows:
< #ifdef LINUX
> /* #ifdef LINUX
< # ifndef __NetBSD__
> /* # ifndef __NetBSD__
< # endif
> /*# endif */
Then edit the Makefile and make the following changes:
< CC = cc
< # CC = gcc -ansi
> #CC = cc
> CC = gcc -ansi
< #MCHN = -DLINUX
> MCHN = -DLINUX -L/usr/X11R6/lib -I/usr/X11R6/include
Finally, make sure that /bin/csh is symlinked to /bin/tcsh:
ln -sf tcsh.exe csh.exe
Source code available from http://www.trilon.com/xv/downloads.html.
Project Geophysicist, Earth Models Development
WesternGeco, Schlumberger House, Gatwick Airport
Tel: +44 (0)1293 556119, Fax: +44 (0)1293 556800
More information about the Cygwin-xfree