Hi Greg,

 You are using a very old compiler here. A recent version of clang should work 
well with Xcode:

 
http://useyourloaf.com/blog/2011/03/21/compiler-options-in-xcode-gcc-or-llvm.html
 

 If you want to keep using gcc[1] try using version 4.6 or later.

 And if you want to use c++11, clang 3.0 allows it and gcc 4.7 and later also : 
http://jordiinglada.net/wp/2014/01/16/otb11-3/

 A+

 Jordi

 [1] Please keep supporting really free compilers instead of corporate 
supported ones (personal opinion).

 Grégoire MERCIER 
<gregoire.mercier-+scgm1tqgjejrlbowinfb+yrfmlzi...@public.gmane.org> wrote:
> 
> Hi everyone,
>
> To compile Monteverdi on Mavericks, I had to change few things:
> http://hg.orfeo-toolbox.org/Monteverdi/file/4f2586ef3bd5/Code/VisuFLTK/otbImageLayer.txx#l303
> http://hg.orfeo-toolbox.org/Monteverdi/file/4f2586ef3bd5/Code/VisuFLTK/otbImageLayer.txx#l306
>
> setiosflags(std::ios::fixed) to be changed to 
> itksys_VA_LIST::setiosflags(std::ios::fixed)
>
> but this namespace is quite hidden so that I had to add at the beginning of 
> this file :
> #include <itksys/SystemTools.hxx>
>
> Same thing at 
> http://hg.orfeo-toolbox.org/Monteverdi/file/4f2586ef3bd5/Code/Modules/Projection/otbProjectionView.cxx#l398
> And all the occurrences of setiosflags
>
> There is a lot of deprecated glu* fonction but it works ;o)
>
> Best
> Greg
>
> --
> **************************************************
> Institut Mines-Telecom / Telecom Bretagne
> CNRS UMR 6285 Lab-STICC, equipe CID
> Technopole Brest-Iroise; CS 83818;
> F-29238 Brest cedex - France
> Tel : +33 (0)2 29 00 10 59        
> Fax : +33 (0)2 29 00 10 98
> *************************************************
>
> --

-- 
-- 
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/groups/opt_out.

Reply via email to