Hi
This is a known problem in the develop branch right now. We are fixing it:
https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/merge_requests/188
In the meantime you should probably use the master branch to get the latest
release, or the specific release you want with branch release-6.6 for example:
git checkout master
Victor Poughon
> -----Message d'origine-----
> De : [email protected] <[email protected]> De la part de
> ym2018
> Envoyé : mercredi 1 août 2018 18:29
> À : [email protected]
> Objet : [otb-users] Unable to build OTB (6.7) example on Ubuntu 18
>
> Hy all I've create a Ubuntu docker like so :
>
> FROM ubuntu:18.04
>
> RUN apt-get update
> RUN apt-get install -y build-essential git cmake wget
>
> #Clone Sources
> RUN mkdir ~/OTB
> RUN cd ~/OTB && git clone
> https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb.git
>
> RUN mkdir ~/OTB/build
> RUN mkdir ~/OTB/install
>
> #BUILD
> RUN cd ~/OTB/build && cmake -D CMAKE_INSTALL_PREFIX=~/OTB/install
> ~/OTB/otb/SuperBuild -DOTB_USE_QWT=OFF -DOTB_USE_GLFW=OFF -DOTB_USE_GLEW=OFF
> -DOTB_USE_GLUT=OFF -
> DOTB_USE_OPENGL=OFF -DOTB_USE_QT=OFF -DOTB_USE_OPENGL=OFF
> -DOTB_WRAP_PYTHON=OFF RUN cd ~/OTB/build &&
> make
>
> Everything is ok!
>
> Despite I'm unable to build OTB_examples:
> there is my error :
>
> root/OTB/install/include/OTB-6.7/otbGDALImageIO.h:119:3: error: no match for
> 'operator<<' (operand
> types are 'std::basic_ostream<char>' and 'const NoDataListType {aka const
> std::vector<std::pair<int, double> >}')
>
> Is Someone know how to solve that issue ?
>
> thanks for attention.
>
>
>
>
> --
> Sent from: http://otb-users.37221.n3.nabble.com/
>
> --
> --
> 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 otb-
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
--
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.