Re: [otb-users] Re: New remote module: otb-mosaic

2017-08-02 Thread user123
Hello
I have tried OTB-contrib binary package as well but no success. 

I am Compiling OTB from source code in CMake using MS Visual Studio 14 2015 
(64 bit), 

I select the source and output directories and click 'Configure' in CMake, 
it takes a few minutes and compiles successfully and displays some options 
in red, I enable the option "Module Mosaic" and again click "Configure", 
I tried the above step in two ways, WITH and WITHOUT copying the module 
mosaic folder into OTB\Modules\Remote
both times it gives me the same error 
CMake Error at CMake/OTBModuleRemote.cmake:37 (message):
Failed to clone repository: 'http://tully.ups-tlse.fr/lassallep/grm.git'
Call Stack (most recent call first):
CMake/OTBModuleRemote.cmake:132 (_git_clone)
CMake/OTBModuleRemote.cmake:177 (_fetch_with_git)
Modules/Remote/otbGRM.remote.cmake:2 (otb_fetch_module)
Modules/Remote/CMakeLists.txt:26 (include)

I would appreciate any kind of help please. 
Thank you for your time. 
Regards

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[otb-users] OTB Compilation from Source Code

2017-08-01 Thread user123


Hello, I am trying to configure OTB from source code, but getting this 
error in CMake, I would appreciate any sort of help. 




Setting GDAL_CONFIG_CHECKING to ON. (all GDAL tests will run again)

CMake Error at Modules/ThirdParty/GDAL/otb-module-init.cmake:51 (message):
Syntax error in cmake code at

C:/Develop_OTB/OTB-develop/Modules/ThirdParty/GDAL/otb-module-init.cmake:60

when parsing string

Compiling Test GDAL_VERSION - Failed 



COMPILE_OUTPUT_GDAL_VERSION: 'Change Dir:
C:/Configure_OTB/CMakeFiles/CMakeTmp



Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe"
"cmTC_c0b00.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"

Microsoft (R) Build Engine version 14.0.25420.1



Copyright (C) Microsoft Corporation. All rights reserved.





Build started 02-Aug-17 9:22:18 AM.



Project "C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj" on node 1
(default targets).



PrepareForBuild:



Creating directory "cmTC_c0b00.dir\Debug\".


Creating directory "C:\Configure_OTB\CMakeFiles\CMakeTmp\Debug\".


Creating directory "cmTC_c0b00.dir\Debug\cmTC_c0b00.tlog\".



InitializeBuildStatus:



Creating "cmTC_c0b00.dir\Debug\cmTC_c0b00.tlog\unsuccessfulbuild" because 
"AlwaysCreate" was specified.



ClCompile:



C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c 
/IC:\OSGeo4W64\include /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D 
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise 
/Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_c0b00.dir\Debug\\" 
/Fd"cmTC_c0b00.dir\Debug\vc140.pdb" /Gd /TP /analyze- /errorReport:queue 
/bigobj /bigobj 
"C:\Develop_OTB\OTB-develop\Modules\ThirdParty\GDAL\gdalVersionTest.cxx"


Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86


Copyright (C) Microsoft Corporation. All rights reserved.



cl /c /IC:\OSGeo4W64\include /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D 
_WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS 
/fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR 
/Fo"cmTC_c0b00.dir\Debug\\" /Fd"cmTC_c0b00.dir\Debug\vc140.pdb" /Gd /TP 
/analyze- /errorReport:queue /bigobj /bigobj 
"C:\Develop_OTB\OTB-develop\Modules\ThirdParty\GDAL\gdalVersionTest.cxx"



gdalVersionTest.cxx




C:\Develop_OTB\OTB-develop\Modules\ThirdParty\GDAL\gdalVersionTest.cxx(78):
warning C4018: '<': signed/unsigned mismatch
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]



Link:



C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link.exe 
/ERRORREPORT:QUEUE 
/OUT:"C:\Configure_OTB\CMakeFiles\CMakeTmp\Debug\cmTC_c0b00.exe" 
/INCREMENTAL /NOLOGO C:\OSGeo4W64\lib\gdal_i.lib kernel32.lib user32.lib 
gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib 
comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' 
uiAccess='false'" /manifest:embed /DEBUG 
/PDB:"C:/Configure_OTB/CMakeFiles/CMakeTmp/Debug/cmTC_c0b00.pdb" 
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT 
/IMPLIB:"C:/Configure_OTB/CMakeFiles/CMakeTmp/Debug/cmTC_c0b00.lib" 
/MACHINE:X86 /SAFESEH /machine:X86 cmTC_c0b00.dir\Debug\gdalVersionTest.obj


