[QGIS-Developer] How to build qgis on Windows 10

Deimer Caldera deimer.caldera at blacksquare.com.co
Wed Dec 21 07:04:43 PST 2022


I have tried to build qgis from source with this document https://github.com/qgis/QGIS/blob/ltr-3_22/INSTALL.md but I got many errors. Recently I found this guide

https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg52306.html but the build gives me some errors (error LNK2019: unresolved external symbol).



..\qgis-3.22.13\out\build\x64-Release\qgsrasterhistogramwidget.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QwtPlotCurve::setSamples(class QVector<class QPointF> const &)" (__imp_?setSamples at QwtPlotCurve@@QEAAXAEBV?$QVector at VQPointF@@@@@Z) referenced in function "public: void __cdecl QgsRasterHistogramWidget::refreshHistogram(void)" (?refreshHistogram at QgsRasterHistogramWidget@@QEAAXXZ)



..\qgis-3.22.13\out\build\x64-Release\qgscurveeditorwidget.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QwtPlotCurve::setSamples(class QVector<class QPointF> const &)" (__imp_?setSamples at QwtPlotCurve@@QEAAXAEBV?$QVector at VQPointF@@@@@Z)



..\qgis-3.22.13\out\build\x64-Release\qgsgradientcolorrampdialog.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QwtPlotCurve::setSamples(class QVector<class QPointF> const &)" (__imp_?setSamples at QwtPlotCurve@@QEAAXAEBV?$QVector at VQPointF@@@@@Z)



..\qgis-3.22.13\out\build\x64-Release\qgsrasterhistogramwidget.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QwtPlotHistogram::setSamples(class QVector<class QwtIntervalSample> const &)" (__imp_?setSamples at QwtPlotHistogram@@QEAAXAEBV?$QVector at VQwtIntervalSample@@@@@Z) referenced in function "public: void __cdecl QgsRasterHistogramWidget::refreshHistogram(void)" (?refreshHistogram at QgsRasterHistogramWidget@@QEAAXXZ)



..\qgis-3.22.13\out\build\x64-Release\qgscurveeditorwidget.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QwtPlotHistogram::setSamples(class QVector<class QwtIntervalSample> const &)" (__imp_?setSamples at QwtPlotHistogram@@QEAAXAEBV?$QVector at VQwtIntervalSample@@@@@Z)



..\qgis-3.22.13\out\build\x64-Release\qgshistogramwidget.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QwtPlotHistogram::setSamples(class QVector<class QwtIntervalSample> const &)" (__imp_?setSamples at QwtPlotHistogram@@QEAAXAEBV?$QVector at VQwtIntervalSample@@@@@Z)



..\qgis-3.22.13\out\build\x64-Release\output\bin\qgis_gui.dll : fatal error LNK1120: 2 unresolved externals



Am I missing a package to install?

Is there any updated documentation to make the build successful?



Thank you so much for your attention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221221/3c32ba4a/attachment.htm>


More information about the QGIS-Developer mailing list