История изменений
Исправление rustamych, (текущая версия) :
Эта ошибка пропала (я включил оба -lGLU -lz, с одним -lGLU ошибка остается), но теперь другая куча ошибок, с которой вообще непонятно что делать. Такое чувство, что не смогу я его победить :(. Почему-то спойлер не работает.
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::accept()':
GriddingDialog.cpp:(.text+0x505): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
GriddingDialog.cpp:(.text+0x61d): undefined reference to `idwcalc(idwinterpolant&, ap::template_1d_array<double, true> const&)'
GriddingDialog.cpp:(.text+0x6ac): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x6bd): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x6ce): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x6f0): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x701): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x712): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::accept()':
GriddingDialog.cpp:(.text+0x847): undefined reference to `idwbuildnoisy(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x877): undefined reference to `idwbuildmodifiedshepardr(ap::template_2d_array<double, true> const&, int, int, double, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x8d4): undefined reference to `idwbuildmodifiedshepard(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x8ef): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x911): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x922): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x962): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x989): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x99f): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::preview()':
GriddingDialog.cpp:(.text+0x11ae): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
GriddingDialog.cpp:(.text+0x12fb): undefined reference to `idwcalc(idwinterpolant&, ap::template_1d_array<double, true> const&)'
GriddingDialog.cpp:(.text+0x13cd): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x13de): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x13ef): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1411): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1422): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x1433): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::preview()':
GriddingDialog.cpp:(.text+0x155d): undefined reference to `idwbuildmodifiedshepard(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x1591): undefined reference to `idwbuildmodifiedshepardr(ap::template_2d_array<double, true> const&, int, int, double, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x15e6): undefined reference to `idwbuildnoisy(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x16a8): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x16ca): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1724): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x173f): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1761): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x1772): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::loadDataFromTable()':
GriddingDialog.cpp:(.text+0x1e56): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::GriddingDialog(Table*, QString const&, int, QWidget*, QFlags<Qt::WindowType>)':
GriddingDialog.cpp:(.text+0x449e): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o: In function `kdtree::~kdtree()':
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x16): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x27): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x49): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x5a): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x7c): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/MatrixModel.o: In function `MatrixModel::resample(int, int, int)':
MatrixModel.cpp:(.text+0x494e): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
MatrixModel.cpp:(.text+0x49a4): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x49f9): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
MatrixModel.cpp:(.text+0x4b1d): undefined reference to `spline2dresamplebicubic(ap::template_2d_array<double, true> const&, int, int, ap::template_2d_array<double, true>&, int, int)'
MatrixModel.cpp:(.text+0x4bc2): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x4bd1): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x4c17): undefined reference to `spline2dresamplebilinear(ap::template_2d_array<double, true> const&, int, int, ap::template_2d_array<double, true>&, int, int)'
MatrixModel.cpp:(.text+0x4c43): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x4c5d): undefined reference to `ap::afree(void*)'
collect2: error: ld returned 1 exit status
Makefile:677: ошибка выполнения рецепта для цели «qtiplot»
make[1]: *** [qtiplot] Ошибка 1
Исходная версия rustamych, :
Эта ошибка пропала (я включил оба -lGLU -lz, с одним -lGLU ошибка остается), но теперь другая куча ошибок, с которой вообще непонятно что делать. Такое чувство, что не смогу я его победить :(.
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::accept()':
GriddingDialog.cpp:(.text+0x505): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
GriddingDialog.cpp:(.text+0x61d): undefined reference to `idwcalc(idwinterpolant&, ap::template_1d_array<double, true> const&)'
GriddingDialog.cpp:(.text+0x6ac): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x6bd): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x6ce): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x6f0): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x701): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x712): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::accept()':
GriddingDialog.cpp:(.text+0x847): undefined reference to `idwbuildnoisy(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x877): undefined reference to `idwbuildmodifiedshepardr(ap::template_2d_array<double, true> const&, int, int, double, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x8d4): undefined reference to `idwbuildmodifiedshepard(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x8ef): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x911): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x922): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x962): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x989): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x99f): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::preview()':
GriddingDialog.cpp:(.text+0x11ae): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
GriddingDialog.cpp:(.text+0x12fb): undefined reference to `idwcalc(idwinterpolant&, ap::template_1d_array<double, true> const&)'
GriddingDialog.cpp:(.text+0x13cd): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x13de): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x13ef): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1411): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1422): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x1433): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::preview()':
GriddingDialog.cpp:(.text+0x155d): undefined reference to `idwbuildmodifiedshepard(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x1591): undefined reference to `idwbuildmodifiedshepardr(ap::template_2d_array<double, true> const&, int, int, double, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x15e6): undefined reference to `idwbuildnoisy(ap::template_2d_array<double, true> const&, int, int, int, int, int, idwinterpolant&)'
GriddingDialog.cpp:(.text+0x16a8): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x16ca): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1724): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x173f): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text+0x1761): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text+0x1772): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::loadDataFromTable()':
GriddingDialog.cpp:(.text+0x1e56): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
../tmp/qtiplot/GriddingDialog.o: In function `GriddingDialog::GriddingDialog(Table*, QString const&, int, QWidget*, QFlags<Qt::WindowType>)':
GriddingDialog.cpp:(.text+0x449e): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o: In function `kdtree::~kdtree()':
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x16): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x27): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x49): undefined reference to `ap::afree(void*)'
GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x5a): undefined reference to `ap::afree(void*)'
../tmp/qtiplot/GriddingDialog.o:GriddingDialog.cpp:(.text._ZN6kdtreeD2Ev[_ZN6kdtreeD5Ev]+0x7c): more undefined references to `ap::afree(void*)' follow
../tmp/qtiplot/MatrixModel.o: In function `MatrixModel::resample(int, int, int)':
MatrixModel.cpp:(.text+0x494e): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
MatrixModel.cpp:(.text+0x49a4): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x49f9): undefined reference to `ap::amalloc(unsigned long, unsigned long)'
MatrixModel.cpp:(.text+0x4b1d): undefined reference to `spline2dresamplebicubic(ap::template_2d_array<double, true> const&, int, int, ap::template_2d_array<double, true>&, int, int)'
MatrixModel.cpp:(.text+0x4bc2): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x4bd1): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x4c17): undefined reference to `spline2dresamplebilinear(ap::template_2d_array<double, true> const&, int, int, ap::template_2d_array<double, true>&, int, int)'
MatrixModel.cpp:(.text+0x4c43): undefined reference to `ap::afree(void*)'
MatrixModel.cpp:(.text+0x4c5d): undefined reference to `ap::afree(void*)'
collect2: error: ld returned 1 exit status
Makefile:677: ошибка выполнения рецепта для цели «qtiplot»
make[1]: *** [qtiplot] Ошибка 1