samtux
5/10/2016 - 12:31 AM

Error compiling SAGA GIS 2.2.7 in Arch Linux

Error compiling SAGA GIS 2.2.7 in Arch Linux

...
/usr/include/features.h:331:4: aviso: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_fourier.lo -MD -MP -MF .deps/opencv_fourier.Tpo -c opencv_fourier.cpp -o opencv_fourier.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_morphology.lo -MD -MP -MF .deps/opencv_morphology.Tpo -c opencv_morphology.cpp -o opencv_morphology.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT MLB_Interface.lo -MD -MP -MF .deps/MLB_Interface.Tpo -c MLB_Interface.cpp -o MLB_Interface.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv.lo -MD -MP -MF .deps/opencv.Tpo -c opencv.cpp -o opencv.o >/dev/null 2>&1
depbase=`echo opencv_nnet.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..   -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_nnet.lo -MD -MP -MF $depbase.Tpo -c -o opencv_nnet.lo opencv_nnet.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo opencv_stereo_match.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..   -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_stereo_match.lo -MD -MP -MF $depbase.Tpo -c -o opencv_stereo_match.lo opencv_stereo_match.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_nnet.lo -MD -MP -MF .deps/opencv_nnet.Tpo -c opencv_nnet.cpp  -fPIC -DPIC -o .libs/opencv_nnet.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_stereo_match.lo -MD -MP -MF .deps/opencv_stereo_match.Tpo -c opencv_stereo_match.cpp  -fPIC -DPIC -o .libs/opencv_stereo_match.o
In file included from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.1.1/cmath:41,
                 from /usr/include/c++/6.1.1/math.h:36,
                 from ../../../../src/saga_core/saga_api/api_core.h:102,
                 from ../../../../src/saga_core/saga_api/geo_tools.h:77,
                 from ../../../../src/saga_core/saga_api/mat_tools.h:77,
                 from ../../../../src/saga_core/saga_api/dataobject.h:84,
                 from ../../../../src/saga_core/saga_api/table.h:77,
                 from ../../../../src/saga_core/saga_api/grid.h:77,
                 from ../../../../src/saga_core/saga_api/parameters.h:77,
                 from ../../../../src/saga_core/saga_api/module.h:76,
                 from ../../../../src/saga_core/saga_api/module_library.h:77,
                 from ../../../../src/saga_core/saga_api/saga_api.h:118,
                 from MLB_Interface.h:66,
                 from opencv_nnet.h:66,
                 from opencv_nnet.cpp:62:
/usr/include/features.h:331:4: aviso: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
In file included from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.1.1/cmath:41,
                 from /usr/include/c++/6.1.1/math.h:36,
                 from ../../../../src/saga_core/saga_api/api_core.h:102,
                 from ../../../../src/saga_core/saga_api/geo_tools.h:77,
                 from ../../../../src/saga_core/saga_api/mat_tools.h:77,
                 from ../../../../src/saga_core/saga_api/dataobject.h:84,
                 from ../../../../src/saga_core/saga_api/table.h:77,
                 from ../../../../src/saga_core/saga_api/grid.h:77,
                 from ../../../../src/saga_core/saga_api/parameters.h:77,
                 from ../../../../src/saga_core/saga_api/module.h:76,
                 from ../../../../src/saga_core/saga_api/module_library.h:77,
                 from ../../../../src/saga_core/saga_api/saga_api.h:118,
                 from MLB_Interface.h:66,
                 from opencv.h:73,
                 from opencv_stereo_match.h:73,
                 from opencv_stereo_match.cpp:62:
/usr/include/features.h:331:4: aviso: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
depbase=`echo opencv_svd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..   -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_svd.lo -MD -MP -MF $depbase.Tpo -c -o opencv_svd.lo opencv_svd.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_svd.lo -MD -MP -MF .deps/opencv_svd.Tpo -c opencv_svd.cpp  -fPIC -DPIC -o .libs/opencv_svd.o
In file included from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
                 from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.1.1/cmath:41,
                 from /usr/include/c++/6.1.1/math.h:36,
                 from ../../../../src/saga_core/saga_api/api_core.h:102,
                 from ../../../../src/saga_core/saga_api/geo_tools.h:77,
                 from ../../../../src/saga_core/saga_api/mat_tools.h:77,
                 from ../../../../src/saga_core/saga_api/dataobject.h:84,
                 from ../../../../src/saga_core/saga_api/table.h:77,
                 from ../../../../src/saga_core/saga_api/grid.h:77,
                 from ../../../../src/saga_core/saga_api/parameters.h:77,
                 from ../../../../src/saga_core/saga_api/module.h:76,
                 from ../../../../src/saga_core/saga_api/module_library.h:77,
                 from ../../../../src/saga_core/saga_api/saga_api.h:118,
                 from MLB_Interface.h:66,
                 from opencv.h:73,
                 from opencv_svd.h:73,
                 from opencv_svd.cpp:62:
