Hello, OTB users!
I'm trying to compile OTB and Monteverdi on Ubuntu 16.04 using the
SuperBuild. Following the Software Guide, I used the following cmake
command :
cmake -D CMAKE_INSTALL_PREFIX=~/soft/OTB/install -D BUILD_EXAMPLES=1 -D
BUILD_TESTING=1 -D OTB_BUILD_DEFAULT_MODULES=1 -D OTB_WRAP_PYTHON=1 -D
USE_SYSTEM_CURL=1 -D USE_SYSTEM_GDAL=1 -D USE_SYSTEM_GEOTIFF=1 -D
USE_SYSTEM_ITK=1 -D USE_SYSTEM_OPENCV=1 -D USE_SYSTEM_OPENTHREADS=1 -D
USE_SYSTEM_PNG=1 -D USE_SYSTEM_TINYXML=1 -D ENABLE_MONTEVERDI=1 -D
OTB_USE_QT4=1 -D OTB_USE_GLUT=1 -D OTB_USE_GLFW=1 -D OTB_USE_GLEW=1 -D
OTB_USE_BOOST=1 -D OTB_USE_OPENCV=1 ../otb/SuperBuild
But then when I launch the make command, I end up getting the following
error :
[ 44%] Building CXX object
Modules/Learning/Supervised/src/CMakeFiles/OTBSupervised.dir/otbCvRTreesWrapper.cxx.o
In file included from
/home/tugdual/soft/OTB/otb/Modules/Learning/Supervised/src/otbCvRTreesWrapper.cxx:18:0:
/home/tugdual/soft/OTB/otb/Modules/Learning/Supervised/include/otbCvRTreesWrapper.h:33:1:
error: expected class-name before ‘{’ token
I searched around a way to solve this problem but could not find anything
working. Has anyone got any idea how to get rid of this error ?
Thanks!
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.