Re: [CMake] FInd threads - iOS

2013-03-15 Thread Sergei Nikulov
2013/3/15 Casey Basichis caseybasic...@gmail.com Hi, I tried the tool chain. This console output shows the error. I've tried adding the SDK path up to the include and with the iPhoneOS6.1... part stripped off as well. CASEYs-MacBook-Pro:build caseybasichis$ export

Re: [CMake] FInd threads - iOS

2013-03-15 Thread Casey Basichis
Hi Sergei, Thanks for the the tip on the environment. I tried that command but I'm now getting a different error. cmake /Prog/Frameworks/soci/src/ -DCMAKE_IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk

[CMake] FInd threads - iOS

2013-03-14 Thread Casey Basichis
Hi, I'm tryng to build SOCI on iOS. I was able to enter my boost path in my ~/.profile to get that running, but I'm getting stuck on finding threads. -- Could NOT find Threads (missing: Threads_FOUND) CMake Error at core/CMakeLists.txt:22 (message): No thread library found Is there a way to

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Nick Overdijk
You should install boost in /usr/local with ./b2 install, then more packages will find it. Did you do this or not? Anyway, I just did this: git clone git://github.com/SOCI/soci.git cd soci cd src mkdir build cd build cmake .. And it worked for me. So what did you do exactly? On 2013-14-03, at

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Casey Basichis
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

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Nick Overdijk
Hmm, well I think you're missing some variables. The buildscript up on the site could use some updates, but that should be your ticket. On 2013-14-03, at 19:10:08 , Casey Basichis wrote: Hi, I followed your instructions. I also modified the make files a bit according to this -

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Sergei Nikulov
2013/3/14 Casey Basichis caseybasic...@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

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Casey Basichis
Hi, I've looked at the toolchain but I will read the cross compiling one. I tried compiling SOCI with the toolchain and with those scripts I posted in my last post. On the SOCI mailing list they directed me to this, that suggests the Threading may have been a problem on iOS.

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Casey Basichis
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

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Sergei Nikulov
2013/3/14 Casey Basichis caseybasic...@gmail.com 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

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Mateusz Loskot
On 14 March 2013 18:44, Casey Basichis caseybasic...@gmail.com wrote: 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 Casey, Thanks for posting this issue here. Just FYI, I'm watching

Re: [CMake] FInd threads - iOS

2013-03-14 Thread Casey Basichis
Hi, I tried the tool chain. This console output shows the error. I've tried adding the SDK path up to the include and with the iPhoneOS6.1... part stripped off as well. CASEYs-MacBook-Pro:build caseybasichis$ export