This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: image viewer?
- From: James Hobro <jhobro at gatwick dot westerngeco dot slb dot com>
- To: Phil Humpherys <phil at dmillard dot com>
- Cc: cygwin-xfree at cygwin dot com
- Date: Fri, 01 Feb 2002 11:25:59 +0000
- Subject: Re: image viewer?
- References: <20020131140215.A21277@nimbus.dmillard.com>
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.
James Hobro.
----------
Edit xv.h and comment out some lines as follows:
| 65c65
< #ifdef LINUX
---
> /* #ifdef LINUX
69c69
< #endif
---
> #endif*/
118c118
< # ifndef __NetBSD__
---
> /* # ifndef __NetBSD__
120c120
< # endif
---
> /*# endif */
|
Then edit the Makefile and make the following changes:
|
4,5c4,5
< CC = cc
< # CC = gcc -ansi
---
> #CC = cc
> CC = gcc -ansi
105c105
< #MCHN = -DLINUX
---
> MCHN = -DLINUX -L/usr/X11R6/lib -I/usr/X11R6/include
|
Finally, make sure that /bin/csh is symlinked to /bin/tcsh:
|
cd /bin
ln -sf tcsh.exe csh.exe
|
Source code available from http://www.trilon.com/xv/downloads.html.
--
James Hobro
Project Geophysicist, Earth Models Development
WesternGeco, Schlumberger House, Gatwick Airport
Tel: +44 (0)1293 556119, Fax: +44 (0)1293 556800