Thank you
Could you be please explain what is exactly path_application_so ?
Should i search for so files ?
I can find otb_app*.dll but nothing ending with ".so" extension which seems 
to be unix specific ...

Philippe



Le jeudi 17 novembre 2016 09:19:35 UTC+1, [email protected] a écrit :
>
> Hello
> I'm trying to run OTB applications with a bash script on a windows 10 box
> The OTB applications are made available after Qgis installation with 
> osgeo4w64
>
> So to run my script a start a osgeo4w shell, then launch a bash, then 
> launch my script
> Everything is correct until i try to launch an OTB application 
> (ConcatenateImages)
>
> I got the error message:
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 1: @echo: command not 
> found
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 2: ::: command not found
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 3: ::: command not found
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 4: ::: command not found
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 5: ::: command not found
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 9: syntax error near 
> unexpected token `('
> /c/OSGEO4~1/bin/otbcli_ConcatenateImages.bat: line 9: `if exist 
> %CURRENT_SCRIPT_DIR%otbcli.bat ('
>
> Actually the error message is the same if i launch 
> otbcli_ConcatenateImages.bat inside the bash
> If i leave it, i get the help message.
>
> I guess this is because OTB commands  are bat file.
>
> So my question is: do i need to convert my bash script in bat ?
> If so, i must say that it could be very usefull to made otb applications 
> compatibles with a osgeo4w bash shell, just for portability reasons.
> Thus, developped scripts could be used in both environment 
>
> Philippe
>
>

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