[Qgis-developer] MSVC Build Errors on advanced digitising branch

Tim Sutton tim at linfiniti.com
Fri Nov 23 04:45:59 EST 2007


Hi

I'm trying to make the win preview build for advanced editing branch
and I got this linking error below when compiling under msvc. Its
strange because the methods addPoint and movePoint in QgsRubberBand do
seem to be there and defined ok. Can anyone help? See below for
compiler log.

Thanks

------ Build started: Project: qgis, Configuration: Release Win32 ------
Linking...
   Creating library Release\qgis.lib and object Release\qgis.exp
qgsmeasuretool.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
QgsRubberBand::movePoint(class QgsPoint const &)"
(__imp_?movePoint at QgsRubberBand@@QAEXABVQgsPoint@@@Z) referenced in
function "public: virtual void __thiscall
QgsMeasureTool::canvasMoveEvent(class QMouseEvent *)"
(?canvasMoveEvent at QgsMeasureTool@@UAEXPAVQMouseEvent@@@Z)
qgsmeasuretool.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
QgsRubberBand::addPoint(class QgsPoint const &,bool)"
(__imp_?addPoint at QgsRubberBand@@QAEXABVQgsPoint@@_N at Z) referenced in
function "public: void __thiscall QgsMeasureTool::addPoint(class
QgsPoint &)" (?addPoint at QgsMeasureTool@@QAEXAAVQgsPoint@@@Z)
Release\qgis.exe : fatal error LNK1120: 2 unresolved externals
Build log was saved at
"file://c:\dev\cpp\qgis_advanced_editing\build\src\app\qgis.dir\Release\BuildLog.htm"
qgis - 3 error(s), 0 warning(s)
------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
"Build all projects"
Build log was saved at
"file://c:\dev\cpp\qgis_advanced_editing\build\ALL_BUILD.dir\Release\BuildLog.htm"
ALL_BUILD - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 1 failed, 20 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