[gdal-dev] building libecwj2 - missing winhttp.h

Gong, Shawn (Contractor) Shawn.Gong at drdc-rddc.gc.ca
Thu Aug 6 15:31:40 EDT 2009


hi list,

I downloaded libecwj2 from ermapper and tried to build it on Windows
using VS 2005.
I opened
C:\...\libecwj2-3.3\Source\NCSBuildQmake\libecwj2_win32_net_static.vcpro
j and libecwj2_win32_net_shared.vcproj and btach_build.

I got error saying that winhttp.h is missing. This file is referred in 
C:\...\libecwj2-3.3\Source\C\NCSnet\NCScnet2\NCSWinHttp.c :
		#if !defined(_WIN32_WCE)
			#include "winhttp.h"
		#else
			#include <wininet.h>
		#endif

There is no such file in MS VS 2005. I copied one from MS VS 2008, but
it created more errors in the winhttp.h

If you had built libecwj2 on Windows, please help.  Is there a way to
bypass this, given that I only need the Jpeg2000 support?


thanks,
Shawn



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


More information about the gdal-dev mailing list