<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Daniele,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sorry you got me on a Friday afternoon </span></font><font
size=2 color=navy face=Wingdings><span style='font-size:10.0pt;font-family:
Wingdings;color:navy'>J</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> , if you add (change the
path)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'># Any extra libraries needed on this
platform?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>ADD_LIBS = C:\Kakadu\lib\kdu_v51R.lib<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>to nmake.opt<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I think everything should be ok<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=2
  color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:navy'>Norman</span></font></st1:place></st1:City><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Daniele
Romagnoli [mailto:dany.geotools@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 09 March 2007 14:08<br>
<b><span style='font-weight:bold'>To:</span></b> Norman Barker;
gdal-dev@lists.maptools.org; Simone<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Gdal-dev]
Kakadu-GDAL building problems on WINDOWS.</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><st1:City w:st="on"><st1:place
 w:st="on"><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Norman</span></font></st1:place></st1:City>,<br>
<br>
Thanks a lot for your help.<br>
<br>
I tweaked a bit your makefile since my .obj files (coming from &quot;Visual C++
solution&quot; Build) are located in several different folders instead of
&quot;\make&quot;. <br>
(Furthermore, searching in main kakadu folder, I found 11 &quot;jp2.obj&quot;
files, 6 &quot;jpx.obj&quot; files, ... However,&nbsp; 90% of obj. files having
the same name (as an instance, 10 jp2.obj files of 11) have the same size.
Thus, I deduced to use one of them, which are mainly contained in
&quot;compress\debug&quot; or &quot;expand\debug&quot; folder). <br>
<br>
However, GDAL building process throws many &quot;unresolved external&quot;
linking errors.<br>
<br>
For almost any external format, NMAKE.OPT defines a couple of variables
FORMATXX_DIR and a FORMATXX_LIB (Like, as an instance, HDF4_DIR/HDF4_LIB,
ECWDIR/ECWLIB, and much more...). <br>
I tried to define a KAKLIB variable linking to kakadu/lib (containing
kdu_v52D.lib and kdu_a52D lib) but errors still exist.<br>
<br>
Surely, I'm missing something to do or failing some step. :-(<br>
Can you help me again? <br>
<br>
Thank you very much.<br>
<br>
Best Regards,<br>
Daniele Romagnoli<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 3/9/07, <b><span style='font-weight:bold'>Norman
Barker</span></b> &lt;<a href="mailto:nbarker@ittvis.com">nbarker@ittvis.com </a>&gt;
wrote:</span></font></span><o:p></o:p></p>

<div link=blue vlink=blue>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Daniele,</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>The attached make file worked for me, but you may have to
tweak it.</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;</span></font><o:p></o:p></p>

<p><st1:City w:st="on"><st1:place w:st="on"><font size=2 color=navy face=Arial><span
  style='font-size:10.0pt;font-family:Arial;color:navy'>Norman</span></font></st1:place></st1:City><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;</span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:gdal-dev-bounces@lists.maptools.org" target="_blank">gdal-dev-bounces@lists.maptools.org</a>
[mailto:<a href="mailto:gdal-dev-bounces@lists.maptools.org" target="_blank">gdal-dev-bounces@lists.maptools.org</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Daniele Romagnoli<br>
<b><span style='font-weight:bold'>Sent:</span></b> 09 March 2007 12:02<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:gdal-dev@lists.maptools.org" target="_blank">gdal-dev@lists.maptools.org</a>;
Simone<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Gdal-dev] Kakadu-GDAL
building problems on WINDOWS.</span></font><o:p></o:p></p>

</div>

<div><span id="q_11136a242e8849fe_1">

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi list,<o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>I'm
trying to build GDAL with kakadu (5.2.2) support under windows XP.<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>I have
all the required source files (.h, .cpp) and I already built the .obj files,
using the &quot;ready to use&quot; Visual C++ solutions files
contained&nbsp;within the kakadu source tree (apps, coresys).<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>By
analyzing the <a href="http://makefile.vc" target="_blank">makefile.vc</a>
contained within gdal/frmts/jp2kak, several .obj files are required to build
GDAL. <o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>I tried
copying &quot;some&quot;&nbsp;.OBJ files to a folder and set this folder in
NMAKE.OPT.&nbsp; (With &quot;some&quot; I means .obj files coming from
coresys/debug, kdu_aux/debug&nbsp; and something else).<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>However,
I cant successfully build. <o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Can
someone help me please, listing the&nbsp;required .obj files?<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Thank you
very much.<o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
-- <br>
Best Regards,<br>
Daniele <o:p></o:p></span></font></p>

</div>

</div>

</div>

</span>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br clear=all>
<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Best Regards,<br>
Daniele Romagnoli <o:p></o:p></span></font></p>

</div>

</body>

</html>