/usr/include/features.h:331:4: aviso: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
opencv_nnet.cpp: En la función miembro ‘virtual bool COpenCV_NNet::On_Execute()’:
opencv_nnet.cpp:325:2: error: ‘CvANN_MLP_TrainParams’ no se declaró en este ámbito
  CvANN_MLP_TrainParams tp_trainParams;
  ^~~~~~~~~~~~~~~~~~~~~
opencv_nnet.cpp:326:2: error: ‘CvANN_MLP’ no se declaró en este ámbito
  CvANN_MLP    model;
  ^~~~~~~~~
opencv_nnet.cpp:430:2: error: ‘tp_trainParams’ no se declaró en este ámbito
  tp_trainParams = CvANN_MLP_TrainParams();
  ^~~~~~~~~~~~~~
opencv_nnet.cpp:437:33: error: ‘CvANN_MLP_TrainParams’ no es una clase, un espacio de nombres o una enumeración
   tp_trainParams.train_method = CvANN_MLP_TrainParams::RPROP;
                                 ^~~~~~~~~~~~~~~~~~~~~
opencv_nnet.cpp:447:33: error: ‘CvANN_MLP_TrainParams’ no es una clase, un espacio de nombres o una enumeración
   tp_trainParams.train_method = CvANN_MLP_TrainParams::BACKPROP;
                                 ^~~~~~~~~~~~~~~~~~~~~
opencv_nnet.cpp:456:3: error: ‘model’ no se declaró en este ámbito
   model.create(mat_neuralLayers);
   ^~~~~
opencv_nnet.cpp:460:3: error: ‘model’ no se declaró en este ámbito
   model.create(mat_neuralLayers, CvANN_MLP::GAUSSIAN, d_alpha, d_beta);
   ^~~~~
opencv_nnet.cpp:460:34: error: ‘CvANN_MLP’ no es una clase, un espacio de nombres o una enumeración
   model.create(mat_neuralLayers, CvANN_MLP::GAUSSIAN, d_alpha, d_beta);
                                  ^~~~~~~~~
opencv_nnet.cpp:471:2: error: ‘model’ no se declaró en este ámbito
  model.train(mat_data[0], mat_data[1], NULL, NULL, tp_trainParams);
  ^~~~~
Makefile:511: fallo en las instrucciones para el objetivo 'opencv_nnet.lo'
make[5]: *** [opencv_nnet.lo] Error 1
make[5]: *** Se espera a que terminen otras tareas....
opencv_stereo_match.cpp: En la función miembro ‘virtual bool COpenCV_Stereo_Match::On_Execute()’:
opencv_stereo_match.cpp:194:15: error: no se puede declarar que la variable ‘bm’ sea del tipo abstracto ‘cv::StereoBM’
  cv::StereoBM bm;//(CV_STEREO_BM_BASIC, maxDisp);
               ^~
In file included from /usr/include/opencv2/calib3d/calib3d.hpp:48:0,
                 from opencv_stereo_match.cpp:64:
/usr/include/opencv2/calib3d.hpp:1614:20: nota:   porque las siguientes funciones virtual son pure dentro de ‘cv::StereoBM’:
 class CV_EXPORTS_W StereoBM : public StereoMatcher
                    ^~~~~~~~
