Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 190
    • Issues 190
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Issues
  • #1592
Closed
Open
Created May 23, 2018 by Bas Couwenberg@sebasticContributor

OTB 6.6-rc1 fails to build on Debian unstable (fatal error: shark/Models/Classifier.h: No such file or directory)

Description

OTB 6.6-rc1 fails to build on Debian unstable because it cannot find a shark header:

make -f Modules/Applications/AppClassification/app/CMakeFiles/otbapp_MultiImageSamplingRate.dir/build.make Modules/Applications/AppClassification/app/CMakeFiles/otbapp_MultiImageSamplingRate.dir/depend
In file included from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModelFactory.txx:28:0,
                 from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModelFactory.h:74,
                 from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbMachineLearningModelFactory.txx:45,
                 from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbMachineLearningModelFactory.h:81,
                 from /build/otb-6.6.0~rc1+dfsg/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx:33:
/build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.h:39:10: fatal error: shark/Models/Classifier.h: No such file or directory
 #include <shark/Models/Classifier.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

This header is not included in libshark-dev (3.1.4+ds1-1)

Steps to reproduce

Build OTB 6.6-rc1 with -DOTB_USE_SHARK:BOOL=ON on Debian unstable.

Configuration information

Debian unstable, OTB 6.6-rc1.

Assignee
Assign to
Time tracking