I've been able to get ahead from this step: Building QGIS source code on Windows 7 - Not working
I'm trying to build the latest QGIS(2.10.1) using Visual Studio 10 Express but getting these unresolved symbols while building "ALL BUILD".
In the Cmake-gui I can see these variables as undefined: QWTPOLAR_INCLUDE_DIR
and QWTPOLAR_LIBRARY
.
Build configuration is set to Release.
I remember while building the solution itself it showed a couple failures.
All the unresolved symbols start with Qwt in "ALL BUILD" for example:
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
What could be causing it?