Build Fdo by using gdal 1.9.1

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build Fdo by using gdal 1.9.1

lifan-tg
This post has NOT been accepted by the mailing list yet.
Could anyone provide me which build files you changed when you build fdo by using gdal 1.9?

I am use Fdo, and we need to compile full source code because we need to remove "relay dll load" setting, we are success to build Fdo 3.7 no matter x86 or x64.

Our customer need to use gdal 1.9 because it fixed many bugs. However Fdo 3.7 use gdal 1.7, so we need to use existing code to upgrade gdal from 1.7 to 1.9.

I just replace the files in \OpenSource_FDO\Thirdparty\gdal\ , but build fail, I get error below. No matter x86 or x64.

c:\fdo\opensource_fdox64\providers\gdal\src\provider\FdoRfpDatasetCache.h(33):
fatal error C1083: Cannot open include file: 'cpl_multiproc.h': No such file or
 directory [C:\FDO\OpenSource_FDOX64\Providers\GDAL\Src\Provider\RFP.vcxproj]
  FdoRfpGeoBandRasterImp.cpp
c:\fdo\opensource_fdox64\providers\gdal\src\provider\FdoRfpImage.h(35): fatal e
rror C1083: Cannot open include file: 'gdal.h': No such file or directory [C:\F
DO\OpenSource_FDOX64\Providers\GDAL\Src\Provider\RFP.vcxproj]
  FdoRfpGeoRaster.cpp
  FdoRfpGeoRasterExtractor.cpp
c:\fdo\opensource_fdox64\providers\gdal\src\provider\FdoRfpDatasetCache.h(33):
fatal error C1083: Cannot open include file: 'cpl_multiproc.h': No such file or
 directory [C:\FDO\OpenSource_FDOX64\Providers\GDAL\Src\Provider\RFP.vcxproj]
  FdoRfpGeoreference.cpp
  Generating Code...
  Compiling...
  FdoRfpGetSpatialContexts.cpp
  FdoRfpImage.cpp
c:\fdo\opensource_fdox64\providers\gdal\src\provider\FdoRfpImage.h(35): fatal e
rror C1083: Cannot open include file: 'gdal.h': No such file or directory [C:\F
DO\OpenSource_FDOX64\Providers\GDAL\Src\Provider\RFP.vcxproj]
  FdoRfpKeyColor.cpp
  FdoRfpLinux.cpp
  FdoRfpQueryExecutor.cpp
  FdoRfpRaster.cpp
c:\fdo\opensource_fdox64\providers\gdal\src\provider\FdoRfpImage.h(35): fatal e
rror C1083: Cannot open include file: 'gdal.h': No such file or directory [C:\F
DO\OpenSource_FDOX64\Providers\GDAL\Src\Provider\RFP.vcxproj]
  FdoRfpRasterCapabilities.cpp
  FdoRfpRasterPropertyDictionary.cpp
c:\fdo\opensource_fdox64\providers\gdal\src\provider\FdoRfpImage.h(35): fatal e
rror C1083: Cannot open include file: 'gdal.h': No such file or directory [C:\F
DO\OpenSource_FDOX64\Providers\GDAL\Src\Provider\RFP.vcxproj]
  FdoRfpRasterUtil.cpp
FdoRfpRasterUtil.cpp(37): fatal error C1083: Cannot open include file: 'gdal.h'
: No such file or directory [C:\FDO\OpenSource_FDOX64\Providers\GDAL\Src\Provid
er\RFP.vcxproj]

Thanks,
James
Reply | Threaded
Open this post in threaded view
|

Re: Build Fdo by using gdal 1.9.1

Jackie Ng
FDO 3.7 *beta1* uses GDAL 1.7

The current branch of FDO 3.7 uses GDAL 1.9

Are you building from a beta1 source tarball? That has GDAL 1.7. If you do a svn checkout of the 3.7 branch, it will have GDAL 1.9

- Jackie
Reply | Threaded
Open this post in threaded view
|

Re: Build Fdo by using gdal 1.9.1

lifan-tg
This post has NOT been accepted by the mailing list yet.
Jackie,

You're right, I am using Fdo 3.7 beta1 which download from Fdo website, I will try to get the 3.7 branch from svn. And if still not success I will let you know.

Thanks,
James
Reply | Threaded
Open this post in threaded view
|

Re: Build Fdo by using gdal 1.9.1

lifan-tg
This post has NOT been accepted by the mailing list yet.
In reply to this post by lifan-tg
Hi Jackie,

Just as a quick question, when do you release 3.7 on website and if there any changes compare the current svn at http://svn.osgeo.org/fdo/branches/3.7/

Thanks,
James