[Qgis-developer] Build Problems on win32

Tim Sutton tim at linfiniti.com
Thu Apr 3 06:22:40 EDT 2008


Hi Rob

Could you check if the Flex/Bison sources got generated in
build/src/core you should have


qgssearchstringparser.cpp
qgssearchstringparser.hpp

If not try putting the attached files there and see if it builds.

Regards

Tim

2008/4/2, Rob McCulley <RMcCulley at county24.com>:
>
>
>
>
> Hi All,
>
>
>
> I'm trying to build qgis and the python bindings on Windows XP using MSVC
> 7.1 (2003 .NET) using the instructions found here:
>
>
>
> http://wiki.qgis.org/qgiswiki/BuildingFromSource#head-696307823157d4af8ddd12c81acdbea284576a5f
>
>
>
> CMake doesn't report any errors at all.  This is the output from running
> cmake ..:
>
>
>
> E:\Build\Source\qgis-svn\Build>"C:\Program Files\CMake
> 2.4\bin\cmake.exe" ..
>
> -- Found Proj: E:/Build/Source/proj-4.6.0/src/proj_i.lib
>
> -- Found GEOS: E:/Build/Source/geos-svn/source/geos_i.lib
>
> -- Found GDAL: C:/Program Files/GDAL/lib/gdal_i.lib
>
> -- Found PostgreSQL:
> E:/Build/Source/postgresql-8.2.3/src/interfaces/libpq/Release/libpq.lib
>
> -- Found Expat: E:/Build/Source/Expat 2.0.1/Bin/libexpat.lib
>
> -- Using GSL from
>
> -- Python libraries found
>
> -- Python bindings enabled
>
> -- Found Qt-Version 4.3.4
>
> -- Configuring done
>
> -- Generating done
>
> -- Build files have been written to: E:/Build/Source/qgis-svn/Build
>
>
>
> When I open the resulting .sln file, and build ALL_BUILD, I get a whole
> bunch of warnings like:
>
>
>
> E:\Build\Source\geos-svn\source\headers\geos\platform.h(34):
> warning C4005: '_USE_MATH_DEFINES' : macro redefinition
>
> E:\Build\Source\geos-svn\source\headers\geos\io\WKBWriter.h(110):
> warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance
> warning)
>
>
>
> I also get numerous errors during the core build:
>
>
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(125):
> error C3861: 'access': identifier not found, even with argument-dependent
> lookup
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(147):
> error C3861: 'open': identifier not found, even with argument-dependent
> lookup
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(189):
> error C3861: 'read': identifier not found, even with argument-dependent
> lookup
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(250):
> error C3861: 'close': identifier not found, even with argument-dependent
> lookup
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(283):
> error C3861: 'write': identifier not found, even with argument-dependent
> lookup
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(317):
> error C3861: '_commit': identifier not found, even with argument-dependent
> lookup
>
> E:\Build\Source\qgis-svn\src\core\spatialindex\storagemanager\DiskStorageManager.cc(340):
> error C3861: 'lseek': identifier not found, even with argument-dependent
> lookup
>
>
>
> Later in the build process, I get a bunch of errors about failing to find
> qgis_core.lib, but I assume that it is because qgis_core.lib failed to build
> due to the errors above.  I'm obviously missing something here, any ideas
> what?
>
>
>
> Thanks,
>
> Rob McCulley
>
> GIS Coordinator
>
> County of Vermilion River
>
> (780) 846-2244
>
> www.vermilion-river.ab.ca
>
>
> _______________________________________________
>  Qgis-developer mailing list
>  Qgis-developer at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qgssearchstringparser.cpp
Type: text/x-c++src
Size: 48808 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080403/166ae91e/qgssearchstringparser-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qgssearchstringparser.hpp
Type: text/x-c++hdr
Size: 2688 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080403/166ae91e/qgssearchstringparser-0003.bin


More information about the Qgis-developer mailing list