<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/3/15 Casey Basichis <span dir="ltr">&lt;<a href="mailto:caseybasichis@gmail.com" target="_blank">caseybasichis@gmail.com</a>&gt;</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"><span style="font-family:arial,sans-serif;font-size:13.3333px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13.3333px"><br></div><div style="font-family:arial,sans-serif;font-size:13.3333px">

I tried the tool chain.  This console output shows the error. I&#39;ve tried adding the SDK path up to the include and with the iPhoneOS6.1... part stripped off as well.</div><div style="font-family:arial,sans-serif;font-size:13.3333px">

<br></div><div style="font-family:arial,sans-serif;font-size:13.3333px"><div>CASEYs-MacBook-Pro:build caseybasichis$ export CMAKE_IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/</div>

<div>CASEYs-MacBook-Pro:build caseybasichis$ echo $CMAKE_IOS_SDK_ROOT</div><div>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/</div><div>CASEYs-MacBook-Pro:build caseybasichis$ cmake /Prog/Frameworks/soci/src/ -DCMAKE_TOOLCHAIN_FILE=/Prog/iOS.cmake -GXcode -DWITH_BOOST=OFF</div>

<div>CMake Error at /Prog/iOS.cmake:101 (message):</div><div>  No iOS SDK&#39;s found in default seach path</div><div>  /Developer/Platforms/iPhoneOS.platform/Developer.  Manually set</div><div>  CMAKE_IOS_SDK_ROOT or install the iOS SDK.</div>

<div>Call Stack (most recent call first):</div><div>  /Applications/CMake 2.8-10.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (include)</div><div>  CMakeLists.txt:15 (project)</div><div><br></div><div>

<br></div><div>CMake Error: Could not find cmake module file:/Prog/Frameworks/soci/src/build/CMakeFiles/<a href="http://2.8.10.2/CMakeCCompiler.cmake" target="_blank">2.8.10.2/CMakeCCompiler.cmake</a></div><div>CMake Error: Could not find cmake module file:/Prog/Frameworks/soci/src/build/CMakeFiles/<a href="http://2.8.10.2/CMakeCXXCompiler.cmake" target="_blank">2.8.10.2/CMakeCXXCompiler.cmake</a></div>
<div class="im">
<div><div>-- Configuring incomplete, errors occurred!</div><div><br></div></div></div><div>I built Sqlite using cmake yesterday - which seemed to succeed using my initial method.  Currently its pointing to the system default iOS Sqlite binary.<br>

</div><div><br></div><div>Any ideas?</div></div></div><div class="gmail_extra"><div><div class="h5"><br></div></div></div></blockquote><div> </div></div>Yep.<br>Do not export  CMAKE_IOS_SDK_ROOT to your environment.<br></div>
<div class="gmail_extra">Since it called CMAKE_&lt;something&gt; you should pass it as cmake command line invocation.<br></div><div class="gmail_extra">I quickly dig through ios.cmake and not sure that something will be taken from environment.<br>
</div><div class="gmail_extra"><br>Try this <br>cmake &lt;path to soci&gt; -DCMAKE_IOS_SDK_ROOT=&lt;path to SDK root&gt; -DCMAKE_TOOLCHAIN_FILE=&lt;path to tool-chain file&gt; -GXcode -DWITH_BOOST=OFF<br></div><div class="gmail_extra">
<br clear="all"><br>-- <br>Best Regards,<br>Sergei Nikulov
</div></div>