[CMake] FInd threads - iOS

Casey Basichis caseybasichis at gmail.com
Thu Mar 14 14:48:19 EDT 2013


Sorry about that last post - in a one two punch half of the email got
selected, deleted and then sent

I've cross compiled several libraries using
-DCMAKE_OSX_ARCHITECTURES="i386;armv7" ../

I tried compiling with the toolchain and also with the SOCI scripts I
posted earlier.  The command line flags were pulled from the script.

On the SOCI mailing list they directed me to this, that suggests the
Threading may have been a problem on iOS.

http://stackoverflow.com/a/14198386/151641

Can i just download pthread.h and point to it some how?  I am very new to
cmake.

Thanks,
Casey



On Thu, Mar 14, 2013 at 11:26 AM, Sergei Nikulov
<sergey.nikulov at gmail.com>wrote:

>
>
>
> 2013/3/14 Casey Basichis <caseybasichis at gmail.com>
>
>> Hi,
>>
>> I followed your instructions.
>>
>> I also modified the make files a bit according to this -
>> http://ares.lids.mit.edu/redmine/projects/forest-game/wiki/Building_soci_for_iOS   Though I'm not using their scripts.
>>
>> 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.
>>
>>
> Hi Casey,
>
> I'm not sure that it will work in your way.
> Have you read this information
> http://www.cmake.org/Wiki/CMake_Cross_Compiling ?
> And this one http://code.google.com/p/ios-cmake/wiki/HowTo
>
> Unfortunately I've not tried this myself.
>
> --
> Best Regards,
> Sergei Nikulov
>



-- 
Casey James Basichis
Composer - Adventure Time - Cartoon Network
http://www.caseyjamesbasichis.com
caseybasichis at gmail.com
310.387.7540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130314/ea6a2ed0/attachment.htm>


More information about the CMake mailing list