<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;">Sorry you got me on a Friday afternoon </span></font><font color="navy" face="Wingdings" size="2"><span style="font-size: 10pt; font-family: Wingdings; color: navy;">
J</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> , if you add (change the
path)</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;"># Any extra libraries needed on this
platform?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">ADD_LIBS = C:\Kakadu\lib\kdu_v51R.lib</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;">to nmake.opt</span></font></p></div></div></blockquote><div><br>I already tried this solution, prior to write my previous email :-( (After attempting the "KDULIB" solution :D )
<br>Without success...<br><br>Just another question:<br>Do you used command line NMAKE instead of Visual C++ solution in order to build your *.obj files?<br>In such a case, can you show me your kakadu makefile?<br><br>I tried editing "Makefile-generic" from "apps/make" and building kakadu using NMAKE without results...
<br> </div><br><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;">I think everything should be ok</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></div></div></blockquote><div>Thanks again.<br><br>Best regards,<br>Daniele Romagnoli<br>
<br> </div><br><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><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;"> Daniele
Romagnoli [mailto:<a href="mailto:dany.geotools@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dany.geotools@gmail.com</a>] <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;
<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> Re: [Gdal-dev]
Kakadu-GDAL building problems on WINDOWS.</span></font></p>
</div><div><span class="e" id="q_111371927ffb99eb_1">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Norman</span></font>,<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>
</p>
<div>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 3/9/07, <b><span style="font-weight: bold;">Norman
Barker</span></b> <<a href="mailto:nbarker@ittvis.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nbarker@ittvis.com </a>>
wrote:</span></font></span></p>
<div link="blue" vlink="blue">
<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>
<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>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br clear="all">
</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
Best Regards,<br>
Daniele Romagnoli </span></font></p>
</span></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Daniele Romagnoli