<div dir="ltr">Sorry about that last post - in a one two punch half of the email got selected, deleted and then sent<div><br></div><div style>I've cross compiled several libraries using -DCMAKE_OSX_ARCHITECTURES="i386;armv7" ../</div>
<div style><br></div><div style>I tried compiling with the toolchain and also with the SOCI scripts I posted earlier. The command line flags were pulled from the script.</div><div style><br></div><div style><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
On the SOCI mailing list they directed me to this, that suggests the Threading may have been a problem on iOS.</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
<a href="http://stackoverflow.com/a/14198386/151641" rel="nofollow" link="external" target="_blank" style="color:rgb(85,26,139);font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">http://stackoverflow.com/a/14198386/151641</a></div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Can i just download pthread.h and point to it some how? I am very new to cmake.</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
Casey</div></div><div style><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 11:26 AM, Sergei Nikulov <span dir="ltr"><<a href="mailto:sergey.nikulov@gmail.com" target="_blank">sergey.nikulov@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 dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">2013/3/14 Casey Basichis <span dir="ltr"><<a href="mailto:caseybasichis@gmail.com" target="_blank">caseybasichis@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div>Hi,</div><div><br></div>I followed your instructions.<div><br></div><div>I also modified the make files a bit according to this - <a href="http://ares.lids.mit.edu/redmine/projects/forest-game/wiki/Building_soci_for_iOS" target="_blank">http://ares.lids.mit.edu/redmine/projects/forest-game/wiki/Building_soci_for_iOS</a> Though I'm not using their scripts.</div>
<div><br></div><div>I compiled to 386:Arm7 fat target. Here are the errors I get. The thread bits are at the bottom. Everything else seem ok - though the printed out data suggest the compiler is not clang, it seems to be using it.</div>
<div><br></div></div></blockquote><div><br></div></div><div>Hi Casey,<br><br></div><div>I'm not sure that it will work in your way.<br></div><div>Have you read this information <a href="http://www.cmake.org/Wiki/CMake_Cross_Compiling" target="_blank">http://www.cmake.org/Wiki/CMake_Cross_Compiling</a> ? <br>
</div><div>And this one <a href="http://code.google.com/p/ios-cmake/wiki/HowTo" target="_blank">http://code.google.com/p/ios-cmake/wiki/HowTo</a><br><br></div><div>Unfortunately I've not tried this myself. <br><span class="HOEnZb"><font color="#888888"><br>
</font></span></div></div><span class="HOEnZb"><font color="#888888">-- <br>
Best Regards,<br>Sergei Nikulov
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Casey James Basichis<br>Composer - Adventure Time - Cartoon Network<br><a href="http://www.caseyjamesbasichis.com" target="_blank">http://www.caseyjamesbasichis.com</a><br>
<a href="mailto:caseybasichis@gmail.com" target="_blank">caseybasichis@gmail.com</a><br>310.387.7540</div>
</div>