Opened 17 years ago

Closed 15 years ago

#103 closed enhancement (fixed)

Add x64 Configurations to the FDO API and SDF Provider Windows Build Scripts

Reported by: gregboone Owned by: gregboone
Priority: minor Milestone: 3.5.0
Component: FDO API Version: 3.3.0
Severity: 2 Keywords: Win64; x64; Build
Cc: jacklee External ID:

Description (last modified by gregboone)

This submission will add Win64 support to the OSGeo FDO API and the OSGeo SDF Provider. A new platform configuration 'x64' has been added to all relevant windows project and solution files. Developers can now either choose to build the standard 'Win32' Debug and Release configurations or the 'x64' Debug and release configurations.

In the process of adding the 'x64' configurations, several project files were cleaned up to remove stale configurations that were no longer being maintained or used. The general goal is to have only a Debug and a Release configuration for each platform supported.

As a part of the x64 changes, several source files were changed to fix warnings or resolve build issues. Many of these changes happened in the Third-party directory. If updates are to be made to projects in the Third-party from the original posted source on the originating sites, care should be made to preserve the x64 changes.

In addition of the project file and source file changes, the Open Source build scripts were also updated to allow the x64 configurations to be built through a command line process. If an x64 configuration is needed, use the -p option to specify the platform that needs to be built.

Here are the parameters to the new build.bat script.

build.bat

[-h]
[-o=OutFolder]
[-c=BuildType]
[-p=PlatformType]
[-a=Action]
[-w=WithModule]
[-d=BuildDocs]
[-py=BuildPythonWrappers]

Help: -h[elp]
OutFolder: -o[utpath]=destination folder for binaries
BuildType: -c[onfig]=release(default), debug
PlatformType: -p[latform]=win32(default), x64
Action: -a[ction]=

build(default), buildinstall,
install,
clean

BuildDocs: -d[ocs]=skip(default), build
BuildPythonWrappers: -py[thon]=skip(default), build
WithModule: -w[ith]=

all(default), fdo,
providers,
shp,
sdf,
wfs,
wms,
arcsde,
odbc,
mysql,
gdal

  • NOTE that there are still a few outstanding issues with the x64 builds

1) The build scripts cannot resolve the INCLUDE path settings hen using the amd64 compiler

2) The stampver scripts are not recognizing that the 64bit binaries have resources attached to them. Therefore, stamping the 64bit binaries has been temporarily disabled.

Change History (5)

comment:1 by gregboone, 17 years ago

Description: modified (diff)

comment:2 by gregboone, 17 years ago

Status: newassigned

comment:3 by gregboone, 17 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by gregboone, 15 years ago

Milestone: 3.3.03.5.0
Resolution: fixed
Status: closedreopened

comment:5 by gregboone, 15 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.