This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: image viewer?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]