Creating library C:/Configure_OTB/CMakeFiles/CMakeTmp/Debug/cmTC_c0b00.lib 
and object C:/Configure_OTB/CMakeFiles/CMakeTmp/Debug/cmTC_c0b00.exp



gdalVersionTest.obj : error LNK2019: unresolved external symbol
_GDALVersionInfo@4 referenced in function _main
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]



C:\OSGeo4W64\lib\gdal_i.lib : warning LNK4272: library machine type 'x64'
conflicts with target machine type 'X86'
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]



C:\Configure_OTB\CMakeFiles\CMakeTmp\Debug\cmTC_c0b00.exe : fatal error
LNK1120: 1 unresolved externals
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]



Done Building Project
"C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj" (default targets)
-- FAILED.





Build FAILED.





"C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj" (default target)
(1) ->



(ClCompile target) -> 



C:\Develop_OTB\OTB-develop\Modules\ThirdParty\GDAL\gdalVersionTest.cxx(78): 
warning C4018: '<': signed/unsigned mismatch 
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]







"C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj" (default target)
(1) ->



(Link target) -> 



C:\OSGeo4W64\lib\gdal_i.lib : warning LNK4272: library machine type 'x64' 
conflicts with target machine type 'X86' 
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]







"C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj" (default target)
(1) ->



(Link target) -> 



gdalVersionTest.obj : error LNK2019: unresolved external symbol 
_GDALVersionInfo@4 referenced in function _main 
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]


C:\Configure_OTB\CMakeFiles\CMakeTmp\Debug\cmTC_c0b00.exe : fatal error 
LNK1120: 1 unresolved externals 
[C:\Configure_OTB\CMakeFiles\CMakeTmp\cmTC_c0b00.vcxproj]





2 Warning(s)


2 Error(s)






[otb-users] OTB-Mosaic

2017-07-24 Thread user123


Hello 

I need to configure remote OTB-Mosaic module which is available on GitHub 
https://github.com/remicres/otb-mosaic
I have tried building it using CMake, but there appears some errors, I 
don't have any previous experience with Cmake, is there any Tutorial that 
guides through the configuration of remote modules or any kind of help in 
this issue. 

I would really appreciate if someone can help! 
Regards

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[otb-users] Error while configuring OTB 5.9.0 with MS Visual Studio 2015 on MS windows 8.1

2017-05-04 Thread user123
Hello
I am trying to configure OTB 5.9.0 with MS Visual Studio 2015 following the 
installation guide:
* https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows*

I have installed the mandatory dependencies from OSGEO4W Shell.  (the 
dependencies are mentioned in:  
*https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html 

 *
).

The problem is I am getting an error with 'ninja' command in the build 
process. The error is mentioned below. 


