[Qgis-developer] [Python] - MSVC build error
Tim Sutton
tim at linfiniti.com
Thu Mar 27 09:35:15 EDT 2008
Hi Martin
When trying to build python bindings under MSVC express I get this
(see below). Any idea whats going on?
Regards
Tim
------ Build started: Project: python, Configuration: RelWithDebInfo
Win32 ------
Generating core/core.pyd
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
link /NOLOGO /DLL /SUBSYSTEM:WINDOWS /INCREMENTAL:NO /OUT:core.pyd
@C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm321.tmp
Creating library core.lib and object core.exp
sipcoreQgsVectorDataProvider.obj : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: virtual void __thiscall
QgsVectorDataProvider::getUniqueValues(int,class QStringList &)"
(__imp_?getUniqueValues at QgsVectorDataProvider@@UAEXHAAVQStringList@@@Z)
referenced in function "protected: virtual void __thiscall
sipQgsVectorDataProvider::getUniqueValues(int,class QStringList &)"
(?getUniqueValues at sipQgsVectorDataProvider@@MAEXHAAVQStringList@@@Z)
core.pyd : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\bin\link.EXE"' : return code '0x460'
Stop.
Project : error PRJ0019: A tool returned an error code from
"Generating core/core.pyd"
Build log was saved at
"file://c:\dev\cpp\qgis\build\python\python.dir\RelWithDebInfo\BuildLog.htm"
python - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ========
--
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
More information about the Qgis-developer
mailing list