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

Norman Barker nbarker at ittvis.com
Fri Mar 9 09:27:39 EST 2007


Daniele,

 

Sorry you got me on a Friday afternoon :-) , 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 think everything should be ok

 

Norman

 

________________________________

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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070309/3dc7b8ac/attachment.html


More information about the Gdal-dev mailing list