[630/763] Building CXX object 
Modules\...gine.dir\otbWrapperApplication.cxx.obj
FAILED: 
Modules/Wrappers/ApplicationEngine/src/CMakeFiles/OTBApplicationEngine.d
ir/otbWrapperApplication.cxx.obj
C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe   /nologo /TP 
-DOTBApplicationEngine_
EXPORTS -D_CRT_FAR_MAPPINGS_NO_DEPRECATE -D_CRT_IS_WCTYPE_NO_DEPRECATE 
-D_CRT_MA
NAGED_FP_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_SECURE_NO_DEPRECATE -D_
CRT_SECURE_NO_DEPRECATE_GLOBALS -D_CRT_SETERRORMODE_BEEP_SLEEP_NO_DEPRECATE 
-D_C
RT_TIME_FUNCTIONS_NO_DEPRECATE -D_CRT_VCCLRIT_NO_DEPRECATE 
-D_SCL_SECURE_NO_DEPR
ECATE -IC:\dashboard\src\Modules\ThirdParty\Boost\src -IModules\Core\Common 
-Ixd
k\OTB-5.9.0-xdk-win64\include\boost-1_60 
-IC:\dashboard\src\Modules\Adapters\Boo
stAdapters\include -Ixdk\OTB-5.9.0-xdk-win64\include 
-IC:\dashboard\src\Modules\
ThirdParty\ITK\include -Ixdk\OTB-5.9.0-xdk-win64\include\ITK-4.10 
-IC:\dashboard
\src\Modules\Core\Common\include 
-IC:\dashboard\src\Modules\ThirdParty\OssimPlug
ins\src -IC:\dashboard\src\Modules\ThirdParty\OssimPlugins\src\ossim 
-IC:\dashbo
ard\src\Modules\Adapters\OSSIMAdapters\include 
-IC:\dashboard\src\Modules\Core\O
bjectList\include -IC:\dashboard\src\Modules\Core\Metadata\include 
-IC:\dashboar
d\src\Modules\Core\ImageBase\include 
-IC:\dashboard\src\Modules\Adapters\GdalAda
pters\include -IModules\ThirdParty\TinyXML\src 
-IC:\dashboard\src\Modules\Core\V
ectorDataBase\include -IC:\dashboard\src\Modules\IO\IOGDAL\include 
-IC:\dashboar
d\src\Modules\IO\ExtendedFilename\include 
-IC:\dashboard\src\Modules\IO\IOBSQ\in
clude -IC:\dashboard\src\Modules\IO\IOLUM\include 
-IC:\dashboard\src\Modules\IO\
IOMSTAR\include -IC:\dashboard\src\Modules\IO\IOONERA\include 
-IC:\dashboard\src
\Modules\IO\IORAD\include 
-IC:\dashboard\src\Modules\Adapters\CurlAdapters\inclu
de -IC:\dashboard\src\Modules\IO\IOTileMap\include 
-IC:\dashboard\src\Modules\Co
re\Streaming\include -IC:\dashboard\src\Modules\IO\ImageIO\include 
-IC:\dashboar
d\src\Modules\Core\Interpolation\include 
-IC:\dashboard\src\Modules\Core\Transfo
rm\include -IC:\dashboard\src\Modules\Filtering\ImageManipulation\include 
-IC:\d
ashboard\src\Modules\Filtering\Path\include 
-IC:\dashboard\src\Modules\Filtering
\VectorDataManipulation\include 
-IC:\dashboard\src\Modules\Filtering\Projection\
include -IC:\dashboard\src\Modules\IO\VectorDataIO\include 
-IC:\dashboard\src\Mo
dules\Wrappers\ApplicationEngine\include /bigobj  -W3  /DWIN32 /D_WINDOWS 
/W3 /G
R /EHsc  /bigobj /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 -DOTB_DEBUG /showIncludes 
/FoM
odules\Wrappers\ApplicationEngine\src\CMakeFiles\OTBApplicationEngine.dir\otbWra
pperApplication.cxx.obj 
/FdModules\Wrappers\ApplicationEngine\src\CMakeFiles\OTB
ApplicationEngine.dir\ /FS -c 
C:\dashboard\src\Modules\Wrappers\ApplicationEngin
e\src\otbWrapperApplication.cxx
C:\dashboard\src\Modules\Wrappers\ApplicationEngine\src\otbWrapperApplication.cx
x(70): error C2589: ')': illegal token on right side of '::'
C:\dashboard\src\Modules\Wrappers\ApplicationEngine\src\otbWrapperApplication.cx
x(70): error C2059: syntax error: '::'
[631/763] Linking CXX shared library bin\OTBCarto-5.11.dll
   Creating library lib\OTBCarto-5.11.lib and object lib\OTBCarto-5.11.exp
   Creating library lib\OTBCarto-5.11.lib and object lib\OTBCarto-5.11.exp
[633/763] Linking CXX shared library bin\OTBSampling-5.11.dll
   Creating library lib\OTBSampling-5.11.lib and object 
lib\OTBSampling-5.11.exp

   Creating library lib\OTBSampling-5.11.lib and object 
lib\OTBSampling-5.11.exp

[654/763] Building CXX object 
Modules\...otbWrapperOutputImageParameter.cxx.obj
ninja: build stopped: subcommand failed.


Help is highly appreciated as I really need to test OTB on MS Visual Studio
Regards, 

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to otb-users+unsubscr...@googlegroups.com.
For 

[otb-users] Error while configuring OTB 5.9.0 with MS windows 8.1

2017-05-04 Thread user123
Hello
I am trying to configure OTB 5.9.0 with MS Visual Studio 2015 following the 
installation guide: *http://wiki.orfeo- 
toolbox.org/index.php/OTB_development_on_Windows*

I have installed the mandatory dependencies from OSGEO4W Shell.  (the 
dependencies are mentioned in:  
*https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html *).

The problem is I am getting an error with 'ninja' command in the build 
process. The error is mentioned below. 


