<div dir="ltr"><div>yes my experience was that if cmake finds g++ as your compiler it implicitly uses libstdc++ and if it finds c++ you get libc++<br><br>Being explicit as you have done is probably better.<br><br></div>I have not tested with -std=c++11 so let us know if you have any trouble.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 22, 2014 at 5:00 PM, Alessandro Dal Grande <span dir="ltr"><<a href="mailto:adgror@gmail.com" target="_blank">adgror@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-family:Helvetica;font-size:13px">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.<div>
<br></div><div>Now I am recompiling the frameworks after I added this to the top CMakeLists.txt:</div><div><br></div><div>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++”)</div><div><br></div><div>
Thanks</div>
</div><span class="HOEnZb"><font color="#888888">
<div><div><br></div>-- <br>Alessandro Dal Grande<div><br></div></div></font></span><div class="HOEnZb"><div class="h5">
<p style="color:#a0a0a8">On Thursday, 22 May 2014 at 13:55, Casey Goodlett wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
<span><div><div><div dir="ltr"><div><div>Alessandro,<br><br></div>I use libc++ in xcode 5.1<br><br></div>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.<br>
</div><div><br><br><div>On Thu, May 22, 2014 at 4:51 PM, Alessandro Dal Grande <span dir="ltr"><<a href="mailto:adgror@gmail.com" target="_blank">adgror@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div>
<div style="font-family:Helvetica;font-size:13px">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++?<div>
<br></div><div>Thanks</div></div><span><font color="#888888">
<div><div><br></div>-- <br>Alessandro Dal Grande<div><br></div></div></font></span><div><div>
<p style="color:#a0a0a8">On Thursday, 22 May 2014 at 13:49, Casey Goodlett wrote:</p><blockquote type="cite"><div>
<span><div><div><div dir="ltr"><div><div>Alessandro,<br><br></div>The most recent master should compile on XCode 5.1. I have built with success on xcode 5.1.<br></div><div><br>What is your error message?<br>
</div></div><div>
<br><br><div>On Thu, May 22, 2014 at 4:03 PM, Alessandro Dal Grande <span dir="ltr"><<a href="mailto:adgror@gmail.com" target="_blank">adgror@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div>
<div>
<div>Hi,</div><div><br></div><div>do you have any recent version of VES universal framework (Kiwi/VTK) that would work with XCode 5.1?</div><div>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?</div>
<div><br></div>
</div>
<div><div>Thanks</div><span><font color="#888888">-- <br>Alessandro Dal Grande<div><br></div></font></span></div>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Casey B. Goodlett, Ph.D.<br>Technical Leader<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
<a href="tel:%28919%29%20969-6990%20x310" value="+19199696990" target="_blank">(919) 969-6990 x310</a></div>
</div>
</div></div></span>
</div></blockquote><div>
<br>
</div>
</div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Casey B. Goodlett, Ph.D.<br>Technical Leader<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
<a href="tel:%28919%29%20969-6990%20x310" value="+19199696990" target="_blank">(919) 969-6990 x310</a></div>
</div>
</div></div></span>
</blockquote>
<div>
<br>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Casey B. Goodlett, Ph.D.<br>Technical Leader<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
(919) 969-6990 x310</div>
</div>