Below is what I tried.

cmd.exe and typed

otbcli_StereoFramework.bat -input.il 
C:\Temp\Examples\sensor_stereo_left.tif 
C:\Temp\Examples\sensor_stereo_right.tif -elev.default 140 
-stereorect.fwdgridstep 8 -stereorect.invgridssrate 4 -postproc.med 1 
-output.res 2.5 -output.out C:\Temp\Examples\dem.tif

and got a message saying 
'otbApplicationLauncherCommandLine.exe' is not recognized as an internal or 
external command, operable program or batch file.

This is why I previously said I couldn't open the bat files in the build.

You told me it works, so I added ";C:\OSGeo4W\bin(where 
otbApplicationlaunchercommandline.exe exists)" without doubt to system path 
and tried again

otbcli_StereoFramework.bat -input.il 
C:\Temp\Examples\sensor_stereo_left.tif 
C:\Temp\Examples\sensor_stereo_right.tif -elev.default 140 
-stereorect.fwdgridstep 8 -stereorect.invgridssrate 4 -postproc.med 1 
-output.res 2.5 -output.out C:\Temp\Examples\dem.tif

and what comes out is another message

ERROR: Could not find application "StereoFramework"
ERROR: Module search path: none (check ITK_AUTOLOAD_PATH)
ERROR: Available modules : none.
ERROR: No loaded application...

Now I'm stuck and don't get the problem. Did I miss installing some otb 
dependencies?
And please check the link you suggested. it doesn't have otbgui_....bat 
files.

Anyway I appreciate it.
Still I'm learning something.

On Monday, July 20, 2015 at 11:55:48 PM UTC+9, Rashad wrote:
>
> Hi there,
>
> On Mon, Jul 20, 2015 at 12:10 PM, Scoh <[email protected] <javascript:>> 
> wrote:
>
>> I've tried everything at best as I could with the nightly build, which is 
>> full of bat and dll files.
>>
>
> Dont worry about no of bat and dll files. you only need to run 
> otbcl_StereoFramework ( from your original post)
>
> For that you need to do the following;
>
> Assuming the zip is extracted to C:\OTB-5.0.0
>
> open windows command prompt: (cmd.exe)
>
> cd c:\OTB-5.0.0\bin
>
> (and launch otbcli_StereoFramework with the correct arguments)
>
> you can also use otbgui_StereoFramework which can launched simply by 
> dblclicking on the bat file - otbgui_StereoFramework.bat
>
> otbcli_StereoFramework -input.il C:\Temp\Examples\sensor_
> stereo_left.tif C:\Temp\Examples\sensor_stereo_right.tif -elev.default 140 
> -stereorect.fwdgridstep 8 -stereorect.invgridssrate 4 -postproc.med 1 
> -output.res 2.5 -output.out C:\Temp\Examples\dem.tif
>
>
>  
>
>> Until now, however, couldn't figure out how to deal with those files, 
>> even went back to OTB source and tried to cmake with errors with this 
>> <http://wiki.orfeo-toolbox.org/index.php/OTB_%26_Windows_OS>.
>> Now I'm stuck with CMake PATH too long problem 
>> <http://www.cmake.org/Bug/bug_relationship_graph.php?bug_id=11931&graph=relation>
>> .
>> So I'd rather like to work with nightly build you suggested.
>> It'd be much appreciated if you tell me what work is exactly needed.
>>
>>
>>
>> On Sunday, July 19, 2015 at 2:23:07 AM UTC+9, Rashad wrote:
>>
>>>
>>>
>>> On Sat, Jul 18, 2015 at 2:51 PM, Scoh <[email protected]> wrote:
>>>
>>>> As a non-developer and end user, I don't want to offend any development 
>>>> team, but I understand your answer as being that everyone using 5.0.0 
>>>> can't 
>>>> even do the stereo example due to above issue.
>>>> Being not a big fan of git, is there any other solution without using 
>>>> it?
>>>> Really amazed for the integrity of OTB, but if no I'll have to consider 
>>>> other open source too.
>>>>
>>>> If you dont want to rebuild from git master we can understand that 
>>> given that you are end user. For that we have daily built packages here - 
>>> https://www.orfeo-toolbox.org/packages/nightly/latest/
>>>
>>> In my opinion, that will be the other option you were looking for. The 
>>> packages are available for 3 platforms.  Windows (.Win*.zip /exe), Linux 
>>> (.run) and Mac (.dmg).  
>>>
>>> As you are using windows, try 
>>> https://www.orfeo-toolbox.org/packages/nightly/latest/OTB-5.0.0-win64.zip 
>>> if you are using 64bit machine.
>>>
>>>
>>>
>>>
>>>
>>>> On Saturday, July 18, 2015 at 12:06:35 AM UTC+9, Rashad wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 17, 2015 at 5:02 PM, Scoh <[email protected]> wrote:
>>>>>
>>>>>> I'm using stereoframework with example stadium photo and I got a 
>>>>>> message saying "unexpected token "if" found at...."
>>>>>> After getting the message, I searched the internet to fix it, found 
>>>>>> out that was quite an issue before (this 
>>>>>> <https://bugs.orfeo-toolbox.org/print_bug_page.php?bug_id=850> or 
>>>>>> this <https://groups.google.com/forum/#!topic/otb-users/_mZLeJ_SE34>) 
>>>>>> when OTB version was 4.2.0 or some.
>>>>>> However, I haven't found out the exact solution I can give it a go, 
>>>>>> so the question is
>>>>>>
>>>>>> 1. Wasn't the problem already solved back then? OTB 4.0.0 release 
>>>>>> note says "apTvDmStereoFramework fails with muParser 2.2"  and seems to 
>>>>>> have dealt with the problem.
>>>>>>
>>>>>
>>>>> The issue is fixed in the git master. But unfortunately not available 
>>>>> in OTB 5.0.0 
>>>>>
>>>>>>
>>>>>> 2. If it is a ongoing problem, which file should I fix and how? For 
>>>>>> now I haven't used my own code but only otbcli_stereoframework like below
>>>>>>
>>>>>> otbcli_StereoFramework -input.il 
>>>>>> C:\Temp\Examples\sensor_stereo_left.tif 
>>>>>> C:\Temp\Examples\sensor_stereo_right.tif -elev.default 140 
>>>>>> -stereorect.fwdgridstep 8 -stereorect.invgridssrate 4 -postproc.med 1 
>>>>>> -output.res 2.5 -output.out C:\Temp\Examples\dem.tif
>>>>>>
>>>>>>
>>>>>> and error message is 
>>>>>>
>>>>>> Writing C:\Temp\Examples\dem.tif...: 0% [           ]2015 Jul 17 
>>>>>> 22:40:02  :  Application.logger  (FATAL) The following error occurred 
>>>>>> during application execution : 
>>>>>> C:\OSGeo4W64\usr\src\osgeo4w\itk\itk-4.7.2\Modules\Core\Common\src\itkMultiThreader.cxx:416:
>>>>>> itk::ERROR: MultiThreader(00000000034288C0): Exception occurred 
>>>>>> during SingleMethodExecute 
>>>>>> c:\users\jmalik\dashboard\src\otb-5.0.0\modules\filtering\mathparser\include\otbBandMathImageFilter.txx:300:
>>>>>> itk::ERROR: BandMathImageFilter(0000000003A02CD0):
>>>>>> itk::ExceptionObject (00000000001786A0)
>>>>>> Location: "unknown"
>>>>>> File: 
>>>>>> C:\Users\jmalik\Dashboard\src\OTB-5.0.0\Modules\Filtering\MathParser\src\otbParser.cxx
>>>>>> Line: 166
>>>>>> Description: itk::ERROR: ParserImpl(0000000003AFE530):
>>>>>> Message:     Unexpected token "if" found at position 0.
>>>>>> Formula:     if((inleft > 0) and variance > 50,255,0)
>>>>>> Token:       if
>>>>>> Position:    0
>>>>>>
>>>>>>
>>>>>> I wish I found otbBandMathImageFilter.txx or otbParser.cxx to replace 
>>>>>> "if" to "? :", but seems it's not that easy.
>>>>>> It's already been discussed here a lot, but if someone helps solving 
>>>>>> the problem for users like me, it would be much appreciated.
>>>>>>
>>>>>> -- 
>>>>>> -- 
>>>>>> 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.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Regards,
>>>>>    Rashad
>>>>>  
>>>>  -- 
>>>> -- 
>>>> 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.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Regards,
>>>    Rashad
>>>  
>>  -- 
>> -- 
>> 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Regards,
>    Rashad
>  

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