On Friday, May 5, 2017 at 6:59:17 AM UTC+2, user123 wrote:
>
> 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 
> <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 
> <https://www.google.com/url?q=https%3A%2F%2Fwww.orfeo-toolbox.org%2FSoftwareGuide%2FSoftwareGuidech2.html&sa=D&sntz=1&usg=AFQjCNHQqW_mw4p_2oJ1G6AFQNbOMUKK7Q>
>  *
> ).
>
> 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
>

Well, I would say your timing is impeccable..

https://wiki.orfeo-toolbox.org/index.php/Writing_OTB_modules_with_Visual_Studio_IDE

 

> 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.

Reply via email to