Norman,<br><br>Thanks a lot for your help.<br><br>I tweaked a bit your makefile since my .obj files (coming from "Visual C++ solution" Build) are located in several different folders instead of "\make".
<br>(Furthermore, searching in main kakadu folder, I found 11 "jp2.obj" files, 6 "jpx.obj" files, ... However, 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 "compress\debug" or "expand\debug" folder).
<br><br>However, GDAL building process throws many "unresolved external" 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><br><div><span class="gmail_quote">On 3/9/07, <b class="gmail_sendername">Norman Barker</b> <<a href="mailto:nbarker@ittvis.com">nbarker@ittvis.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Daniele,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">The attached make file worked for me, but
you may have to tweak it.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Norman</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:gdal-dev-bounces@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gdal-dev-bounces@lists.maptools.org</a>
[mailto:<a href="mailto:gdal-dev-bounces@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" onclick="return top.js.OpenExtLink(window,event,this)">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></p>
</div><div><span class="e" id="q_11136a242e8849fe_1">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi list,</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I'm trying to build GDAL with kakadu (5.2.2) support under windows XP.</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I have all the required source files (.h, .cpp) and I already built the
.obj files, using the "ready to use" Visual C++ solutions files
contained within the kakadu source tree (apps, coresys).</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">By analyzing the <a href="http://makefile.vc" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">makefile.vc</a>
contained within gdal/frmts/jp2kak, several .obj files are required to build
GDAL. </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I tried copying "some" .OBJ files to a folder and set
this folder in NMAKE.OPT. (With "some" I means .obj files
coming from coresys/debug, kdu_aux/debug and something else).</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">However, I cant successfully build. </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Can someone help me please, listing the required .obj files?</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Thank you very much.</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
-- <br>
Best Regards,<br>
Daniele </span></font></p>
</span></div></div>
</div>
<br clear="all"></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Daniele Romagnoli