diff --git a/Examples/IO/CMakeLists.txt b/Examples/IO/CMakeLists.txt
index 2562738267199ce0d0cbb986a7c284b0a781ad61..8cd3bf8e60e9cf617b804ee4dad88525a2b5c28f 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 ea0693a6acef865f88dc31eb7ddf74342de9bee0..6fc3fbcd1403dafd7df1f992294e01b253fdb459 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}
    //