[Gdal-dev] Kakadu-GDAL building problems on WINDOWS.
nbarker at ittvis.com
Fri Mar 9 09:27:39 EST 2007
Sorry you got me on a Friday afternoon :-) , if you add (change the
# Any extra libraries needed on this platform?
ADD_LIBS = C:\Kakadu\lib\kdu_v51R.lib
I think everything should be ok
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.
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
(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
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.
On 3/9/07, Norman Barker <nbarker at ittvis.com > wrote:
The attached make file worked for me, but you may have to tweak it.
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Daniele
Sent: 09 March 2007 12:02
To: gdal-dev at lists.maptools.org; Simone
Subject: [Gdal-dev] Kakadu-GDAL building problems on WINDOWS.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gdal-dev