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

Noli Sicad nsicad at gmail.com
Wed Aug 29 01:26:00 PDT 2012


Hi Julien,

OK.

> Check the cmake variables and verify they point to actual directories.
> You are getting this error since the cmake variable you are using are
> not defined.
>

I inserted this:

SET (CTEST_BINARY_DIRECTORY  "/Users/nsicad/Documents/Work_1new/OTB/build")

I got gdal problem as well (see logs below).

Thanks.

Noli

###############

Nolis-MacBook-Pro:OTB nsicad$ ctest -S otb.cmake -VV
* Extra verbosity turned on
Reading Script: /Users/nsicad/Documents/Work_1new/OTB/otb.cmake
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
Run dashboard with model Nightly
   Source directory: /Users/nsicad/Documents/Work_1new/OTB
   Build directory: /Users/nsicad/Documents/Work_1new/OTB/build
   Reading ctest configuration file:
/Users/nsicad/Documents/Work_1new/OTB/CTestConfig.cmake
SetCTestConfigurationFromCMakeVariable:NightlyStartTime:CTEST_NIGHTLY_START_TIME
SetCTestConfiguration:NightlyStartTime:20:00:00 CEST
SetCTestConfigurationFromCMakeVariable:Site:CTEST_SITE
SetCTestConfiguration:Site:leod.c-s.fr
SetCTestConfigurationFromCMakeVariable:BuildName:CTEST_BUILD_NAME
SetCTestConfiguration:BuildName:MacOSX10.8-Release
   Site: leod.c-s.fr
   Build name: MacOSX10.8-Release
Determine Nightly Start Time
   Specified time: 20:00:00 CEST
   Use Nightly tag: 20120828-1800
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
SetCTestConfigurationFromCMakeVariable:HGCommand:CTEST_HG_COMMAND
SetCTestConfiguration:HGCommand:/usr/local/bin/hg
SetCTestConfigurationFromCMakeVariable:HGUpdateOptions:CTEST_HG_UPDATE_OPTIONS
SetCTestConfiguration:HGUpdateOptions:-C
SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
   Updating the repository: /Users/nsicad/Documents/Work_1new/OTB
   Use HG repository type
   Old revision of repository is: 0bbc4e4c5374
   New revision of repository is: 0bbc4e4c5374
   Gathering version information (one . per revision):

SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
SetCTestConfiguration:ConfigureCommand:"/Applications/CMake
2.8-8.app/Contents/bin/cmake" "-GUnix Makefiles"
"/Users/nsicad/Documents/Work_1new/OTB"
SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
Configure project
Configure with command: "/Applications/CMake
2.8-8.app/Contents/bin/cmake" "-GUnix Makefiles"
"/Users/nsicad/Documents/Work_1new/OTB"
Run command: "/Applications/CMake 2.8-8.app/Contents/bin/cmake"
"-GUnix Makefiles" "/Users/nsicad/Documents/Work_1new/OTB"
   Each . represents 1024 bytes of output
    .-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Repository status :
--   Mercurial version is 2.3
--   Repository revision is 0bbc4e4c5374
.--   No files modified locally
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of void*
-- Check size of void* - done
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for include files sys/types.h, sys/prctl.h
-- Looking for include files sys/types.h, sys/prctl.h - not found.
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
.-- Check if the system is big endian - little endian
-- Looking for XOpenDisplay in
/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in
/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.dylib
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
-- Importing GDAL...
-- Found GDAL: /usr/local/lib/libgdal.dylib
.--   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!
 Size of output: 3K
Command exited with the value: 1
Error(s) when configuring the project
 Add coverage exclude regular expressions.
 Add coverage exclude: /CMakeFiles/CMakeTmp/
 Add coverage exclude: .*/Testing/Utilities/.*
 Add coverage exclude: .*/Utilities/.*
 Add coverage exclude: .*/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.*
 Add coverage exclude: .*/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.*
SetCTestConfiguration:MakeCommand:/usr/bin/make -j8 -i -k
SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
Build project
MakeCommand:/usr/bin/make -j8 -i -k
Run command: "/usr/bin/make" "-j8" "-i" "-k"
   Each symbol represents 1024 bytes of output.
   '!' represents an error and '*' a warning.
    !make: *** No targets specified and no makefile found.  Stop.
 Size of output: 0K
Command exited with the value: 2
MakeCommand:/usr/bin/make -j8 -i -k
Error(s) when building project
   1 Compiler errors
   1 Compiler warnings
SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
Test project /Users/nsicad/Documents/Work_1new/OTB/build
Constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
No tests were found!!!
SetCTestConfiguration:DropMethod:http
SetCTestConfiguration:DropSite:dash.orfeo-toolbox.org
SetCTestConfiguration:DropLocation:/submit.php?project=OTB
SetCTestConfiguration:IsCDash:TRUE
	Add file: /Users/nsicad/Documents/Work_1new/OTB/otb.cmake
	Add file: /Users/nsicad/Documents/Work_1new/OTB/build/pull_result.txt
Problem reading file:
/Users/nsicad/Documents/Work_1new/OTB/build/pull_result.txt while
creating notes
	Add file: /Users/nsicad/Documents/Work_1new/OTB/build/CMakeCache.txt
SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB
Submit files (using http)
   Using HTTP submit method
   Drop site:http://dash.orfeo-toolbox.org/submit.php?project=OTB
   Upload file:
/Users/nsicad/Documents/Work_1new/OTB/build/Testing/20120828-1800/Build.xml
to http://dash.orfeo-toolbox.org/submit.php?project=OTB&FileName=leod.c-s.fr___MacOSX10.8-Release___20120828-1800-Nightly___XML___Build.xml&MD5=69f2d7af46761779f8042a05da6c83d8
Size: 1381
   Error when uploading file:
/Users/nsicad/Documents/Work_1new/OTB/build/Testing/20120828-1800/Build.xml
   Error message was: Empty reply from server
   Problems when submitting via HTTP
Error in read script: /Users/nsicad/Documents/Work_1new/OTB/otb.cmake
Nolis-MacBook-Pro:OTB nsicad$


More information about the Qgis-developer mailing list