Package Details: orfeo-toolbox 9.1.0-1

Git Clone URL: https://aur.archlinux.org/orfeo-toolbox.git (read-only, click to copy)
Package Base: orfeo-toolbox
Description: ORFEO Toolbox (OTB) is an open source library of image processing algorithms
Upstream URL: http://www.orfeo-toolbox.org
Licenses: CeCILL
Submitter: ArArgyridis
Maintainer: ArArgyridis
Last Packager: ArArgyridis
Votes: 15
Popularity: 0.000000
First Submitted: 2011-09-01 07:08 (UTC)
Last Updated: 2024-11-06 09:12 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

dobedobedo commented on 2024-10-10 04:24 (UTC)

Here's the PKGBUILD I used for 9.1:

# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>
# Contributor: Tu Yu-Hsuan <dobe0331@gmail.com>

pkgname=orfeo-toolbox
pkgver=9.1.0
_pkgver=9.1
pkgrel=1
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org"
license=('CeCILL')
groups=()
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
makedepends=('git' 'swig' 'cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=

source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
        "package.patch"
        "git+https://github.com/jmichel-otb/GKSVM.git")
noextract=()

md5sums=('5755c0f319ab374e3b433d1b15c96149'
         '28eca0a5a7d488745b62c23ea3a3f0bf'
         'SKIP')


_gitname="GKSVM"


prepare() {
    cd $srcdir
    patch -Np1 -i ../package.patch
    cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
    #commenting version detection for FindMUParser.cmake since it causes an error
    sed -i '62 s/^/#/' $srcdir/CMake/FindMuParser.cmake
    sed -i '63 s/^/#/' $srcdir/CMake/FindMuParser.cmake
    #disable shark in learning group
    sed -i '143 s/^/#/' $srcdir/CMake/OTBGroups.cmake
    sed -i '147 s/^/#/' $srcdir/CMake/OTBGroups.cmake
}



build() {
  cd $srcdir/

if  [ -d "$srcdir/build/" ]; then
   rm -rf $srcdir/build/
 fi
mkdir $srcdir/build/

  cd $srcdir/build

  LC_ALL=C cmake ../ \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_EXAMPLES=OFF \
  -DBUILD_TESTING=OFF \
  -DOTB_USE_CURL=ON \
  -DOTB_WRAP_PYTHON=ON \
  -DBUILD_SHARED_LIBS=ON \
  -DOTBGroup_FeaturesExtraction=ON \
  -DOTBGroup_Hyperspectral=ON \
  -DOTBGroup_Learning=ON \
  -DOTBGroup_Miscellaneous=ON \
  -DOTBGroup_Remote=ON \
  -DOTBGroup_SAR=ON \
  -DOTBGroup_Segmentation=ON \
  -DOTBGroup_StereoProcessing=ON \
  -DOTB_USE_OPENCV=ON \
  -DOTB_USE_MUPARSER=ON \
  -DOTB_USE_MUPARSERX=ON \
  -DOTB_USE_LIBKML=ON \
  -DOTB_USE_LIBSVM=ON \
  -DOTB_USE_OPENMP=ON \
  -DOTB_USE_6S=ON \
  -DOTB_DATA_USE_LARGEINPUT=ON \
  -DOTB_USE_SHARK=OFF \
  -DITK_DIR=/opt/insight-toolkit4 \
  -DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
  -DCMAKE_CXX_STANDARD=17 \
  -DBoost_USE_STATIC_LIBS=ON

  LC_ALL=C make

}

package() {
  # Install an ldconfig conf for Orfeo libs to be visible on the
  # system. Arch runs `ldconfig' after install automatically:
  echo "/usr/lib/otb
  /usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
  install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"

  cd "$srcdir/"build
  make DESTDIR="$pkgdir" install
  mkdir ${pkgdir}/usr/bin/tools/
  cp "$srcdir/Packaging/Files/post_install.sh.in" "${pkgdir}/usr/bin/tools/"

}

dobedobedo commented on 2024-09-24 12:11 (UTC) (edited on 2024-09-26 22:46 (UTC) by dobedobedo)

Hi @ArArgyridis,
I used this PKGBUILD to build the package with Learning and 6S enabled:

# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>
# Contributor: Tu Yu-Hsuan <dobe0331@gmail.com>

pkgname=orfeo-toolbox
pkgver=9.0.0
_pkgver=9.0
pkgrel=7
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org"
license=('CeCILL')
groups=()
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
makedepends=('git' 'swig' 'cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=

source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
        "package.patch"
        "git+https://github.com/jmichel-otb/GKSVM.git")
noextract=()

md5sums=('96514ae349ded4498d1e105694f7af5a'
         '28eca0a5a7d488745b62c23ea3a3f0bf'
         'SKIP')


_gitname="GKSVM"


