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

Julien Malik julien.malik at c-s.fr
Wed Aug 29 01:03:06 PDT 2012


Hi Noli,

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.

Julien

Le 29/08/2012 07:33, Noli Sicad a écrit :
> Hi Julien,
>
> I tried your script and I got this error (below)
>
> Noli
>
> ##############################
> Last login: Wed Aug 29 15:07:22 on ttys011
> Nolis-MacBook-Pro:OTB nsicad$ ctest -S otb.cmake -VV
> * Extra verbosity turned on
> Reading Script: /Users/nsicad/Documents/Work_1new/OTB/otb.cmake
> CMake Error at otb.cmake:100 (ctest_empty_binary_directory):
>    ctest_empty_binary_directory called with incorrect number of arguments
>
>
> CMake Error at otb.cmake:104 (ctest_start):
>    ctest_start binary directory not specified.  Specify binary directory as an
>    argument or set CTEST_BINARY_DIRECTORY
>
>
> SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
> 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
> SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
> Cannot create directory /Testing/Temporary
> Cannot create log file: LastUpdate.log
>     Updating the repository: /Users/nsicad/Documents/Work_1new/OTB/build
> Cannot find UpdateCommand  configuration key.
> CMake Error at otb.cmake:106 (file):
>    file Internal CMake error when trying to open file: /CMakeCache.txt for
>    writing.
>
>
> SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB
> SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
> Cannot instantiate test handler ctest_configure
> CMake Error at otb.cmake:107 (ctest_configure):
>    ctest_configure CMakeLists.txt file does not exist
>    [/Users/nsicad/Documents/Work_1new/OTB/build/CMakeLists.txt]
>
>
> CMake Error at otb.cmake:108 (ctest_read_custom_files):
>    ctest_read_custom_files called with incorrect number of arguments
>
>
> SetCTestConfiguration:MakeCommand:/usr/bin/make -j8 -i -k
> SetCTestConfiguration:BuildDirectory:/Users/nsicad/Documents/Work_1new/OTB
> SetCTestConfiguration:SourceDirectory:/Users/nsicad/Documents/Work_1new/OTB/build
> Build project
> MakeCommand:/usr/bin/make -j8 -i -k
> Cannot create directory /Testing/Temporary
> Cannot create log file: LastBuild.log
> Cannot create build log file
> 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
> Current Tag empty, this may mean NightlyStartTime /
> CTEST_NIGHTLY_START_TIME was not set correctly. Or maybe you forgot to
> call ctest_start() before calling ctest_configure().
> Cannot create build XML file
> 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