[Qgis-developer] Raster algebra C++

Jürgen E. Fischer jef at norbit.de
Thu Oct 14 15:02:17 EDT 2010


Hi Alexander,

On Thu, 14. Oct 2010 at 20:58:01 +0300, Alexander Bruy wrote:
> I change line 1304 as
>  res[i] = pow(double(value1), double(mat[i]));

value1 is already double.   So casting mat[i] should be enough.

> and the I get another errors:
> 
> qgisapp.obj : error LNK2019: unresolved external symbol "public: __thiscall QgsRasterCalculator::~QgsRasterCalculator(void)" (??1QgsRasterCalculator@@QAE at XZ) referenced in function "private: void __thiscall QgisApp::showRasterCalculator(void)" (?showRasterCalculator at QgisApp@@AAEXXZ)
> qgisapp.obj : error LNK2019: unresolved external symbol "public: int __thiscall QgsRasterCalculator::processCalculation(class QProgressDialog *)" (?processCalculation at QgsRasterCalculator@@QAEHPAVQProgressDialog@@@Z) referenced in function "private: void __thiscall QgisApp::showRasterCalculator(void)" (?showRasterCalculator at QgisApp@@AAEXXZ)
> qgisapp.obj : error LNK2019: unresolved external symbol "public: __thiscall QgsRasterCalculator::QgsRasterCalculator(class QString const &,class QString const &,class QString const &,class QgsRectangle const &,int,int,class QVector<struct QgsRasterCalculatorEntry> const &)" (??0QgsRasterCalculator@@QAE at ABVQString@@00ABVQgsRectangle@@HHABV?$QVector at UQgsRasterCalculatorEntry@@@@@Z) referenced in function "private: void __thiscall QgisApp::showRasterCalculator(void)" (?showRasterCalculator at QgisApp@@AAEXXZ)

Add ANALYSIS_EXPORT to the QgsRasterCalculator declaration in
src/analysis/raster/qgsrastercalculator.h:39:

class ANALYSIS_EXPORT QgsRasterCalculator


Jürgen 

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list