On Wednesday, May 10, 2017 at 8:40:30 AM UTC+2, Rashad wrote:
>
>
>
> On Tuesday, May 9, 2017 at 7:08:30 PM UTC+2, faryalmir wrote:
>>
>> This error was actually resolved when I copied  the files from 
>> "C:\OTB-5.10.1-xdk-win64\include\boost-1_60\boost"
>>  to
>> "C:\OTB-5.10.1-xdk-win64\include\OTB-5.10\boost"
>>
>> Because Visual studio was searching for the header files (eg cstdint.hpp 
>> or config.hpp)  in "OTB-5.10.1-xdk-win64\include\OTB-5.10\boost" which 
>> are actually placed in "OTB-5.10.1-xdk-win64\include\boost-1_60\boost"
>>  
>> Solution was successfully build but then an exception occurred while 
>> executing that solution. which is still unsolved, but i will try again by 
>> updating the configuration.
>> Thank you for your time Rashad. 
>>
> you can change include directories in project properties. check how to add 
> addtional include directories in vs project.
>
> I will check xdk. 
>


you must recreate your project. just using new package and start_devenv.bat 
will not work.

in your case, you already had a bug in vs template. I pushed the fix. Now 
the fix will only affect for next time you create project with "new" 
package.

More specifically, the start_devenv.bat will replace vs project template 
file for OTB. see the copy command in this script.
  

>
>>
>> On 9 May 2017 at 17:43, Rashad <[email protected]> wrote:
>>
>>>
>>>
>>> On Tuesday, May 9, 2017 at 6:21:10 AM UTC+2, faryalmir wrote:
>>>>
>>>> I always start MS Visual Studio from start_devenv.bat from 
>>>> administrator account, i have added the path to OTB-5.10.1 before path to 
>>>> other variables as well. but the problem still exists, the required file 
>>>> is 
>>>> in the OTB folder with the name "cstdint" (without extension) but Visual 
>>>> Studio is searching "cstdint.hpp" (with extension )this could be the 
>>>> reason 
>>>> but i don't have any idea how to fix this, 
>>>>
>>>  
>>> This is a bug in xdk. I puhed a fix a just now
>>>
>>> you can re-download xdk
>>>
>>> https://www.orfeo-toolbox.org/packages/xdk/OTB-5.10/
>>>
>>> thanks for reporting
>>>
>>>>
>>>>
>>>> On Monday, 8 May 2017 21:58:31 UTC+5, Rashad wrote:
>>>>>
>>>>>
>>>>>>
>>>>> did you started VS IDE with start_devenv.bat ?
>>>>>
>>>>> simply opening VSIDE will never work unless you add an environment 
>>>>> variable to system. This is why we provide that bat file
>>>>>
>>>> -- 
>>> -- 
>>> 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 a topic in the 
>>> Google Groups "otb-users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/otb-users/wwpruZ1j4fQ/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>> 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 [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