On Wednesday, August 23, 2017 at 12:42:15 PM UTC+2, Radhia Chairet wrote:
>
> Thanks Rashad,
>
> in cmd.exe : 
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>set 
> CURRENT_SCRIPT_DIR=C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64\
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>set 
> CURRENT_SCRIPT_DIR=C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>set 
> PATH=C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
>  
> Files\7-Zip;C:\Program Files\Microsoft SQL 
> Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows 
> Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program 
> Files\CMake\bin;C:\Program Files\Git\bin;C:\Program 
> Files\CMake\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>set VSDEV_ENV=C:\Program Files 
> (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>set 
> OTB_VS_TEMPLATE_DIR=C:\Users\Riadh\Documents\Visual Studio 
> 2015\Templates\ProjectTemplates
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>set 
> OTB_XDK_DIR=C:/dashboard/otb/xdk/OTB-5.10.1-xdk-win64
>
> C:\dashboard\otb\xdk\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\Riadh\Documents\Visual Studio 
> 2015\Templates\ProjectTemplates" (md "C:\Users\Riadh\Documents\Visual 
> Studio 2015\Templates\ProjectTemplates"  )
>  copy "C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64OTB Project.zip" 
> "C:\Users\Riadh\Documents\Visual Studio 2015\Templates\ProjectTemplates"
>
can you edit start_devenv.bat  and change the copy line? It is missing a "\"

 copy "C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64\OTB Project.zip" 
"C:\Users\Riadh\Documents\Visual Studio 2015\Templates\ProjectTemplates" 

 START "" "C:\Program Files (x86)\Microsoft Visual Studio 
> 14.0\Common7\IDE\devenv.exe"
> )  else (echo "C:\Program Files (x86)\Microsoft Visual Studio 
> 14.0\Common7\IDE\devenv.exe not found" )
> Le fichier spécifié est introuvable.
>

 

> Microsoft Windows [version 10.0.15063]
> (c) 2017 Microsoft Corporation. Tous droits réservés.
>
> C:\dashboard\otb\xdk\OTB-5.10.1-xdk-win64>
>
>
>
> Le mercredi 23 août 2017 08:07:37 UTC+1, Rashad a écrit :
>>
>>
>>
>> On Monday, August 21, 2017 at 2:14:46 AM UTC+2, Radhia Chairet wrote:
>>>
>>> Hi,
>>>
>>> I want to use OTB with msvc2015 ; I have followed this tutorial  
>>> https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows , then 
>>> I have followed this tuorial  
>>>
>>>
>>> https://wiki.orfeo-toolbox.org/index.php/Writing_OTB_modules_with_Visual_Studio_IDE
>>> .
>>>
>>> I haven’t find the  new project type called  ‘’OTB  Project’’ in Visual 
>>> Studio that’s why I can’t run the hello world example.
>>>
>>> Can you help me ?
>>>
>>
>> Those two wiki pages actually explain two different things. First one is 
>> about building OTB and then writing a c++ module. Second is about writing 
>> some a new filter in C++. OTB is already there and cannot be rebuild again 
>> in the same tree. You can follow either one of them depending on your needs.
>>
>> The error you having called no "OTB Project" might be due to the fact 
>> that the VS2015 template is copied to a different directory. When you run 
>> start_devenv.bat it assumes an installation of vs2015 in C:\program 
>> files... and vstemplate dir in %userprofile%
>>
>> can you tell what did it says when you run start_devenv.bat from 5.10.1 
>> xdk ?
>>
>>
>>
>> Thanks    
>>>
>>

-- 
-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to