2013/3/15 caseyjames <[email protected]>
> Here is the log from that. If I run
>
> 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
> -DWITH_MYSQL=OFF -DWITH_DB2=OFF -DWITH_POSTGRESQL=OFF -DWITH_ODBC=OFF
> -DWITH_ORACLE=OFF -DWITH_FIREBIRD=OFF
> -- Configuring SOCI:
> -- SOCI_VERSION = 3.2.0
> -- SOCI_ABI_VERSION = 3.2
> -- SOCI_PLATFORM_NAME = x86
> -- SOCI_COMPILER_NAME = gcc-4.2.1
> -- SOCI_STATIC = ON
> -- SOCI_TESTS = ON
> -- Looking for SOCI dependencies:
> -- Boost: disabled, since WITH_BOOST=OFF
> -- MySQL: disabled, since WITH_MYSQL=OFF
> -- ODBC: disabled, since WITH_ODBC=OFF
> -- Oracle: disabled, since WITH_ORACLE=OFF
> -- PostgreSQL: disabled, since WITH_POSTGRESQL=OFF
> -- SQLite3:
> -- SQLITE3_INCLUDE_DIR =
>
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/include
> -- SQLITE3_LIBRARIES =
>
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/libsqlite3.dylib
> -- Firebird: disabled, since WITH_FIREBIRD=OFF
> -- DB2: disabled, since WITH_DB2=OFF
> -- Configuring SOCI core library:
> -- Looking for include file pthread.h
> CMake Error at /Prog/iOS.cmake:101 (message):
> No iOS SDK's found in default seach path
> /Developer/Platforms/iPhoneOS.platform/Developer. Manually set
> CMAKE_IOS_SDK_ROOT or install the iOS SDK.
> Call Stack (most recent call first):
> /Prog/Frameworks/soci/src/build/CMakeFiles/2.8.10.2/CMakeSystem.cmake:1
> (include)
> CMakeLists.txt:3 (PROJECT)
>
>
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
> -- Configuring incomplete, errors occurred!
>
>
>
First of all it looks like you've downloaded toolchain which is dated by
2011, while repository shows 2012.
There is no message on line 101 "No iOS SDK's found in default seach path"
here http://code.google.com/p/ios-cmake/source/browse/toolchain/iOS.cmake
Could you please update tool chain file with latest version from repository?
Second thing - it really strange to me that following condition trigged "if
(NOT DEFINED CMAKE_IOS_SDK_ROOT)" anyway...
Could you please try supply this option to cmake as
-DCMAKE_IOS_SDK_ROOT:STRING="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk"
Don't forget to remove all files from previous attempt and invoke cmake
from clean folder.
--
Best Regards,
Sergei Nikulov
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users