Noli,
Le 29/08/2012 06:14, Noli Sicad a écrit :
Hi William,
Thanks having a go with this.
I am using Mountain Lion (10.8.1).
Would it help if I am going to create this folder,
/Developer/SDKs and copy the MacOSX10.8.sdk from Xcode?
The end result would be like this (below) for the directory
-D CMAKE_OSX_SYSROOT="/Developer/SDKs/MacOSX10.8.sdk"
#####
Now, I did this.
#######
Nolis-MacBook-Pro:OTB nsicad$ mkdir build
Nolis-MacBook-Pro:OTB nsicad$ cd build
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
CMake Error: The source directory
"/Users/nsicad/Documents/Work_1new/OTB/build/CMAKE_INSTALL_NAME_DIR=/usr/local/lib/otb"
does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Nolis-MacBook-Pro:build nsicad$
######
Do have any idea why I am getting this error ?
CMake Error: The source directory "/Users/nsicad/Documents/Work_1new/OTB/build
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 ".."
Julien
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer