compilation problems advanced_editing_branch

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

compilation problems advanced_editing_branch

Rhys A.D. Stewart
Hi all,

USING
r7069
win2k
qt 4.3.0
msys makefiles.


get the following :
--------------------------------------------------------------------------------------------------------------------------
[ 58%] Building CXX object src/app/CMakeFiles/qgis.dir/moc_qgsnewconnection.obj
[ 58%] Building CXX object src/app/CMakeFiles/qgis.dir/moc_qgspgquerybuilder.obj

[ 58%] Building CXX object src/app/CMakeFiles/qgis.dir/moc_qgspythondialog.obj
Linking CXX executable qgis.exe
CMakeFiles/qgis.dir/qgsmaptooladdfeature.obj(.text+0xac6): In function `ZN20QgsM
apToolAddFeature18canvasReleaseEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdfeature.cpp:98: undefine
d reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QList
<QgsSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptooladdvertex.obj(.text+0x476): In function `ZN19QgsMa
pToolAddVertex15canvasMoveEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdvertex.cpp:38: undefined
 reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QList<
QgsSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptooladdvertex.obj(.text+0x618): In function `ZN19QgsMa
pToolAddVertex16canvasPressEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdvertex.cpp:52: undefined
 reference to `QgsMapCanvasSnapper::snapToCurrentLayer(QPoint const&, QList<QgsS
nappingResult>&, QgsSnapper::SNAP_TO)'
CMakeFiles/qgis.dir/qgsmaptooladdvertex.obj(.text+0x89e): In function `ZN19QgsMa
pToolAddVertex18canvasReleaseEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdvertex.cpp:84: undefined
 reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QList<
QgsSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x26d): In function `ZN17QgsMapT
oolCaptureC2EP12QgsMapCanvasNS_11CaptureToolE':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:44: undefined r
eference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x47b): In function `ZN17QgsMapT
oolCaptureC1EP12QgsMapCanvasNS_11CaptureToolE':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:44: undefined r
eference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x932): In function `ZN17QgsMapT
oolCapture15canvasMoveEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:59: undefined r
eference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QList<Qg
sSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x1280): In function `ZN17QgsMap
ToolCapture9addVertexERK6QPoint':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:121: undefined
reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QList<Q
gsSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptooldeletevertex.obj(.text+0x4a8): In function `ZN22Qg
sMapToolDeleteVertex16canvasPressEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooldeletevertex.cpp:45: undefi
ned reference to `QgsMapCanvasSnapper::snapToCurrentLayer(QPoint const&, QList<Q
gsSnappingResult>&, QgsSnapper::SNAP_TO)'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x16a): In function `ZN14QgsMapTool
EditC2EP12QgsMapCanvas':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:22: undefined refe
rence to `QgsMapCanvasSnapper::QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x186):c:/dev/cpp/advanced_editing_
branch/src/app/qgsmaptooledit.cpp:23: undefined reference to `QgsMapCanvasSnappe
r::setMapCanvas(QgsMapCanvas*)'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x1b4):c:/dev/cpp/advanced_editing_
branch/src/app/qgsmaptooledit.cpp:23: undefined reference to `QgsMapCanvasSnappe
r::~QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x26e): In function `ZN14QgsMapTool
EditC1EP12QgsMapCanvas':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:22: undefined refe
rence to `QgsMapCanvasSnapper::QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x28a):c:/dev/cpp/advanced_editing_
branch/src/app/qgsmaptooledit.cpp:23: undefined reference to `QgsMapCanvasSnappe
r::setMapCanvas(QgsMapCanvas*)'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x2b8):c:/dev/cpp/advanced_editing_
branch/src/app/qgsmaptooledit.cpp:23: undefined reference to `QgsMapCanvasSnappe
r::~QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x357): In function `ZN14QgsMapTool
EditD2Ev':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:28: undefined refe
rence to `QgsMapCanvasSnapper::~QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x425): In function `ZN14QgsMapTool
EditD1Ev':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:28: undefined refe
rence to `QgsMapCanvasSnapper::~QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x4f3): In function `ZN14QgsMapTool
EditD0Ev':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:28: undefined refe
rence to `QgsMapCanvasSnapper::~QgsMapCanvasSnapper()'
CMakeFiles/qgis.dir/qgsmaptoolmovevertex.obj(.text+0x7f2): In function `ZN20QgsM
apToolMoveVertex15canvasMoveEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolmovevertex.cpp:52: undefine
d reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QList
<QgsSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptoolmovevertex.obj(.text+0xa28): In function `ZN20QgsM
apToolMoveVertex16canvasPressEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolmovevertex.cpp:74: undefine
d reference to `QgsMapCanvasSnapper::snapToCurrentLayer(QPoint const&, QList<Qgs
SnappingResult>&, QgsSnapper::SNAP_TO)'
CMakeFiles/qgis.dir/qgsmaptoolmovevertex.obj(.text+0xddc): In function `ZN20QgsM
apToolMoveVertex18canvasReleaseEventEP11QMouseEvent':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolmovevertex.cpp:130: undefin
ed reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&, QLis
t<QgsSnappingResult>&)'
CMakeFiles/qgis.dir/qgsmaptoolvertexedit.obj(.text+0x184): In function `ZN20QgsM
apToolVertexEditC2EP12QgsMapCanvas':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolvertexedit.cpp:34: undefine
d reference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
CMakeFiles/qgis.dir/qgsmaptoolvertexedit.obj(.text+0x284): In function `ZN20QgsM
apToolVertexEditC1EP12QgsMapCanvas':
c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolvertexedit.cpp:34: undefine
d reference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [src/app/qgis.exe] Error 1
mingw32-make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
mingw32-make: *** [all] Error 2

C:\dev\cpp\advanced_editing_branch\_build>
------------------------------------------------------------------------------------------------------------------------------------------

should i be sending this as a bug report? i mean as a ticket on the trac site?


Rhys

_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: compilation problems advanced_editing_branch

Hugentobler  Marco
Hi Rhys,

Compilation of this branch works now on mingw/windows with r7070

Marco

On Thursday 12 July 2007 20:18:26 Rhys Stewart wrote:

> Hi all,
>
> USING
> r7069
> win2k
> qt 4.3.0
> msys makefiles.
>
>
> get the following :
> ---------------------------------------------------------------------------
>----------------------------------------------- [ 58%] Building CXX object
> src/app/CMakeFiles/qgis.dir/moc_qgsnewconnection.obj
> [ 58%] Building CXX object
> src/app/CMakeFiles/qgis.dir/moc_qgspgquerybuilder.obj
>
> [ 58%] Building CXX object
> src/app/CMakeFiles/qgis.dir/moc_qgspythondialog.obj
> Linking CXX executable qgis.exe
> CMakeFiles/qgis.dir/qgsmaptooladdfeature.obj(.text+0xac6): In function
> `ZN20QgsM
> apToolAddFeature18canvasReleaseEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdfeature.cpp:98:
> undefine
> d reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QList
> <QgsSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptooladdvertex.obj(.text+0x476): In function
> `ZN19QgsMa
> pToolAddVertex15canvasMoveEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdvertex.cpp:38:
> undefined
>  reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QList<
> QgsSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptooladdvertex.obj(.text+0x618): In function
> `ZN19QgsMa
> pToolAddVertex16canvasPressEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdvertex.cpp:52:
> undefined
>  reference to `QgsMapCanvasSnapper::snapToCurrentLayer(QPoint const&,
> QList<QgsS
> nappingResult>&, QgsSnapper::SNAP_TO)'
> CMakeFiles/qgis.dir/qgsmaptooladdvertex.obj(.text+0x89e): In function
> `ZN19QgsMa
> pToolAddVertex18canvasReleaseEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooladdvertex.cpp:84:
> undefined
>  reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QList<
> QgsSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x26d): In function
> `ZN17QgsMapT
> oolCaptureC2EP12QgsMapCanvasNS_11CaptureToolE':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:44:
> undefined r
> eference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
> CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x47b): In function
> `ZN17QgsMapT
> oolCaptureC1EP12QgsMapCanvasNS_11CaptureToolE':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:44:
> undefined r
> eference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
> CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x932): In function
> `ZN17QgsMapT
> oolCapture15canvasMoveEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:59:
> undefined r
> eference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QList<Qg
> sSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptoolcapture.obj(.text+0x1280): In function
> `ZN17QgsMap
> ToolCapture9addVertexERK6QPoint':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolcapture.cpp:121:
> undefined
> reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QList<Q
> gsSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptooldeletevertex.obj(.text+0x4a8): In function
> `ZN22Qg
> sMapToolDeleteVertex16canvasPressEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooldeletevertex.cpp:45:
> undefi
> ned reference to `QgsMapCanvasSnapper::snapToCurrentLayer(QPoint const&,
> QList<Q
> gsSnappingResult>&, QgsSnapper::SNAP_TO)'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x16a): In function
> `ZN14QgsMapTool
> EditC2EP12QgsMapCanvas':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:22: undefined
> refe
> rence to `QgsMapCanvasSnapper::QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x186):c:/dev/cpp/advanced_edi
>ting_ branch/src/app/qgsmaptooledit.cpp:23: undefined reference to
> `QgsMapCanvasSnappe
> r::setMapCanvas(QgsMapCanvas*)'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x1b4):c:/dev/cpp/advanced_edi
>ting_ branch/src/app/qgsmaptooledit.cpp:23: undefined reference to
> `QgsMapCanvasSnappe
> r::~QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x26e): In function
> `ZN14QgsMapTool
> EditC1EP12QgsMapCanvas':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:22: undefined
> refe
> rence to `QgsMapCanvasSnapper::QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x28a):c:/dev/cpp/advanced_edi
>ting_ branch/src/app/qgsmaptooledit.cpp:23: undefined reference to
> `QgsMapCanvasSnappe
> r::setMapCanvas(QgsMapCanvas*)'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x2b8):c:/dev/cpp/advanced_edi
>ting_ branch/src/app/qgsmaptooledit.cpp:23: undefined reference to
> `QgsMapCanvasSnappe
> r::~QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x357): In function
> `ZN14QgsMapTool
> EditD2Ev':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:28: undefined
> refe
> rence to `QgsMapCanvasSnapper::~QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x425): In function
> `ZN14QgsMapTool
> EditD1Ev':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:28: undefined
> refe
> rence to `QgsMapCanvasSnapper::~QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptooledit.obj(.text+0x4f3): In function
> `ZN14QgsMapTool
> EditD0Ev':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptooledit.cpp:28: undefined
> refe
> rence to `QgsMapCanvasSnapper::~QgsMapCanvasSnapper()'
> CMakeFiles/qgis.dir/qgsmaptoolmovevertex.obj(.text+0x7f2): In function
> `ZN20QgsM
> apToolMoveVertex15canvasMoveEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolmovevertex.cpp:52:
> undefine
> d reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QList
> <QgsSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptoolmovevertex.obj(.text+0xa28): In function
> `ZN20QgsM
> apToolMoveVertex16canvasPressEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolmovevertex.cpp:74:
> undefine
> d reference to `QgsMapCanvasSnapper::snapToCurrentLayer(QPoint const&,
> QList<Qgs
> SnappingResult>&, QgsSnapper::SNAP_TO)'
> CMakeFiles/qgis.dir/qgsmaptoolmovevertex.obj(.text+0xddc): In function
> `ZN20QgsM
> apToolMoveVertex18canvasReleaseEventEP11QMouseEvent':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolmovevertex.cpp:130:
> undefin
> ed reference to `QgsMapCanvasSnapper::snapToBackgroundLayers(QPoint const&,
> QLis
> t<QgsSnappingResult>&)'
> CMakeFiles/qgis.dir/qgsmaptoolvertexedit.obj(.text+0x184): In function
> `ZN20QgsM
> apToolVertexEditC2EP12QgsMapCanvas':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolvertexedit.cpp:34:
> undefine
> d reference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
> CMakeFiles/qgis.dir/qgsmaptoolvertexedit.obj(.text+0x284): In function
> `ZN20QgsM
> apToolVertexEditC1EP12QgsMapCanvas':
> c:/dev/cpp/advanced_editing_branch/src/app/qgsmaptoolvertexedit.cpp:34:
> undefine
> d reference to `QgsMapCanvasSnapper::setMapCanvas(QgsMapCanvas*)'
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [src/app/qgis.exe] Error 1
> mingw32-make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
> mingw32-make: *** [all] Error 2
>
> C:\dev\cpp\advanced_editing_branch\_build>
> ---------------------------------------------------------------------------
>---------------------------------------------------------------
>
> should i be sending this as a bug report? i mean as a ticket on the trac
> site?
>
>
> Rhys



--
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee
[hidden email]
_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user