构建QGIS时未解析的符号

时间:2015-10-08 14:23:28

标签: qgis

我已经能够从这一步开始:Building QGIS source code on Windows 7 - Not working

我正在尝试使用Visual Studio 10 Express构建最新的QGIS(2.10.1),但在构建“ALL BUILD”时获取这些未解析的符号。

在Cmake-gui,我可以看到这些变量未定义:QWTPOLAR_INCLUDE_DIRQWTPOLAR_LIBRARY

构建配置设置为Release。

我记得在构建解决方案时,它显示了一些失败。

所有未解决的符号都以“ALL BUILD”中的Qwt开头,例如:

     Creating library d:/build/src/gui/Release/qgis_gui.lib and object d:/build/src/gui/Release/qgis_gui.exp
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QwtPlot::print(class QPainter *,class QRect const &,class QwtPlotPrintFilter const &)const " (?print@QwtPlot@@UBEXPAVQPainter@@ABVQRect@@ABVQwtPlotPrintFilter@@@Z)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QwtPlot::print(class QPainter *,class QRect const &,class QwtPlotPrintFilter const &)const " (?print@QwtPlot@@UBEXPAVQPainter@@ABVQRect@@ABVQwtPlotPrintFilter@@@Z)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QwtPlot::polish(void)" (?polish@QwtPlot@@UAEXXZ)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QwtPlot::polish(void)" (?polish@QwtPlot@@UAEXXZ)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QwtPlot::clear(void)" (?clear@QwtPlot@@UAEXXZ)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QwtPlot::clear(void)" (?clear@QwtPlot@@UAEXXZ)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::drawItems(class QPainter *,class QRect const &,class QwtScaleMap const * const,class QwtPlotPrintFilter const &)const " (?drawItems@QwtPlot@@MBEXPAVQPainter@@ABVQRect@@QBVQwtScaleMap@@ABVQwtPlotPrintFilter@@@Z)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::drawItems(class QPainter *,class QRect const &,class QwtScaleMap const * const,class QwtPlotPrintFilter const &)const " (?drawItems@QwtPlot@@MBEXPAVQPainter@@ABVQRect@@QBVQwtScaleMap@@ABVQwtPlotPrintFilter@@@Z)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printLegendItem(class QPainter *,class QWidget const *,class QRect const &)const " (?printLegendItem@QwtPlot@@MBEXPAVQPainter@@PBVQWidget@@ABVQRect@@@Z)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printLegendItem(class QPainter *,class QWidget const *,class QRect const &)const " (?printLegendItem@QwtPlot@@MBEXPAVQPainter@@PBVQWidget@@ABVQRect@@@Z)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printTitle(class QPainter *,class QRect const &)const " (?printTitle@QwtPlot@@MBEXPAVQPainter@@ABVQRect@@@Z)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printTitle(class QPainter *,class QRect const &)const " (?printTitle@QwtPlot@@MBEXPAVQPainter@@ABVQRect@@@Z)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printScale(class QPainter *,int,int,int,int,class QRect const &)const " (?printScale@QwtPlot@@MBEXPAVQPainter@@HHHHABVQRect@@@Z)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printScale(class QPainter *,int,int,int,int,class QRect const &)const " (?printScale@QwtPlot@@MBEXPAVQPainter@@HHHHABVQRect@@@Z)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printCanvas(class QPainter *,class QRect const &,class QRect const &,class QwtScaleMap const * const,class QwtPlotPrintFilter const &)const " (?printCanvas@QwtPlot@@MBEXPAVQPainter@@ABVQRect@@1QBVQwtScaleMap@@ABVQwtPlotPrintFilter@@@Z)
81>qgshistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printCanvas(class QPainter *,class QRect const &,class QRect const &,class QwtScaleMap const * const,class QwtPlotPrintFilter const &)const " (?printCanvas@QwtPlot@@MBEXPAVQPainter@@ABVQRect@@1QBVQwtScaleMap@@ABVQwtPlotPrintFilter@@@Z)
81>qgsrasterhistogramwidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QwtPlot::printLegend(class QPainter *,class QRec

可能导致什么?

0 个答案:

没有答案