Hi,

Sorry for the delay, I had a deadline I had to hit.

I downloaded the most up to date script - I was downloading the zip instead
of the mercurial.

The iOS SDK error seems to be gone, but the thread error is still there.

Here is the output.

cmake /Prog/Frameworks/soci/src/ -DCMAKE_TOOLCHAIN_FILE=/Prog/iOS.cmake
-GXcode -DWITH_BOOST=OFF
-DCMAKE_IOS_SDK_ROOT:STRING="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk"
-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
-- Looking for include file pthread.h - not found
-- Could NOT find Threads (missing:  Threads_FOUND)
CMake Error at core/CMakeLists.txt:22 (message):
  No thread library found


-- Configuring incomplete, errors occurred!

Thanks,
Casey


On Fri, Mar 15, 2013 at 2:22 AM, Sergei Nikulov [via SOCI] <
[email protected]> wrote:

> 2013/3/15 caseyjames <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3405&i=0>
> >
>
> 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=3405&i=1>
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://soci.6940.n7.nabble.com/Re-soci-users-CMake-FInd-threads-iOS-tp3400p3405.html
>  To unsubscribe from Re: [soci-users] [CMake] FInd threads - iOS, click
> here<http://soci.6940.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3400&code=Y2FzZXliYXNpY2hpc0BnbWFpbC5jb218MzQwMHw5NzQ2MTQ2MjI=>
> .
> NAML<http://soci.6940.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Casey James Basichis
Composer - Adventure Time - Cartoon Network
http://www.caseyjamesbasichis.com
[email protected]
310.387.7540




--
View this message in context: 
http://soci.6940.n7.nabble.com/Re-soci-users-CMake-FInd-threads-iOS-tp3400p3409.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

Reply via email to