prepare() {
    cd $srcdir
    patch -Np1 -i ../package.patch
    cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
    #commenting version detection for FindMUParser.cmake since it causes an error
    sed -i '62 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    sed -i '63 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    #disable shark in learning group
    sed -i '143 s/^/#/' $srcdir/CMake/OTBGroups.cmake
    sed -i '147 s/^/#/' $srcdir/CMake/OTBGroups.cmake
    #Fix 6S issue
    sed -i 's/MAIN__()/int MAIN__()/' $srcdir/Modules/ThirdParty/6S/src/main.c
    sed -i 's/OTB_6S_MAIN__()/int OTB_6S_MAIN__()/' $srcdir/Modules/ThirdParty/6S/src/otb_main6S_program_call_function.c
}



build() {
  cd $srcdir/

if  [ -d "$srcdir/build/" ]; then
   rm -rf $srcdir/build/
 fi
mkdir $srcdir/build/

  cd $srcdir/build

  LC_ALL=C cmake ../ \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_EXAMPLES=OFF \
  -DBUILD_TESTING=OFF \
  -DOTB_USE_CURL=ON \
  -DOTB_WRAP_PYTHON=ON \
  -DBUILD_SHARED_LIBS=ON \
  -DOTBGroup_FeaturesExtraction=ON \
  -DOTBGroup_Hyperspectral=ON \
  -DOTBGroup_Learning=ON \
  -DOTBGroup_Miscellaneous=ON \
  -DOTBGroup_Remote=ON \
  -DOTBGroup_SAR=ON \
  -DOTBGroup_Segmentation=ON \
  -DOTBGroup_StereoProcessing=ON \
  -DOTB_USE_OPENCV=ON \
  -DOTB_USE_MUPARSER=ON \
  -DOTB_USE_MUPARSERX=ON \
  -DOTB_USE_LIBKML=ON \
  -DOTB_USE_LIBSVM=ON \
  -DOTB_USE_OPENMP=ON \
  -DOTB_USE_6S=ON \
  -DOTB_DATA_USE_LARGEINPUT=ON \
  -DOTB_USE_SHARK=OFF \
  -DITK_DIR=/opt/insight-toolkit4 \
  -DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
  -DCMAKE_CXX_STANDARD=17 \
  -DBoost_USE_STATIC_LIBS=ON

  LC_ALL=C make

}

package() {
  # Install an ldconfig conf for Orfeo libs to be visible on the
  # system. Arch runs `ldconfig' after install automatically:
  echo "/usr/lib/otb
  /usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
  install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"

  cd "$srcdir/"build
  make DESTDIR="$pkgdir" install
  mkdir ${pkgdir}/usr/bin/tools/
  cp "$srcdir/Packaging/Files/post_install.sh" "${pkgdir}/usr/bin/tools/"

}

dobedobedo commented on 2024-04-12 06:06 (UTC)

Hi @ArAngryidis,
Here's the new PKGBUILD that successfully compiles the Learning module with LibSVM and OpenCV support:

# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>
# Contributor: Tu Yu-Hsuan <dobe0331@gmail.com>

pkgname=orfeo-toolbox
pkgver=9.0.0
_pkgver=9.0
pkgrel=3
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org"
license=('CeCILL')
groups=()
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
makedepends=('git' 'swig' 'cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=

source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
        "git+https://github.com/jmichel-otb/GKSVM.git")
noextract=()

md5sums=('96514ae349ded4498d1e105694f7af5a'
         'SKIP')


_gitname="GKSVM"

prepare() {
    ## Module for monteverdi build
    echo $srcdir
    cd  $srcdir/  
    cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
    #commenting version detection for FindMUParser.cmake since it causes an error
    sed -i '62 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    sed -i '63 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    #disable shark in learning group
    sed -i '143 s/^/#/' $srcdir/CMake/OTBGroups.cmake
    sed -i '147 s/^/#/' $srcdir/CMake/OTBGroups.cmake

}

build() {
  cd $srcdir/

  if  [ -d "$srcdir/build/" ]; then
    rm -rf $srcdir/build/
  fi
  mkdir $srcdir/build/

  cd $srcdir/build

  cmake ../ \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_EXAMPLES=OFF \
  -DBUILD_TESTING=OFF \
  -DOTB_USE_CURL=ON \
  -DOTB_WRAP_PYTHON=ON \
  -DBUILD_SHARED_LIBS=ON \
  -DOTBGroup_FeaturesExtraction=ON \
  -DOTBGroup_Hyperspectral=ON \
  -DOTBGroup_Learning=ON \
  -DOTBGroup_Miscellaneous=ON \
  -DOTBGroup_Remote=ON \
  -DOTBGroup_SAR=ON \
  -DOTBGroup_Segmentation=ON \
  -DOTBGroup_StereoProcessing=ON \
  -DOTB_USE_OPENCV=ON \
  -DOTB_USE_MUPARSER=ON \
  -DOTB_USE_MUPARSERX=ON \
  -DOTB_USE_LIBKML=ON \
  -DOTB_USE_LIBSVM=ON \
  -DOTB_USE_OPENMP=ON \
  -DOTB_USE_6S=ON \
  -DOTB_DATA_USE_LARGEINPUT=ON \
  -DOTB_USE_SHARK=OFF \
  -DITK_DIR=/opt/insight-toolkit4 \
  -DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
  -DCMAKE_CXX_STANDARD=17 \
  -DBoost_USE_STATIC_LIBS=ON

  make

}

