Hi Robin,

It looks like the compiler is using the OTB version installed on your platform (hence the location of sources in /usr/local/include/otb). Check that the CMake variable OTB_DIR points to your local build directory of OTB v3.20

Regards,
Guillaume

Le 26/08/2014 19:52, Robin Holler a écrit :

Hi Guillaume,

many thanks for your answer! Saved me wasting further time on these Applications with OTB4. But since I want to use the Urban and Road Extraction Application I will have to build the OTB-Applications. These are missing in OTB4 application folder.

So I compiled OTB 3.2 as well ... went through ... but guess what: OTB-Applications still didn't. I tried with "External_ITK off", so OTB 3.2 built its own ITK. But while trying to compile the OTB-Applications these two errors appeared:

|
Infile included from/usr/local/include/otb/UtilitiesAdapters/ITKPendingPatches/itkUnaryFunctorImageFilter.h:134:0,
from/usr/local/include/otb/Common/otbImageToVectorImageCastFilter.h:21,
from/opt/OTB/OTB-32/OTB-Applications-32/Legacy/Segmentation/View/otbVectorizationViewGUI.h:35,
from/opt/OTB/OTB-32/OTB-Applications-32/Legacy/Segmentation/View/otbVectorizationViewGUI.cxx:18:
/usr/local/include/otb/UtilitiesAdapters/ITKPendingPatches/itkUnaryFunctorImageFilter.hxx:22:38:fatal error:itkImageScanlineIterator.h:Dateioder Verzeichnisnicht gefunden
#include"itkImageScanlineIterator.h"
^
compilation terminated.
Infile included from/usr/local/include/otb/Common/otbImageRegionTileMapSplitter.h:25:0,
from/usr/local/include/otb/IO/otbTileMapImageIO.h:30,
from/usr/local/include/otb/IO/otbImageFileReader.txx:44,
from/usr/local/include/otb/IO/otbImageFileReader.h:202,
from/opt/OTB/OTB-32/OTB-Applications-32/Legacy/Segmentation/Model/otbSegmentationApplicationModel.h:24,
from/opt/OTB/OTB-32/OTB-Applications-32/Legacy/Segmentation/View/otbSegmentationApplicationViewGUI.h:31,
from/opt/OTB/OTB-32/OTB-Applications-32/Legacy/Segmentation/View/otbSegmentationApplicationViewGUI.cxx:18:
/usr/local/include/otb/UtilitiesAdapters/ITKPendingPatches/itkImageRegionSplitter.h:22:40:fatal error:itkImageRegionSplitterBase.h:Dateioder Verzeichnisnicht gefunden
#include"itkImageRegionSplitterBase.h"
^
compilation terminated.
make[2]:***[Legacy/Segmentation/CMakeFiles/otbMVCSegmentation.dir/View/otbVectorizationViewGUI.cxx.o]Fehler1
make[2]:***[Legacy/Segmentation/CMakeFiles/otbMVCSegmentation.dir/View/otbSegmentationApplicationViewGUI.cxx.o]Fehler1
|

Well, so ITK seems still a problem though compiled. So I tried to compile ITK 3.20.1 externally ... but this didn't work either. Error around KdTreeBasedKMeansClustering.

It's simply not my day, I guess. :'(


I just want to use urban and road extraction. Maybe I should try OsGEO? But I suppose I'll find only the OTB4 applications inside, not the "OTB-Applications" I'm looking for ...

Well, I'd be thankful for suggestions,
regards,

Robin
--
--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
<www.c-s.fr>      *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département APPLICATIONS*

*CS Systèmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]

--
--
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.

Reply via email to