[Ves] Compiling VES on iOS

Alessandro Dal Grande adgror at gmail.com
Thu May 22 17:00:24 EDT 2014


I believe the toolchain is currently using Clang + libstdc++, could that be possible? I managed to compile the frameworks yesterday, but then when linking to my iOS project (that uses libc++) it was complaining about ios_* stuff missing.

Now I am recompiling the frameworks after I added this to the top CMakeLists.txt:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++”)

Thanks  

--  
Alessandro Dal Grande


On Thursday, 22 May 2014 at 13:55, Casey Goodlett wrote:

> Alessandro,
>  
> I use libc++ in xcode 5.1
>  
> I usually make sure that the c++ compiler is configured as c++ not g++.  This will ensure that libc++ is used.  I've forgotten if this is explicit in the current toolchain file.
>  
>  
> On Thu, May 22, 2014 at 4:51 PM, Alessandro Dal Grande <adgror at gmail.com (mailto:adgror at gmail.com)> wrote:
> > Hi Casey, I’m trying again right now, so I’ll let you know in a few minutes. A related question: did you compile and link against libstdc++ or libc++?
> >  
> > Thanks  
> >  
> > --  
> > Alessandro Dal Grande
> >  
> >  
> > On Thursday, 22 May 2014 at 13:49, Casey Goodlett wrote:
> >  
> > > Alessandro,
> > >  
> > > The most recent master should compile on XCode 5.1.  I have built with success on xcode 5.1.
> > >  
> > > What is your error message?
> > >  
> > >  
> > > On Thu, May 22, 2014 at 4:03 PM, Alessandro Dal Grande <adgror at gmail.com (mailto:adgror at gmail.com)> wrote:
> > > > Hi,
> > > >  
> > > > do you have any recent version of VES universal framework (Kiwi/VTK) that would work with XCode 5.1?
> > > > I’m trying to compile it since 3 days ago, but I get errors both on master and next branch. Is it an abandoned project or still supported?
> > > >  
> > > > Thanks--  
> > > > Alessandro Dal Grande
> > > >  
> > > >  
> > > > _______________________________________________
> > > > Ves mailing list
> > > > Ves at public.kitware.com (mailto:Ves at public.kitware.com)
> > > > http://public.kitware.com/cgi-bin/mailman/listinfo/ves
> > > >  
> > >  
> > >  
> > >  
> > > --  
> > > Casey B. Goodlett, Ph.D.
> > > Technical Leader
> > > Kitware, Inc. - North Carolina Office
> > > http://www.kitware.com
> > > (919) 969-6990 x310 (tel:%28919%29%20969-6990%20x310)  
> >  
>  
>  
>  
> --  
> Casey B. Goodlett, Ph.D.
> Technical Leader
> Kitware, Inc. - North Carolina Office
> http://www.kitware.com
> (919) 969-6990 x310  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140522/69726620/attachment-0003.html>


More information about the Ves mailing list