[Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

Noli Sicad nsicad at gmail.com
Wed Aug 29 01:24:18 PDT 2012


Hi Julien.

Thanks.

> You are missing the last argument in the cmake command line, specifying
> the source directory.
> Read again the command line provided by William, and don't miss the ".."
>

I am almost there :-).

gdal problem.

######

Last login: Wed Aug 29 15:29:48 on ttys011
Nolis-MacBook-Pro:build nsicad$ cmake -D
CMAKE_INSTALL_PREFIX=/usr/local -D CMAKE_BUILD_TYPE=MinSizeRel -D
CMAKE_OSX_ARCHITECTURES="x86_64" -D CMAKE_OSX_DEPLOYMENT_TARGET="10.8"
-D CMAKE_OSX_SYSROOT="/Developer/SDKs/MacOSX10.8.sdk" -D
OTB_WRAP_QT=OFF -D OTB_WRAP_JAVA=OFF -D OTB_WRAP_PYTHON=OFF -D
BUILD_APPLICATIONS=ON -D OTB_USE_VISU_GUI=OFF -D
TIFF_LIBRARY=/Library/Frameworks/UnixImageIO.framework -D
GEOTIFF_LIBRARY=/Library/Frameworks/UnixImageIO.framework -D
JPEG_LIBRARY=/Library/Frameworks/UnixImageIO.framework -D
USE_OPENMP=OFF -D CMAKE_INSTALL_NAME_DIR=/usr/local/lib/otb ..
-- Repository status :
--   Mercurial version is 2.3
--   Repository revision is 0bbc4e4c5374
--   No files modified locally
-- Importing GDAL...
--   GDAL includes : /usr/local/include
--   GDAL library  : /usr/local/lib/libgdal.dylib
CMake Error at CMake/ImportGdal.cmake:37 (MESSAGE):
  gdal-config not found or set to a wrong path.  Please check
  GDALCONFIG_EXECUTABLE
Call Stack (most recent call first):
  CMakeLists.txt:212 (INCLUDE)


-- Configuring incomplete, errors occurred!
Nolis-MacBook-Pro:build nsicad$

#####

Same problem with your script, (i.e. gdal problem as well).

I will post the error after this.

Noli


More information about the Qgis-developer mailing list