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

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Wed Dec 21 07:23:04 PST 2022


QwtPlotCurve sounds like you are missing QWT? This is documented in the 
up-to-date documentation at 
https://github.com/qgis/QGIS/blob/master/INSTALL.md#2-overview and has 
been written in that document for at least two years.

Am 21.12.22 um 16:04 schrieb Deimer Caldera via QGIS-Developer:
> 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.
>
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Johannes Kröger / GIS-Entwickler/-Berater

---------------------------------------------
Schon gewusst?


In unserem Blog geben wir Tipps & Tricks zu
Open-Source-GIS-Software und berichten aus
unserem Experten-Alltag:
https://wheregroup.com/blog/
---------------------------------------------

WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroeger at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221221/da290191/attachment.htm>


More information about the QGIS-Developer mailing list