From d24bb448d785c4e136b2bc553af0196ff58eb895 Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Thu, 25 Oct 2007 09:22:53 +0000
Subject: [PATCH] Commit

---
 Examples/IO/CMakeLists.txt          | 7 ++++---
 Examples/IO/DEMToImageGenerator.cxx | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Examples/IO/CMakeLists.txt b/Examples/IO/CMakeLists.txt
index 2562738267..8cd3bf8e60 100644
--- a/Examples/IO/CMakeLists.txt
+++ b/Examples/IO/CMakeLists.txt
@@ -47,7 +47,8 @@ ADD_EXECUTABLE(DXFReaderExample DXFReaderExample.cxx )
 TARGET_LINK_LIBRARIES(DXFReaderExample OTBCommon OTBIO ITKCommon ITKIO dxf)
 
 ADD_EXECUTABLE(DEMToImageGenerator DEMToImageGenerator.cxx )
-TARGET_LINK_LIBRARIES(DEMToImageGenerator OTBProjections OTBCommon OTBIO ITKCommon ITKIO dxf otbossim)
+#TARGET_LINK_LIBRARIES(DEMToImageGenerator OTBProjections OTBCommon OTBIO ITKCommon ITKIO otbossim)
+TARGET_LINK_LIBRARIES(DEMToImageGenerator otbossimProjectionImaging otbossimElevation OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction  OTBLearning  OTBMultiScale OTBProjections gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon dxf otbossim)
 
 #ADD_EXECUTABLE(ImageReadExportVTK ImageReadExportVTK.cxx )
 #TARGET_LINK_LIBRARIES(ImageReadExportVTK ITKCommon ITKIO)
@@ -122,7 +123,7 @@ ADD_TEST(DEMToImageGeneratorTest ${EXE_TESTS}
         DEMToImageGeneratorTest
          ${INPUTDATA}/DEM_srtm
          ${TEMP}/DEMToImageGenerator.tif
-	 ${TEMP}/pretty_DEMToImageGenerator.tif	
+	 ${TEMP}/pretty_DEMToImageGenerator.png
          44.5
          6.5
          500
@@ -133,6 +134,6 @@ ADD_TEST(DEMToImageGeneratorTest ${EXE_TESTS}
 INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
 
 ADD_EXECUTABLE(otbIOExamplesTests otbIOExamplesTests.cxx)
-TARGET_LINK_LIBRARIES(otbIOExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction  OTBLearning  OTBMultiScale OTBProjections dxf otbossim)
+TARGET_LINK_LIBRARIES(otbIOExamplesTests otbossimProjectionImaging otbossimElevation OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction  OTBLearning  OTBMultiScale OTBProjections gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon dxf otbossim)
 
 ENDIF( NOT OTB_DISABLE_CXX_TESTING AND NOT OTB_DISABLE_CXX_EXAMPLES_TESTING )
diff --git a/Examples/IO/DEMToImageGenerator.cxx b/Examples/IO/DEMToImageGenerator.cxx
index ea0693a6ac..6fc3fbcd14 100644
--- a/Examples/IO/DEMToImageGenerator.cxx
+++ b/Examples/IO/DEMToImageGenerator.cxx
@@ -27,7 +27,7 @@
 //  DEM_srtm
 //  OUTPUTS: {DEMToImageGenerator.tif} , {pretty_DEMToImageGenerator.png}
 //  44.5 6.5 500 500 0.002
-//  OUTPUTS
+// 
 //  Software Guide : EndCommandLineArgs
 
 // Software Guide : BeginLatex
@@ -245,7 +245,7 @@ int main(int argc, char * argv[])
    //
    // \begin{figure} \center
    // \includegraphics[width=0.24\textwidth]{pretty_DEMToImageGenerator.eps}
-   // \itkcaption[ARVI Example]{DEMToImageGenerator iamge.}
+   // \itkcaption[ARVI Example]{DEMToImageGenerator image.}
    // \label{fig:DEMToImageGenerator}
    // \end{figure}
    //
-- 
GitLab