Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery005.isp.belgacom.be (Postfix) with ESMTP id 9AF28164013
	for <joris.at.lebbeke@skynet.be>; Tue, 22 Apr 2008 12:55:08 +0200 (CEST)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 22 Apr 2008 12:55:02 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m3MAMTUb019642;
	Tue, 22 Apr 2008 06:24:05 -0400
Received: from bay0-omc3-s2.bay0.hotmail.com (bay0-omc3-s2.bay0.hotmail.com
	[65.54.246.202])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m3MAMOfx019637
	for <tiff@lists.maptools.org>; Tue, 22 Apr 2008 06:22:24 -0400
Received: from BAY139-W20 ([64.4.43.55]) by bay0-omc3-s2.bay0.hotmail.com with
	Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Apr 2008 03:22:23 -0700
Message-ID: <BAY139-W202879D20AF86824249731E3E00@phx.gbl>
X-Originating-IP: [217.37.215.53]
From: Andrew Wan <andrew_wan1980@hotmail.com>
To: <tiff@lists.maptools.org>
Date: Tue, 22 Apr 2008 10:22:23 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 22 Apr 2008 10:22:23.0650 (UTC)
	FILETIME=[C1478820:01C8A462]
Subject: [Tiff] HELP: compiling with MS VC6
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0801890868=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002c1b
X-MSP-STORE: Tue, 22 Apr 2008 12:53:58 +0200
Status:   

--===============0801890868==
Content-Type: multipart/alternative;
	boundary="_cc88616d-d847-48d1-98d9-56eb5cd45044_"

--_cc88616d-d847-48d1-98d9-56eb5cd45044_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I been following the instructions on: http://www.libtiff.org/build.html to =
build the libtiff from source.
=20
I have Visual C++ 6.0, ran the C:\Program Files\Microsoft Visual Studio\VC9=
8\Bin\VCVARS32.BAT then nmake /f C:\Program Files\GnuWin32\src\tiff\3.8.2\t=
iff-3.8.2-src\Makefile.vc
=20
I get loads of warnings, then this error:
=20
        cl /nologo /Ox /MD /GX /W3 -I.   -DAVOID_WIN32_FILEIO -DCHECK_JPEG_=
YCBCR_SUBSAMPLING -DDEFAULT_EXTRASAMPLE_AS_ALPHA -DSTRIPCHOP_DEFAULT=3DTIFF=
_STRIPCHOP -DSTRIP_SIZE_DEFAULT=3D8192 -DLOGLUV_SUPPORT -DNEXT_SUPPORT -DTH=
UNDER_SUPPORT -DLZW_SUPPORT -DPACKBITS_SUPPORT -DCCITT_SUPPORT -DTIF_PLATFO=
RM_CONSOLE -DFILLODER_LSB2MSB  /c tif_jpeg.ctif_jpeg.ctif_jpeg.c(87) : fata=
l error C1083: Cannot open include file: 'jpeglib.h': No such file or direc=
toryNMAKE : fatal error U1077: 'cl' : return code '0x2'Stop.NMAKE : fatal e=
rror U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : return code '0x2'St=
op.
C:\Program Files\GnuWin32\src\tiff\3.8.2\tiff-3.8.2-src>
=20
So I look in nmake.opt and find this:
=20
# Uncomment and edit following lines to enable JPEG support.
#
#JPEG_SUPPORT =3D 1
#JPEGDIR =3D d:/projects/jpeg-6b
#JPEG_INCLUDE =3D -I$(JPEGDIR)
#JPEG_LIB =3D $(JPEGDIR)/Release/jpeg.lib
=20
So I do a search for JPEG_SUPPORT and find that it's pernamently enabled in=
 many libtiff header files. So I download libjpeg, install it. Then tried r=
unning: nmake /f C:\Program Files\GnuWin32\src\jpeg\6b\jpeg-6b-src\makefile=
.vc
=20
and it says it doesn't know how to make jconfig.h???
=20
What is going on... help!
_________________________________________________________________
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=
=3Den-US?ocid=3DTAG_APRIL=

--_cc88616d-d847-48d1-98d9-56eb5cd45044_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>I been following the instructions on: <A href=3D"=
http://www.libtiff.org/build.html">http://www.libtiff.org/build.html</A>&nb=
sp;to build the libtiff from source.<BR>
&nbsp;<BR>
I have Visual C++ 6.0, ran the C:\Program Files\Microsoft Visual Studio\VC9=
8\Bin\VCVARS32.BAT then nmake /f C:\Program Files\GnuWin32\src\tiff\3.8.2\t=
iff-3.8.2-src\Makefile.vc<BR>
&nbsp;<BR>
I get loads of warnings, then this error:<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /GX /W3 -I.&n=
bsp;&nbsp; -DAVOID_WIN32_FILEIO -DCHECK_JPEG_YCBCR<BR>_SUBSAMPLING -DDEFAUL=
T_EXTRASAMPLE_AS_ALPHA -DSTRIPCHOP_DEFAULT=3DTIFF_STRIPCHOP -<BR>DSTRIP_SIZ=
E_DEFAULT=3D8192 -DLOGLUV_SUPPORT -DNEXT_SUPPORT -DTHUNDER_SUPPORT -DLZW<BR=
>_SUPPORT -DPACKBITS_SUPPORT -DCCITT_SUPPORT -DTIF_PLATFORM_CONSOLE -DFILLO=
DER_LS<BR>B2MSB&nbsp; /c tif_jpeg.c<BR>tif_jpeg.c<BR>tif_jpeg.c(87) : fatal=
 error C1083: Cannot open include file: 'jpeglib.h': No su<BR>ch file or di=
rectory<BR>NMAKE : fatal error U1077: 'cl' : return code '0x2'<BR>Stop.<BR>=
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : retu=
rn co<BR>de '0x2'<BR>Stop.<BR>
C:\Program Files\GnuWin32\src\tiff\3.8.2\tiff-3.8.2-src&gt;<BR>
&nbsp;<BR>
So I look in nmake.opt and find this:<BR>
&nbsp;<BR><FONT size=3D2>
# Uncomment and edit following lines to enable JPEG support.<BR>
#<BR>
#JPEG_SUPPORT =3D 1<BR>
#JPEGDIR =3D d:/projects/jpeg-6b<BR>
#JPEG_INCLUDE =3D -I$(JPEGDIR)<BR>
#JPEG_LIB =3D $(JPEGDIR)/Release/jpeg.lib<BR>
&nbsp;<BR>
So I do a search for JPEG_SUPPORT and find that it's pernamently enabled in=
 many libtiff header files. So I download libjpeg, install it. Then tried r=
unning: nmake /f C:\Program Files\GnuWin32\src\jpeg\6b\jpeg-6b-src\makefile=
.vc<BR>
&nbsp;<BR>
and it says it doesn't know how to make jconfig.h???<BR>
&nbsp;<BR>
What is going on... help!<BR></FONT><br /><hr />Express yourself wherever y=
ou are. <a href=3D'http://www.gowindowslive.com/Mobile/Landing/Messenger/De=
fault.aspx?Locale=3Den-US?ocid=3DTAG_APRIL' target=3D'_new'>Mobilize!</a></=
body>
</html>=

--_cc88616d-d847-48d1-98d9-56eb5cd45044_--

--===============0801890868==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============0801890868==--
