Re: [otb-users] Re: Installation of OTB on Eclipse neon C++

2017-01-03 Thread Rashad Kanavath
On Mon, Jan 2, 2017 at 6:45 PM, kipro31  wrote:

> Hi and thank you for helping me.
>
> So I'm trying to use OTB with MSVC but I still have problems.
>
> -In optional there is a download for python but I don't understand why is
> it there ?
> -The line :  call "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\vcvarsall.bat" %COMPILER_ARCH%, is ofc not working because i
> don't have visual studio since I want to develope on Eclipse ...
>

read that wiki. You *must* have visual studio 2015

> -The line : git clone --branch=develop https://git.orfeo-toolbox.org/
> git/otb.git src, is not working, cmd.exe doesn't understand what is the
> "git" command.
>
> And those lines doesn't work etiher .. :
>
> cmake ..\src -GNinja
>
> ninja
>
>
>
> you should use binary packages for using OTB. It seems that building from
source is more complicated in your case. Or you could ask help from someone
with experience in building from source and also have physical access to
your machine. Maybe they can help to setup otb using the wiki page

-- 
> --
> 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 a topic in the
> Google Groups "otb-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/otb-users/TPGMmWB-CVk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> otb-users+unsubscr...@googlegroups.com.
> 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 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] Re: Installation of OTB on Eclipse neon C++

2017-01-02 Thread kipro31
Hi and thank you for helping me.

So I'm trying to use OTB with MSVC but I still have problems.

-In optional there is a download for python but I don't understand why is 
it there ?
-The line :  call "C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\vcvarsall.bat" %COMPILER_ARCH%, is ofc not working because i don't 
have visual studio since I want to develope on Eclipse ...
-The line : git clone --branch=develop 
https://git.orfeo-toolbox.org/git/otb.git src, is not working, cmd.exe 
doesn't understand what is the "git" command.

And those lines doesn't work etiher .. : 

cmake ..\src -GNinja  

ninja



-- 
-- 
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] Re: Installation of OTB on Eclipse neon C++

2017-01-02 Thread Rashad

Hello,

you could also use OTB with MSVC. I had the wiki for Eclipse, it will work 
with older version of OTB and you could try same procedure with new version.

Making same tutorial to work with last OTB release can be done but one has 
to jump through some hoops. 

So.. if that scares you, then use otb with msvc.

all you have to download is xdk, and tools archive for windows.

Here is a draft of update wiki page: 
https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows

If you find any steps missing or if these didn't work, let me know .





On Monday, January 2, 2017 at 10:16:06 AM UTC+1, Guillaume Pasero wrote:
>
> Hi,
>
> Indeed, OTB uses CMake to compile libraries and executables. Here is the 
> workflow :
>
>- You give CMake all the details on your build : build type, path to 
>dependencies, various compilation options,... 
>- CMake configures the build folder and generate standard makefiles 
>(can vary depending on the platform and the chosen generator)
>- run 'make' to compile. 
>
> Maybe these pages can give you some hint :
> https://cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial
>
> 
> http://sgpsproject.sourceforge.net/JavierVGomez/index.php/How_to_configure_a_C/C%2B%2B_project_with_Eclipse_and_CMake
>
> HTH
> Guillaume
>
> On 01/01/2017 11:48 AM, kipro31 wrote:
>
> Still need help if someone knows ... 
>
> happy new year 
>
> Le vendredi 30 décembre 2016 00:03:37 UTC+1, kipro31 a écrit : 
>>
>> Hey guys, 
>>
>> I am an IT student and I have a project about image segmentation and I 
>> have to exploit boost and OTB libraries ! I have successfully installed 
>> boost but I am doing exactly the same for OTB and it is not working 
>> (Project > Properties > and I am adding all the paths of 'libs' in the 
>> settings of eclipse). So I investigated on it  and I heard that I need 
>> something called "CMake" for OTB and I have followed this tutorial : 
>> https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows , 
>> and I have no idea what to do with the project I now have in Eclipse 
>> (Cmake@OTB).
>>
>> If somebody could help me on this ! Thank you !!
>>
> -- 
> -- 
> 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-...@googlegroups.com 
> 
> To unsubscribe from this group, send email to
> otb-users+...@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+...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
>  *Guillaume PASERO*
> Responsable technique
> *Business Unit ESPACE & GeoInformation - Département Payload Data & 
> 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 - guillaum...@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.


Re: [otb-users] Re: Installation of OTB on Eclipse neon C++

2017-01-02 Thread Guillaume Pasero

  
  
Hi,
Indeed, OTB uses CMake to compile libraries and executables. Here
  is the workflow :

  You give CMake all the details on your build : build type,
path to dependencies, various compilation options,...
  CMake configures the build folder and generate standard
makefiles (can vary depending on the platform and the chosen
generator)
  
  run 'make' to compile.

Maybe these pages can give you some hint :
https://cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial
http://sgpsproject.sourceforge.net/JavierVGomez/index.php/How_to_configure_a_C/C%2B%2B_project_with_Eclipse_and_CMake

HTH
Guillaume

On 01/01/2017 11:48 AM, kipro31 wrote:


  Still need help if someone knows ...


happy new year 
  
  Le vendredi 30 décembre 2016 00:03:37 UTC+1, kipro31 a écrit :
  
Hey guys,
  
  
  I am an IT student and I have a project about image
segmentation and I have to exploit boost and OTB
libraries ! I have successfully installed boost but I am
doing exactly the same for OTB and it is not working
(Project > Properties > and I am adding all the
paths of 'libs' in the settings of eclipse). So I
investigated on it  and I heard that I need something
called "CMake" for OTB and I have followed this tutorial
: https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows
, and I have no idea what to do with the project I now
have in Eclipse (Cmake@OTB).
  
  
  If somebody could help me on this ! Thank you !!

  

  
  -- 
  -- 
  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 ESPACE & GeoInformation -
  Département Payload Data & 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.