[630/763] Building CXX object 
Modules\...gine.dir\otbWrapperApplication.cxx.obj
FAILED: 
Modules/Wrappers/ApplicationEngine/src/CMakeFiles/OTBApplicationEngine.d
ir/otbWrapperApplication.cxx.obj
C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe   /nologo /TP 
-DOTBApplicationEngine_
EXPORTS -D_CRT_FAR_MAPPINGS_NO_DEPRECATE -D_CRT_IS_WCTYPE_NO_DEPRECATE 
-D_CRT_MA
NAGED_FP_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_SECURE_NO_DEPRECATE -D_
CRT_SECURE_NO_DEPRECATE_GLOBALS -D_CRT_SETERRORMODE_BEEP_SLEEP_NO_DEPRECATE 
-D_C
RT_TIME_FUNCTIONS_NO_DEPRECATE -D_CRT_VCCLRIT_NO_DEPRECATE 
-D_SCL_SECURE_NO_DEPR
ECATE -IC:\dashboard\src\Modules\ThirdParty\Boost\src -IModules\Core\Common 
-Ixd
k\OTB-5.9.0-xdk-win64\include\boost-1_60 
-IC:\dashboard\src\Modules\Adapters\Boo
stAdapters\include -Ixdk\OTB-5.9.0-xdk-win64\include 
-IC:\dashboard\src\Modules\
ThirdParty\ITK\include -Ixdk\OTB-5.9.0-xdk-win64\include\ITK-4.10 
-IC:\dashboard
\src\Modules\Core\Common\include 
-IC:\dashboard\src\Modules\ThirdParty\OssimPlug
ins\src -IC:\dashboard\src\Modules\ThirdParty\OssimPlugins\src\ossim 
-IC:\dashbo
ard\src\Modules\Adapters\OSSIMAdapters\include 
-IC:\dashboard\src\Modules\Core\O
bjectList\include -IC:\dashboard\src\Modules\Core\Metadata\include 
-IC:\dashboar
d\src\Modules\Core\ImageBase\include 
-IC:\dashboard\src\Modules\Adapters\GdalAda
pters\include -IModules\ThirdParty\TinyXML\src 
-IC:\dashboard\src\Modules\Core\V
ectorDataBase\include -IC:\dashboard\src\Modules\IO\IOGDAL\include 
-IC:\dashboar
d\src\Modules\IO\ExtendedFilename\include 
-IC:\dashboard\src\Modules\IO\IOBSQ\in
clude -IC:\dashboard\src\Modules\IO\IOLUM\include 
-IC:\dashboard\src\Modules\IO\
IOMSTAR\include -IC:\dashboard\src\Modules\IO\IOONERA\include 
-IC:\dashboard\src
\Modules\IO\IORAD\include 
-IC:\dashboard\src\Modules\Adapters\CurlAdapters\inclu
de -IC:\dashboard\src\Modules\IO\IOTileMap\include 
-IC:\dashboard\src\Modules\Co
re\Streaming\include -IC:\dashboard\src\Modules\IO\ImageIO\include 
-IC:\dashboar
d\src\Modules\Core\Interpolation\include 
-IC:\dashboard\src\Modules\Core\Transfo
rm\include -IC:\dashboard\src\Modules\Filtering\ImageManipulation\include 
-IC:\d
ashboard\src\Modules\Filtering\Path\include 
-IC:\dashboard\src\Modules\Filtering
\VectorDataManipulation\include 
-IC:\dashboard\src\Modules\Filtering\Projection\
include -IC:\dashboard\src\Modules\IO\VectorDataIO\include 
-IC:\dashboard\src\Mo
dules\Wrappers\ApplicationEngine\include /bigobj  -W3  /DWIN32 /D_WINDOWS 
/W3 /G
R /EHsc  /bigobj /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 -DOTB_DEBUG /showIncludes 
/FoM
odules\Wrappers\ApplicationEngine\src\CMakeFiles\OTBApplicationEngine.dir\otbWra
pperApplication.cxx.obj 
/FdModules\Wrappers\ApplicationEngine\src\CMakeFiles\OTB
ApplicationEngine.dir\ /FS -c 
C:\dashboard\src\Modules\Wrappers\ApplicationEngin
e\src\otbWrapperApplication.cxx
C:\dashboard\src\Modules\Wrappers\ApplicationEngine\src\otbWrapperApplication.cx
x(70): error C2589: ')': illegal token on right side of '::'
C:\dashboard\src\Modules\Wrappers\ApplicationEngine\src\otbWrapperApplication.cx
x(70): error C2059: syntax error: '::'
[631/763] Linking CXX shared library bin\OTBCarto-5.11.dll
   Creating library lib\OTBCarto-5.11.lib and object lib\OTBCarto-5.11.exp
   Creating library lib\OTBCarto-5.11.lib and object lib\OTBCarto-5.11.exp
[633/763] Linking CXX shared library bin\OTBSampling-5.11.dll
   Creating library lib\OTBSampling-5.11.lib and object 
lib\OTBSampling-5.11.exp

   Creating library lib\OTBSampling-5.11.lib and object 
lib\OTBSampling-5.11.exp

[654/763] Building CXX object 
Modules\...otbWrapperOutputImageParameter.cxx.obj
ninja: build stopped: subcommand failed.


Help is highly appreciated as I really need to test OTB on MS Visual Studio
Regards, 

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.