[fdo-internals] Building scripts and dependencies
Mateusz Loskot
mateusz at loskot.net
Sat Apr 19 05:33:51 EDT 2008
Hi,
I likely still don't understand how the build.bat script is
supposed to handle dependencies.
I've a clean FDO tree (trunk) and I do:
build_thirdparty.bat -c debug
Now I want to only build PostGIS provider, so I assume the building
scripts will handle all its dependencies:
----------------------------------------------------------------------
D:\dev\fdo\_svn\trunk>build.bat -c debug -w postgis
Build debug PGIS Provider Dlls
Build started 4/19/2008 11:03:57 AM.
__________________________________________________
Project "D:\dev\fdo\_svn\trunk\Providers\PostGIS\Src\PostGis.sln" (Build
target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "debug|Win32".
Target Build:
Target Common:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\vc\vcpackages\vcbuild.exe D:\dev\fdo\_svn\trunk\Pro
viders\PostGIS\Src\..\..\..\Utilities\Common\FdoCommon.vcproj "Debug|Win32"
D:\dev\fdo\_svn\trunk\Fdo\Unmanaged\inc\Common/Exception.h(26):
fatal error C1083: Cannot open include file: 'Fd
oMessage.h': No such file or directory
Done building target "Common" in project "PostGis.sln" -- FAILED.
----------------------------------------------------------------------
I thought it may be postgis configuration issue but, it seems it doesn't
work for other providers too:
----------------------------------------------------------------------
D:\dev\fdo\_svn\trunk>build.bat -c debug -w shp
Build debug SHP provider dlls
Build started 4/19/2008 11:04:18 AM.
__________________________________________________
Project "D:\dev\fdo\_svn\trunk\Providers\SHP\Src\SHP_temp.sln" (Build
target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "debug|Win32".
Target Build:
Target Message:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\vc\vcpackages\vcbuild.exe D:\dev\fdo\_svn\trunk\Pro
viders\SHP\Src\Message\ShpMessage.vcproj "Debug|Win32"
Target SpatialIndex:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\vc\vcpackages\vcbuild.exe D:\dev\fdo\_svn\trunk\Pro
viders\SHP\Src\ShpSpatialIndex\ShpSpatialIndex.tmp_Debug_Win32.vcproj
"Debug|Win32"
D:\dev\fdo\_svn\trunk\Fdo\Unmanaged\inc\Common/Exception.h(26):
fatal error C1083: Cannot open include file: 'Fd
oMessage.h': No such file or directory
Done building target "SpatialIndex" in project "SHP_temp.sln" --
FAILED.
----------------------------------------------------------------------
I checked also ogr, wms, still the same files are missing.
If I'm reading the OpenSourceBuild_README.txt correctly,
I don't need to add -w=fdo to the command, do I?
According the readme, I should be able to issue, for instance
build.bat -w=shp
with success?
Are we having a bug?
Greetings
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the fdo-internals
mailing list