On Tue, Nov 23, 2010 at 10:18 AM, GeoJoda <[email protected]> wrote: > > Hi every one > I have a question, how can I compile GDAL 1.7.3 with ecw 4.1 in Virsual > Studio 2010. It's easy to compile gdal 1.7.3 alone but when I include ecw > 4.1 I get an error. > . I've done the following steps: > > 1 - I downloaded the newest gdal (1.7.3) and downloaded > ECWJP2SDKSetup_RO_20100920.exe from ERDAS. > 2 - When I build gdal 1.7.3 without ecw in VS10 (makegdal10.sln or > makegdal90.sln), I get no errors. It all runs fine. > 3 - I installed ECWJP2SDKSetup_RO_20100920.exe on my machine 32bit XP. > installation went well and created a new folder with the path "C: \ Program > Files \ Erda \ Erda ECW JPEG2000 SDK Read" which includes subfolders bin, > include, lib, Redistributable and others. > 4 - I made sam changes to nmake.opt file text: > ECW_PLUGIN = YES > ECWDIR = C: \ Program Files > \ Erda \ Erda ECW JPEG2000 SDK Read > ECWFLAGS =-I $ (ECWDIR) \ > include-DNO_COMPRESS-DECWSDK_VERSION = 41 > ECWLIB = $ (ECWDIR) \ lib \ > vc90 \ win32 \ NCSEcw4_RO.lib \ > $ (ECWDIR) \ lib \ vc90 \ > win32 \ NCSUtil4.lib \ > $ (ECWDIR) \ lib \ vc90 \ > win32 \ NCScnet4.lib > 5 - After the changes I've made to nmake.opt, I can not build GDAL and I get > a build error. > 6 - I found some useful links on the web to build gdal.. But the problem is > that I am a beginner and these links are too advanced for me. > and links are: > a. http://trac.osgeo.org/gdal/wiki/BuildHints > b. http://trac.osgeo.org/gdal/wiki/ECW > c. http://trac.osgeo.org/gdal/ticket/3676 > > Can anyone tell me what I'm missing, I would be very grateful. > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/how-can-I-compile-GDAL-1-7-3-with-ecw-4-1-in-Virsual-Studio-2010-tp5765934p5765934.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
Hello, I'm not a Windows user (at least to compile GDAL), but did you try with these packages? http://vbkto.dyndns.org/sdk/ Anyway, you should provide the error's text. It's difficult to know what's happening without it. Best regards, -- Jorge Arévalo Internet & Mobilty Division, DEIMOS [email protected] http://mobility.grupodeimos.com/ http://gis4free.wordpress.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
