#2064 closed defect (fixed)
Building with Visual C++ 2008 Express Edition
Reported by: | Mateusz Łoskot | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | high | Milestone: | 1.5.0 |
Component: | ConfigBuild | Version: | svn-trunk |
Severity: | normal | Keywords: | visual c++ vs2008 express |
Cc: | warmerdam, Daniel Morissette |
Description
Current version of GDAL from SVN does not compile cleanly using Visual C++ compiler from the Visual Studio 2008 Express Editions bundle.
There is a few issues:
- missing ATL required by VC6 layer
- redefinition of vsnprintf. VC++2008 does include proper definition vsnprintf, without underscore)
- deprecated and unavailable winres.h (can be safely replaced with windows.h and winver.h
Attachments (3)
Change History (8)
by , 16 years ago
Attachment: | gdal-vs2008ee.patch added |
---|
comment:1 by , 16 years ago
Cc: | added |
---|---|
Component: | default → ConfigBuild |
Milestone: | → 1.5.0 |
Owner: | changed from | to
Priority: | normal → high |
Mateusz,
The patch looks ok, though I hope some day to reduce the complexity of VB6 related stuff.
Go ahead and apply.
comment:2 by , 16 years ago
Status: | new → assigned |
---|
Frank,
I will run a few more tests after the Beta 2 is out, and will try to build more complete set of drivers and then apply bigger patch in one shot.
A few comments to VB6 support from the #gdal chat:
[14:15] <mloskot> FrankW: There is one issue with vs2008 patch [14:15] <mloskot> VB6 layer will not be built for all VS2008 editions, not only for Express [14:15] <FrankW> right, that's fine. [14:15] <mloskot> good
comment:3 by , 16 years ago
Cc: | added |
---|
by , 16 years ago
Attachment: | gdal-formats.txt added |
---|
List of GDAL formats built-in using Visual C++ 2008 (9.0)
by , 16 years ago
Attachment: | ogr-formats.txt added |
---|
List of OGR formats built-in using Visual C++ 2008 (9.0)
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The VC++ 2008 patch has been updated and applied to SVN trunk (r13360).
There is list of drivers built-in using VC++2008 in the attached gdal-formats.txt and ogr-formats.txt files. The build was made using:
- Xerces 2.8.0
- Expat 2.0.1
- libcurl 7.17.1
- GEOS 3.0.0rc5
- PROJ.4 4.5.0
comment:5 by , 16 years ago
One additional note, I also enabled PostgreSQL support using 8.2.5 binaries.
Also, following dependencies were built from sources using Visual C++ 2008: Expat, libcurl, GEOS, PROJ.4. Xerces-C 2.8.0 was used from official binaries dedicated for Visual C++ 2006 (8.0).
Patch fixing GDAL core for Visual C++ 2008 Express Edition (compiler version 9.0). Does not include fixes for bindings, just core and default/internal drivers.