[Gdal-dev] Kakadu-GDAL building problems on WINDOWS.

Daniele Romagnoli dany.geotools at gmail.com
Sat Mar 10 04:37:22 EST 2007


Eureka! :D

Norman,
using your helpful makefile, after adding to it some dependencies and moving
some files from a folder to another one,
I finally Built GDAL with kakadu support :D

Thank you very much.

Best regards,
Daniele



On 3/9/07, Daniele Romagnoli <dany.geotools at gmail.com> wrote:
>
>
>
> On 3/9/07, Norman Barker <nbarker at ittvis.com> wrote:
> >
> >  Daniele,
> >
> >
> >
> > Sorry you got me on a Friday afternoon J , if you add (change the path)
> >
> >
> >
> > # Any extra libraries needed on this platform?
> >
> > ADD_LIBS = C:\Kakadu\lib\kdu_v51R.lib
> >
> >
> >
> > to nmake.opt
> >
>
> I already tried this solution, prior to write my previous email :-(
> (After attempting the "KDULIB" solution :D )
> Without success...
>
> Just another question:
> Do you used command line NMAKE instead of Visual C++ solution in order to
> build your *.obj files?
> In such a case, can you show me your kakadu makefile?
>
> I tried editing "Makefile-generic" from "apps/make" and building kakadu
> using NMAKE without results...
>
>
> I think everything should be ok
> >
> >
> >
> > Norman
> >
> Thanks again.
>
> Best regards,
> Daniele Romagnoli
>
>
>
> ------------------------------
> >
> > *From:* Daniele Romagnoli [mailto:dany.geotools at gmail.com]
> > *Sent:* 09 March 2007 14:08
> > *To:* Norman Barker; gdal-dev at lists.maptools.org; Simone
> > *Subject:* Re: [Gdal-dev] Kakadu-GDAL building problems on WINDOWS.
> >
> >
> >
> > Norman,
> >
> > Thanks a lot for your help.
> >
> > 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".
> > (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).
> >
> > However, GDAL building process throws many "unresolved external" linking
> > errors.
> >
> > 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...).
> > I tried to define a KAKLIB variable linking to kakadu/lib (containing
> > kdu_v52D.lib and kdu_a52D lib) but errors still exist.
> >
> > Surely, I'm missing something to do or failing some step. :-(
> > Can you help me again?
> >
> > Thank you very much.
> >
> > Best Regards,
> > Daniele Romagnoli
> >
> >  On 3/9/07, *Norman Barker* <nbarker at ittvis.com > wrote:
> >
> > Daniele,
> >
> >
> >
> > The attached make file worked for me, but you may have to tweak it.
> >
> >
> >
> > Norman
> >
> >
> >  ------------------------------
> >
> > *From:* gdal-dev-bounces at lists.maptools.org [mailto:
> > gdal-dev-bounces at lists.maptools.org] *On Behalf Of *Daniele Romagnoli
> > *Sent:* 09 March 2007 12:02
> > *To:* gdal-dev at lists.maptools.org; Simone
> > *Subject:* [Gdal-dev] Kakadu-GDAL building problems on WINDOWS.
> >
> >
> >
> > Hi list,
> >
> > I'm trying to build GDAL with kakadu (5.2.2) support under windows XP.
> >
> >
> >
> > 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).
> >
> >
> >
> > By analyzing the makefile.vc contained within gdal/frmts/jp2kak, several
> > .obj files are required to build GDAL.
> >
> > 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).
> >
> >
> >
> > However, I cant successfully build.
> >
> >
> >
> > Can someone help me please, listing the required .obj files?
> >
> >
> >
> > Thank you very much.
> >
> >
> > --
> > Best Regards,
> > Daniele
> >
> >
> >
> >
> >
> > --
> > Best Regards,
> > Daniele Romagnoli
> >
>
>
>
> --
> Best Regards,
> Daniele Romagnoli




-- 
Best Regards,
Daniele Romagnoli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070310/b968785d/attachment.html


More information about the Gdal-dev mailing list