/usr/include/opencv2/calib3d.hpp:1588:26: nota: 	virtual void cv::StereoMatcher::compute(cv::InputArray, cv::InputArray, cv::OutputArray)
     CV_WRAP virtual void compute( InputArray left, InputArray right,
                          ^~~~~~~
/usr/include/opencv2/calib3d.hpp:1591:25: nota: 	virtual int cv::StereoMatcher::getMinDisparity() const
     CV_WRAP virtual int getMinDisparity() const = 0;
                         ^~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1592:26: nota: 	virtual void cv::StereoMatcher::setMinDisparity(int)
     CV_WRAP virtual void setMinDisparity(int minDisparity) = 0;
                          ^~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1594:25: nota: 	virtual int cv::StereoMatcher::getNumDisparities() const
     CV_WRAP virtual int getNumDisparities() const = 0;
                         ^~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1595:26: nota: 	virtual void cv::StereoMatcher::setNumDisparities(int)
     CV_WRAP virtual void setNumDisparities(int numDisparities) = 0;
                          ^~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1597:25: nota: 	virtual int cv::StereoMatcher::getBlockSize() const
     CV_WRAP virtual int getBlockSize() const = 0;
                         ^~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1598:26: nota: 	virtual void cv::StereoMatcher::setBlockSize(int)
     CV_WRAP virtual void setBlockSize(int blockSize) = 0;
                          ^~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1600:25: nota: 	virtual int cv::StereoMatcher::getSpeckleWindowSize() const
     CV_WRAP virtual int getSpeckleWindowSize() const = 0;
                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1601:26: nota: 	virtual void cv::StereoMatcher::setSpeckleWindowSize(int)
     CV_WRAP virtual void setSpeckleWindowSize(int speckleWindowSize) = 0;
                          ^~~~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1603:25: nota: 	virtual int cv::StereoMatcher::getSpeckleRange() const
     CV_WRAP virtual int getSpeckleRange() const = 0;
                         ^~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1604:26: nota: 	virtual void cv::StereoMatcher::setSpeckleRange(int)
     CV_WRAP virtual void setSpeckleRange(int speckleRange) = 0;
                          ^~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1606:25: nota: 	virtual int cv::StereoMatcher::getDisp12MaxDiff() const
     CV_WRAP virtual int getDisp12MaxDiff() const = 0;
                         ^~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1607:26: nota: 	virtual void cv::StereoMatcher::setDisp12MaxDiff(int)
     CV_WRAP virtual void setDisp12MaxDiff(int disp12MaxDiff) = 0;
                          ^~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1621:25: nota: 	virtual int cv::StereoBM::getPreFilterType() const
     CV_WRAP virtual int getPreFilterType() const = 0;
                         ^~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1622:26: nota: 	virtual void cv::StereoBM::setPreFilterType(int)
     CV_WRAP virtual void setPreFilterType(int preFilterType) = 0;
                          ^~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1624:25: nota: 	virtual int cv::StereoBM::getPreFilterSize() const
     CV_WRAP virtual int getPreFilterSize() const = 0;
                         ^~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1625:26: nota: 	virtual void cv::StereoBM::setPreFilterSize(int)
     CV_WRAP virtual void setPreFilterSize(int preFilterSize) = 0;
                          ^~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1627:25: nota: 	virtual int cv::StereoBM::getPreFilterCap() const
     CV_WRAP virtual int getPreFilterCap() const = 0;
                         ^~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1628:26: nota: 	virtual void cv::StereoBM::setPreFilterCap(int)
     CV_WRAP virtual void setPreFilterCap(int preFilterCap) = 0;
                          ^~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1630:25: nota: 	virtual int cv::StereoBM::getTextureThreshold() const
     CV_WRAP virtual int getTextureThreshold() const = 0;
                         ^~~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1631:26: nota: 	virtual void cv::StereoBM::setTextureThreshold(int)
     CV_WRAP virtual void setTextureThreshold(int textureThreshold) = 0;
                          ^~~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1633:25: nota: 	virtual int cv::StereoBM::getUniquenessRatio() const
     CV_WRAP virtual int getUniquenessRatio() const = 0;
                         ^~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1634:26: nota: 	virtual void cv::StereoBM::setUniquenessRatio(int)
     CV_WRAP virtual void setUniquenessRatio(int uniquenessRatio) = 0;
                          ^~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1636:25: nota: 	virtual int cv::StereoBM::getSmallerBlockSize() const
     CV_WRAP virtual int getSmallerBlockSize() const = 0;
                         ^~~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1637:26: nota: 	virtual void cv::StereoBM::setSmallerBlockSize(int)
     CV_WRAP virtual void setSmallerBlockSize(int blockSize) = 0;
                          ^~~~~~~~~~~~~~~~~~~
/usr/include/opencv2/calib3d.hpp:1639:26: nota: 	virtual cv::Rect cv::StereoBM::getROI1() const
     CV_WRAP virtual Rect getROI1() const = 0;
                          ^~~~~~~
/usr/include/opencv2/calib3d.hpp:1640:26: nota: 	virtual void cv::StereoBM::setROI1(cv::Rect)
     CV_WRAP virtual void setROI1(Rect roi1) = 0;
                          ^~~~~~~
/usr/include/opencv2/calib3d.hpp:1642:26: nota: 	virtual cv::Rect cv::StereoBM::getROI2() const
     CV_WRAP virtual Rect getROI2() const = 0;
                          ^~~~~~~
/usr/include/opencv2/calib3d.hpp:1643:26: nota: 	virtual void cv::StereoBM::setROI2(cv::Rect)
     CV_WRAP virtual void setROI2(Rect roi2) = 0;
                          ^~~~~~~
opencv_stereo_match.cpp:197:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->roi1     = roi1;
     ^~~~~
opencv_stereo_match.cpp:198:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->roi2     = roi2;
     ^~~~~
opencv_stereo_match.cpp:199:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->preFilterCap   = 31;
     ^~~~~
opencv_stereo_match.cpp:200:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->SADWindowSize   = BlockSize > 0 ? BlockSize : 9;
     ^~~~~
opencv_stereo_match.cpp:201:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->minDisparity   = 0;
     ^~~~~
opencv_stereo_match.cpp:202:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->numberOfDisparities = maxDisp;
     ^~~~~
opencv_stereo_match.cpp:203:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->textureThreshold  = 10;
     ^~~~~
opencv_stereo_match.cpp:204:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->uniquenessRatio  = 15;
     ^~~~~
opencv_stereo_match.cpp:205:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->speckleWindowSize  = 100;
     ^~~~~
opencv_stereo_match.cpp:206:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->speckleRange   = 32;
     ^~~~~
opencv_stereo_match.cpp:207:5: error: ‘class cv::StereoBM’ has no member named ‘state’; did you mean ‘save’?
  bm.state->disp12MaxDiff   = 1;
     ^~~~~
opencv_stereo_match.cpp:216:35: error: no hay coincidencia para la llamada a ‘(cv::StereoBM) (cv::Mat&, cv::Mat&, cv::Mat&, int)’
  bm(Left, Right, Disparity, CV_32F);
                                   ^
Makefile:511: fallo en las instrucciones para el objetivo 'opencv_stereo_match.lo'
make[5]: *** [opencv_stereo_match.lo] Error 1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -g -DDEBUG -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT opencv_svd.lo -MD -MP -MF .deps/opencv_svd.Tpo -c opencv_svd.cpp -o opencv_svd.o >/dev/null 2>&1
make[5]: se sale del directorio '/home/samtux/makepkg/saga-gis/src/saga-2.2.7/src/modules/imagery/imagery_opencv'
Makefile:384: fallo en las instrucciones para el objetivo 'all-recursive'
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio '/home/samtux/makepkg/saga-gis/src/saga-2.2.7/src/modules/imagery'
Makefile:384: fallo en las instrucciones para el objetivo 'all-recursive'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio '/home/samtux/makepkg/saga-gis/src/saga-2.2.7/src/modules'
Makefile:384: fallo en las instrucciones para el objetivo 'all-recursive'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio '/home/samtux/makepkg/saga-gis/src/saga-2.2.7/src'
Makefile:490: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/home/samtux/makepkg/saga-gis/src/saga-2.2.7'
Makefile:401: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
==> ERROR: Se produjo un fallo en build().
    Cancelando…