package() {
  # Install an ldconfig conf for Orfeo libs to be visible on the
  # system. Arch runs `ldconfig' after install automatically:
  echo "/usr/lib/otb
  /usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
  install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"

  cd "$srcdir/"build
  make DESTDIR="$pkgdir" install
}

dobedobedo commented on 2024-04-12 06:06 (UTC)

Hi @ArAngryidis,
Here's the new PKGBUILD that successfully compiles the Learning module with LibSVM and OpenCV support:

# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>
# Contributor: Tu Yu-Hsuan <dobe0331@gmail.com>

pkgname=orfeo-toolbox
pkgver=9.0.0
_pkgver=9.0
pkgrel=3
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org"
license=('CeCILL')
groups=()
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
makedepends=('git' 'swig' 'cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=

source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
        "git+https://github.com/jmichel-otb/GKSVM.git")
noextract=()

md5sums=('96514ae349ded4498d1e105694f7af5a'
         'SKIP')


_gitname="GKSVM"

prepare() {
    ## Module for monteverdi build
    echo $srcdir
    cd  $srcdir/  
    cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
    #commenting version detection for FindMUParser.cmake since it causes an error
    sed -i '62 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    sed -i '63 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    #disable shark in learning group
    sed -i '143 s/^/#/' $srcdir/CMake/OTBGroups.cmake
    sed -i '147 s/^/#/' $srcdir/CMake/OTBGroups.cmake

}

build() {
  cd $srcdir/

  if  [ -d "$srcdir/build/" ]; then
    rm -rf $srcdir/build/
  fi
  mkdir $srcdir/build/

  cd $srcdir/build

  cmake ../ \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_EXAMPLES=OFF \
  -DBUILD_TESTING=OFF \
  -DOTB_USE_CURL=ON \
  -DOTB_WRAP_PYTHON=ON \
  -DBUILD_SHARED_LIBS=ON \
  -DOTBGroup_FeaturesExtraction=ON \
  -DOTBGroup_Hyperspectral=ON \
  -DOTBGroup_Learning=ON \
  -DOTBGroup_Miscellaneous=ON \
  -DOTBGroup_Remote=ON \
  -DOTBGroup_SAR=ON \
  -DOTBGroup_Segmentation=ON \
  -DOTBGroup_StereoProcessing=ON \
  -DOTB_USE_OPENCV=ON \
  -DOTB_USE_MUPARSER=ON \
  -DOTB_USE_MUPARSERX=ON \
  -DOTB_USE_LIBKML=ON \
  -DOTB_USE_LIBSVM=ON \
  -DOTB_USE_OPENMP=ON \
  -DOTB_USE_6S=ON \
  -DOTB_DATA_USE_LARGEINPUT=ON \
  -DOTB_USE_SHARK=OFF \
  -DITK_DIR=/opt/insight-toolkit4 \
  -DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
  -DCMAKE_CXX_STANDARD=17 \
  -DBoost_USE_STATIC_LIBS=ON

  make

}

package() {
  # Install an ldconfig conf for Orfeo libs to be visible on the
  # system. Arch runs `ldconfig' after install automatically:
  echo "/usr/lib/otb
  /usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
  install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"

  cd "$srcdir/"build
  make DESTDIR="$pkgdir" install
}

dobedobedo commented on 2024-04-10 12:58 (UTC)

@ArArgyridis, I just found that OpenCV and LibSVM don't seem to be used for building learning modules if setting -DOTBGroup_Learning=OFF. I created an issue on their GitLab.

https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2388

Feel free to add your comments.

ArArgyridis commented on 2024-04-10 08:45 (UTC)

@dobedobedo thanks for this, I updated the package, and also removed qt5-base from make depedencies. I think that it's a bit of a mess with the compilation flags (had some similar issues with some other combinations of enabled/disabled flags) and I will try to submit a bug report to the OTB team.

dobedobedo commented on 2024-04-10 07:40 (UTC) (edited on 2024-04-10 08:01 (UTC) by dobedobedo)

I successfully compile with this PKGBUILD. Need to remove -DOTBGroup_Learning=ON to make -DOTB_USE_SHARK=OFF valid.

# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>

pkgname=orfeo-toolbox
pkgver=9.0.0
_pkgver=9.0
pkgrel=1
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org"
license=('CeCILL')
groups=()
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
makedepends=('git' 'swig' 'cmake' 'qt5-base')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=

source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
        "git+https://github.com/jmichel-otb/GKSVM.git")
noextract=()

md5sums=('96514ae349ded4498d1e105694f7af5a'
         'SKIP')


_gitname="GKSVM"

prepare() {
    ## Module for monteverdi build
    echo $srcdir
    cd  $srcdir/  
    cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
    #commenting version detection for FindMUParser.cmake since it causes an error
    sed -i '62 s/^/#/' $srcdir/CMake/FindMuParser.cmake 
    sed -i '63 s/^/#/' $srcdir/CMake/FindMuParser.cmake 

}

build() {
  cd $srcdir/

  if  [ -d "$srcdir/build/" ]; then
    rm -rf $srcdir/build/
  fi
  mkdir $srcdir/build/

  cd $srcdir/build

  cmake ../ \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_EXAMPLES=OFF \
  -DBUILD_TESTING=OFF \
  -DOTB_USE_CURL=ON \
  -DOTB_WRAP_PYTHON=ON \
  -DBUILD_SHARED_LIBS=ON \
  -DOTBGroup_FeaturesExtraction=ON \
  -DOTBGroup_Hyperspectral=ON \
  -DOTBGroup_Miscellaneous=ON \
  -DOTBGroup_Remote=ON \
  -DOTBGroup_SAR=ON \
  -DOTBGroup_Segmentation=ON \
  -DOTBGroup_StereoProcessing=ON \
  -DOTB_USE_OPENCV=ON \
  -DOTB_USE_MUPARSER=ON \
  -DOTB_USE_MUPARSERX=ON \
  -DOTB_USE_LIBKML=ON \
  -DOTB_USE_LIBSVM=ON \
  -DOTB_USE_OPENMP=ON \
  -DOTB_USE_6S=ON \
  -DOTB_DATA_USE_LARGEINPUT=ON \
  -DOTB_USE_SPTW=ON \
  -DOTB_USE_SPTW=ON \
  -DOTB_USE_SHARK=OFF \
  -DITK_DIR=/opt/insight-toolkit4 \
  -DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
  -DCMAKE_CXX_STANDARD=17 \
  -DBoost_USE_STATIC_LIBS=ON

  make

}

package() {
  # Install an ldconfig conf for Orfeo libs to be visible on the
  # system. Arch runs `ldconfig' after install automatically:
  echo "/usr/lib/otb
  /usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
  install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"

  cd "$srcdir/"build
  make DESTDIR="$pkgdir" install
}

dobedobedo commented on 2024-04-06 10:29 (UTC)

Hi @ArArgyridis, I cannot successfully compile even with -DOTB_USE_SHARK=OFF In addition, could you please add libkml as a dependency?

CMake Error at CMake/FindShark.cmake:66 (message):
  Cannot find SHARK_LIBRARY.  set it with cmake -DSHARK_LIBRARY=
Call Stack (most recent call first):
  Modules/ThirdParty/Shark/otb-module-init.cmake:21 (find_package)
  CMake/OTBModuleEnablement.cmake:277 (include)
  CMakeLists.txt:324 (include)


-- Configuring incomplete, errors occurred!

ArArgyridis commented on 2024-04-03 07:30 (UTC)

@qwertypoke I disabled support for shark-ml-git in the PKGBUILD and managed to build it. I had the shark-ml-git installed on this system and forgot to uninstall it. It should be OK now.

qwertypoke commented on 2024-04-02 19:17 (UTC) (edited on 2024-04-02 19:38 (UTC) by qwertypoke)

@ArArgyridis the build failed due to missing dependencies.

(_FPHSA_FAILURE_MESSAGE) CMake/FindLibKML.cmake:49 (find_package_handle_standard_args) Modules/ThirdParty/libkml/otb-module-init.cmake:21 (find_package) CMake/OTBModuleEnablement.cmake:277 (include) CMakeLists.txt:324 (include)

I installed libkml-git to get rid of this one.

On the next try I got:

CMake Error at CMake/FindShark.cmake:66 (message): Cannot find SHARK_LIBRARY. set it with cmake -DSHARK_LIBRARY= Call Stack (most recent call first): Modules/ThirdParty/Shark/otb-module-init.cmake:21 (find_package) CMake/OTBModuleEnablement.cmake:277 (include) CMakeLists.txt:324 (include)

I tried installing shark-ml-atlas-git that requires atlas.lapack. The latter does not compile. There seems to be a lot of configuration and tweeking needed to get it built. Have you been able to built all the dependencies for the Orfeo toolbox?