[otb-users] Re: OTB-5.8.0-xdk-win64 and visual studio

2016-11-21 Thread Rashad


On Monday, November 21, 2016 at 6:11:23 AM UTC+1, Yoram Elichai wrote:
>
>  Hello,
>
> I build otb 5.8  with visual studio 15.
>
> I build  StreamingMeanShiftSegmentation.cxx,   the compilation and linking 
> succeed
>
> but I get the following running error:
>
do you have both msvc xdk and mingw in the path? 

>
>
> 
>
>
>
>
> On Monday, October 31, 2016 at 7:02:57 AM UTC+2, Yoram Elichai wrote:
>
>> does OTB-5.8.0 compile  in visual studio 
>>
>

-- 
-- 
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [otb-users] OTB with bash under windows OSGEO4W

2016-11-21 Thread Guillaume Pasero

  
  
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,
  pclastre.123...@gmail.com 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 otb-users@googlegroups.com
  To unsubscribe from this group, send email to
  otb-users+unsubscr...@googlegroups.com
  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 otb-users+unsubscr...@googlegroups.com.
  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 - guillaume.pas...@c-s.fr
  
  

  

  




-- 
-- 
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[otb-users] OTB with bash under windows OSGEO4W

2016-11-21 Thread pclastre . 123456
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.