Hi Sergei, I commented out line 50 which let me get a little farther - eventually getting back to the Thread issue.
Here are three consecutive runs at first it gets hung up on the SDK, but then it gets to the threads. CASEYs-MacBook-Pro:build caseybasichis$ 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 -- 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: -- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION 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! CASEYs-MacBook-Pro:build caseybasichis$ 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 -- 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: -- MySQL not found. -- MySQL Embedded not found. -- WARNING: -- MySQL not found, some libraries or features will be disabled. -- See the documentation for MySQL or manually set these variables: -- MYSQL_INCLUDE_DIR = MYSQL_INCLUDE_DIR-NOTFOUND -- MYSQL_LIBRARIES = MYSQL_LIBRARIES-NOTFOUND -- ODBC: -- WARNING: -- ODBC not found, some libraries or features will be disabled. -- See the documentation for ODBC or manually set these variables: -- ODBC_INCLUDE_DIR = ODBC_INCLUDE_DIR-NOTFOUND -- ODBC_LIBRARIES = ODBC_LIBRARY-NOTFOUND -- Oracle: -- WARNING: -- Oracle not found, some libraries or features will be disabled. -- See the documentation for Oracle or manually set these variables: -- ORACLE_INCLUDE_DIR = -- ORACLE_LIBRARIES = -- PostgreSQL: -- WARNING: -- PostgreSQL not found, some libraries or features will be disabled. -- See the documentation for PostgreSQL or manually set these variables: -- POSTGRESQL_INCLUDE_DIR = POSTGRESQL_INCLUDE_DIR-NOTFOUND -- POSTGRESQL_LIBRARIES = POSTGRESQL_LIBRARIES-NOTFOUND -- POSTGRESQL_VERSION = unknown -- 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: -- WARNING: -- Firebird not found, some libraries or features will be disabled. -- See the documentation for Firebird or manually set these variables: -- FIREBIRD_INCLUDE_DIR = FIREBIRD_INCLUDE_DIR-NOTFOUND -- FIREBIRD_LIBRARIES = FIREBIRD_LIBRARIES-NOTFOUND -- FIREBIRD_VERSION = -- DB2: -- WARNING: -- DB2 not found, some libraries or features will be disabled. -- See the documentation for DB2 or manually set these variables: -- DB2_INCLUDE_DIR = DB2_INCLUDE_DIR-NOTFOUND -- DB2_LIBRARIES = DB2_LIBRARY-NOTFOUND -- 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! CASEYs-MacBook-Pro:build caseybasichis$ cmake /Prog/Frameworks/soci/src/ -DCMAKE_IOS_SDK_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs -DCMAKE_TOOLCHAIN_FILE=/Prog/iOS.cmake -GXcode -DWITH_BOOST=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: -- MySQL not found. -- MySQL Embedded not found. -- WARNING: -- MySQL not found, some libraries or features will be disabled. -- See the documentation for MySQL or manually set these variables: -- MYSQL_INCLUDE_DIR = MYSQL_INCLUDE_DIR-NOTFOUND -- MYSQL_LIBRARIES = MYSQL_LIBRARIES-NOTFOUND -- ODBC: -- WARNING: -- ODBC not found, some libraries or features will be disabled. -- See the documentation for ODBC or manually set these variables: -- ODBC_INCLUDE_DIR = ODBC_INCLUDE_DIR-NOTFOUND -- ODBC_LIBRARIES = ODBC_LIBRARY-NOTFOUND -- Oracle: -- WARNING: -- Oracle not found, some libraries or features will be disabled. -- See the documentation for Oracle or manually set these variables: -- ORACLE_INCLUDE_DIR = -- ORACLE_LIBRARIES = -- PostgreSQL: -- WARNING: -- PostgreSQL not found, some libraries or features will be disabled. -- See the documentation for PostgreSQL or manually set these variables: -- POSTGRESQL_INCLUDE_DIR = POSTGRESQL_INCLUDE_DIR-NOTFOUND -- POSTGRESQL_LIBRARIES = POSTGRESQL_LIBRARIES-NOTFOUND -- POSTGRESQL_VERSION = unknown -- 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: -- WARNING: -- Firebird not found, some libraries or features will be disabled. -- See the documentation for Firebird or manually set these variables: -- FIREBIRD_INCLUDE_DIR = FIREBIRD_INCLUDE_DIR-NOTFOUND -- FIREBIRD_LIBRARIES = FIREBIRD_LIBRARIES-NOTFOUND -- FIREBIRD_VERSION = -- DB2: -- WARNING: -- DB2 not found, some libraries or features will be disabled. -- See the documentation for DB2 or manually set these variables: -- DB2_INCLUDE_DIR = DB2_INCLUDE_DIR-NOTFOUND -- DB2_LIBRARIES = DB2_LIBRARY-NOTFOUND -- Configuring SOCI core library: -- Could NOT find Threads (missing: Threads_FOUND) CMake Error at core/CMakeLists.txt:22 (message): No thread library found -- Configuring incomplete, errors occurred! -- View this message in context: http://soci.6940.n7.nabble.com/Re-soci-users-CMake-FInd-threads-iOS-tp3400p3401.html Sent from the soci-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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
