Page 1 of 1

Detected an attempt to call a symbol in system libraries tha

Posted: 06 May 2013, 10:25
by pzc19870208
I use the API comes with the Boost libraries compiled
Core / BoostAsio / Unix / bootstrap.sh
./b2 Not generate any stage / lib library files
So I downloaded boost_1_53_0 compile static library files
I was in a MAC environment using the API
When I initialize the engine
Sfs2x :: SmartFox * sfs = new Sfs2X :: SmartFox ();
Errors
Detected an attempt to call a symbol in system libraries that is not present on the iPhone (null) called from function _ZN5boost18condition_variableC2Ev in image
Whether I Boost error

Re: Detected an attempt to call a symbol in system libraries

Posted: 06 May 2013, 18:00
by MBagnati
C++ API supports iOS, even if we didn't test them directly.
Another user has posted questions about iOS environment on this forum (see "Does C++ API work on Android and iOS?" at http://forums.smartfoxserver.com/viewto ... 34&t=15945 )
To use API with success in iOS6.1/xCode 4.6 environment he suggests to compile boost (he uses version 1.52.0 downloaded from boost website) by follow this link http://gitorious.org/boostoniphone#more
without -stdlib=libc++ -std=gnu++11
Do you have the same environment? Could you try to recompile Boost using instructions contained into http://gitorious.org/boostoniphone#more ?