It worked Rashad, Thankyou So Much.

On 5 May 2017 at 12:10, faryal mir <faryalmir7...@gmail.com> wrote:

> Than you Rashad, I really appreciate that,
>
> but again i am unable to successfully configure following the manual you
> just shared,
> i am getting this error, could you elaborate a little more.
>
>
> C:\OTB-5.10.1-xdk-win64>set CURRENT_SCRIPT_DIR=C:\OTB-5.10.1-xdk-win64\
>
> C:\OTB-5.10.1-xdk-win64>set OTB_XDK_DIR=C:\OTB-5.10.1-xdk-win64\
>
> C:\OTB-5.10.1-xdk-win64>set PATH=C:\OTB-5.10.1-xdk-win64\\
> bin;C:\Windows\system3
> 2;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\
> System32\WindowsPowerShell\v1.0
> \;C:\Program Files\MATLAB\R2014a\runtime\win64;C:\Program
> Files\MATLAB\R2014a\bi
> n;C:\Program Files\MATLAB\R2014a\polyspace\bin;C:\Program
> Files\GDAL;C:\Python27
> ;C:\Program Files\MATLAB\MATLAB Compiler Runtime\v83\runtime\win64;C:\Program
> Fi
> les (x86)\Monteverdi-1.22\bin;C:\Program Files (x86)\GDAL;C:\Windows\
> system32\co
> nfig\systemprofile\.dnx\bin;C:\Program Files\Microsoft
> DNX\Dnvm\;C:\Program File
> s\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\130
> \Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
> Toolkit
> \;"C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\
> Windows\system32;C:\Wind
> ows;C:\Windows\WBem;C:\OSGeo4W64\bin; C:\boost-build\bin";C:\Program
> Files\cmake
> -3.8.0-win64-x64\bin
>
> C:\OTB-5.10.1-xdk-win64>set VSDEV_ENV=C:\Program Files (x86)\Microsoft
> Visual St
> udio 14.0\Common7\IDE\devenv.exe
>
> C:\OTB-5.10.1-xdk-win64>set OTB_VS_TEMPLATE_DIR=C:\Users\Aks1\Documents\Visual
> S
> tudio 2015\Templates\ProjectTemplates
>
> C:\OTB-5.10.1-xdk-win64>if exist "C:\Program Files (x86)\Microsoft Visual
> Studio
>  14.0\Common7\IDE\devenv.exe" (
> if not exist "C:\Users\Aks1\Documents\Visual Studio
> 2015\Templates\ProjectTempla
> tes" (md "C:\Users\Aks1\Documents\Visual Studio 2015\Templates\
> ProjectTemplates"
>   )
>  copy "C:\OTB-5.10.1-xdk-win64\OTB Project.zip" "C:\Users\Aks1\Documents\
> Visual
> Studio 2015\Templates\ProjectTemplates"
>  call "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\Common7\IDE\devenv.ex
> e"
> )  else (echo "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\Common7\IDE\d
> evenv.exe not found" )
> The system cannot find the file specified.
>
>
> On 5 May 2017 at 11:53, faryal mir <faryalmir7...@gmail.com> wrote:
>
>> hello thankyou for responding Rashad, i really appreciate that, I am new
>> to this field, could you please elaborate a little more if it doesn't
>> bothers you, thankyou in advance,
>>
>> On 5 May 2017 at 11:50, Rashad <mohammedrasha...@gmail.com> wrote:
>>
>>>
>>>
>>> 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\otbWrapper
>>>> Application.cxx.obj
>>>> FAILED: Modules/Wrappers/ApplicationEngine/src/CMakeFiles/OTBApplica
>>>> tionEngine.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\Ada
>>>> pters\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\Thi
>>>> rdParty\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\Ada
>>>> pters\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\Ada
>>>> pters\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\Cor
>>>> e\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\Fil
>>>> tering\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\OTBApplicat
>>>> ionEngine.dir\otbWra
>>>> pperApplication.cxx.obj /FdModules\Wrappers\Applicatio
>>>> nEngine\src\CMakeFiles\OTB
>>>> ApplicationEngine.dir\ /FS -c C:\dashboard\src\Modules\Wrapp
>>>> ers\ApplicationEngin
>>>> e\src\otbWrapperApplication.cxx
>>>> C:\dashboard\src\Modules\Wrappers\ApplicationEngine\src\otbW
>>>> rapperApplication.cx
>>>> x(70): error C2589: ')': illegal token on right side of '::'
>>>> C:\dashboard\src\Modules\Wrappers\ApplicationEngine\src\otbW
>>>> rapperApplication.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\...otbWrapperOutputIma
>>>> geParameter.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 a topic in the
>>> Google Groups "otb-users" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/otb-users/M2P2AQdna0Q/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> otb-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

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