Hi,

The correct order is "otbApplicationLauncherCommandLine  $cmd  $sopath  $*"  (maybe a typo).

The second argument "$sopath" is used to find the directory containing the application dlls ("otbapp_MyApplication.dll" ... there is 1 dll for each OTB application).

Do you still get the DLL error ?

Guillaume
On 11/21/2016 05:09 PM, [email protected] wrote:
Hi,

i'm trying to build a script which could be run in both environment (linux & windows) without editing it.
My script runs fine on differents linux (Debian, ubuntu) box.
According to the answer to  this previous  subject, i built the call to Windows OTB applications running in an OSGEO4W shell as follows:

sopath="/e/programs/OTB-5.8.0-win64/lib/otb/applications"
/e/programs/OTB-5.8.0-win64/bin/otbApplicationLauncherCommandLine $sopath $cmd $*

Where
$cmd contains an OTB application name
$* contains all needed parameters for the application

I'm not sure about what i should put in the sopath variable ...

Anyway, i get an error on a windows 10 machine:   "Le point d'entrée de procédure ?setAdjustableParameter@ossimAdjustableParameterInterface@@QEAAXIN_N@Z est introuvable dans la bibliothèque de liens dynamiques c:\OSGEO4~1\bin\otbossimplugins-5.0.dll "

I guess this is related to the "sopath" variable, as it is looking for a DLL installed with OSGEO4W, but cannot figure out how to force the use of the last OTB version i installed in another directory.


Many thanks for your help

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.

--
Guillaume PASERO
Responsable technique
Business Unit E-SPACE & Geo Information - Département Image & Applications

CS Systèmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]

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