[Gdal-dev] Buid error with Kakadu on Windows
Chapman, Martin
MChapman at sanz.com
Wed Nov 24 22:47:04 EST 2004
Gao,
Looks to me like you didn't do anything wrong if you can't find the file jp2_local.h . You most likely need that file and it wasn't included in the release. I would see if you can do one of two three things.
1. Go to the Kakadu website and get jp2_local.h from CVS and then stick it where jp2kakdataset.cpp can find it.
2. Try to comment out the line #include "jp2_local.h" in the file jp2kakdataset.cpp and see if compiles without it.
3. Email one of the dudes at Kakadu and see if they will fix the release.
Martin
-----Original Message-----
From: Gao, Peng [mailto:pgao at esri.com]
Sent: Wed 11/24/2004 2:44 PM
To: gdal-dev at remotesensing.org
Cc:
Subject: [Gdal-dev] Buid error with Kakadu on Windows
I am trying build GDAL with Kakadu, and getting the following error:
F:\gdal-1.2.3\frmts>cd jp2kak && nmake /NOLOGO /f makefile.vc && cd ..
cl /nologo /Zi /MD /EHsc /Fd..\..\gdal.pdb -I..\..\port -I..\..\ogr -I..
\..\gcore -I..\..\alg -IF:\gdal-1.2.3\codec\jp2\common /DKDU_PENTIUM_MSVC /GX /
c jp2kakdataset.cpp
jp2kakdataset.cpp
jp2kakdataset.cpp(140) : fatal error C1083: Cannot open include file: 'jp2_local
.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I have Kakadu V4.0. It has the following directory structure:
coding
common
compressed
kernels
messaging
parameters
roi
transform
makefile (file)
I can't find jp2_local.h anywhere.
What did I do wrong?
Gao, Peng
_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev
More information about the Gdal-dev
mailing list