[fdo-trac] #103: Add x64 Configurations to the FDO API and SDF Provider Windows Build Scripts

FDO trac_fdo at osgeo.org
Wed Aug 15 15:00:19 EDT 2007


#103: Add x64 Configurations to the FDO API and SDF Provider Windows Build
Scripts
---------------------------+------------------------------------------------
   Reporter:  gregboone    |       Owner:  gregboone      
       Type:  enhancement  |      Status:  new            
   Priority:  minor        |   Milestone:  3.3.0          
  Component:  FDO API      |     Version:  3.3.0          
   Severity:  2            |    Keywords:  Win64;x64;Build
External_id:               |  
---------------------------+------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/103>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list