<div dir="ltr"><div style>Hi Sergei,</div><div style><br></div><div style>Thanks for the the tip on the environment. </div><div style><br></div><div style>I tried that command but I&#39;m now getting a different error.</div>
<div><br></div><div>cmake /Prog/Frameworks/soci/src/ -DCMAKE_IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -DCMAKE_TOOLCHAIN_FILE=/Prog/iOS.cmake -GXcode -DWITH_BOOST=OFF</div>
<div>-- Configuring SOCI: </div><div>-- SOCI_VERSION                             = 3.2.0 </div><div>-- SOCI_ABI_VERSION                         = 3.2 </div><div>CMake Error at cmake/SociConfig.cmake:50 (message):</div><div>
  CMake is unable to recognize compilation toolset to build SOCI for you!</div><div>Call Stack (most recent call first):</div><div>  CMakeLists.txt:41 (include)</div><div><br></div><div><br></div><div>-- Configuring incomplete, errors occurred!</div>
<div><br></div><div style>Thanks,</div><div style>Casey</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 11:57 PM, Sergei Nikulov <span dir="ltr">&lt;<a href="mailto:sergey.nikulov@gmail.com" target="_blank">sergey.nikulov@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im"><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>
<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><br></div></div></div></blockquote><div> </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="im">
<div class="gmail_extra">
<br clear="all"><br>-- <br>Best Regards,<br>Sergei Nikulov
</div></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>