Search found 25 matches
- 15 Jul 2013, 22:21
- Forum: SFS2X C++ API
- Topic: Multiplatform cards game example available
- Replies: 5
- Views: 26546
Re: Multiplatform cards game example available
Awesome! Thanks so much ganquan! You're a lifesaver.
- 02 Jul 2013, 01:48
- Forum: SFS2X C++ API
- Topic: Crash on ThreadSafeMode 0.9.6 API shared_ptr
- Replies: 2
- Views: 6496
Re: Crash on ThreadSafeMode 0.9.6 API shared_ptr
Thank you for the reply.
Sorry, I wasn't subscribed to this thread, so I missed your post.
I'll see if I can try it out some time soon.
Sorry, I wasn't subscribed to this thread, so I missed your post.
I'll see if I can try it out some time soon.
- 23 Jun 2013, 11:28
- Forum: SFS2X C++ API
- Topic: Crash on ThreadSafeMode 0.9.6 API shared_ptr
- Replies: 2
- Views: 6496
Crash on ThreadSafeMode 0.9.6 API shared_ptr
I've been rigorously trying to compile the API on a Mac using Xcode for Cocos2d-x library, but it always fails here: this->host = boost::shared_ptr<string>(new string(*BB_DEFAULT_HOST)); error: Assertion failed: (px != 0), function operator*, file /Users/$USER/Documents/Developer/SFS2X/Cpp_API/SFS2X...
- 23 Jun 2013, 08:14
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
I give up... I have been having this error when building for Mac and iOS: Assertion failed: (px != 0), function operator*, file /Users/$USER/Documents/Developer/SFS2X/Cpp/boostoniphone-master/prefix/include/boost/smart_ptr/shared_ptr.hpp, line 646. It's driving me crazy... I tried to compile using c...
- 22 Jun 2013, 07:22
- Forum: SFS2X C++ API
- Topic: call of overloaded 'pow(double, long int&)' is ambiguous
- Replies: 1
- Views: 5833
Re: call of overloaded 'pow(double, long int&)' is ambiguous
Yeah, just add :: before the pow function.
BTW, you are in for a hell of a ride, my friend. Compiling the library on Mac was no easy task, but no worries, I'm here to help, and hopefully we can make sure we make everything clear for the rest of the users.
Best.
BTW, you are in for a hell of a ride, my friend. Compiling the library on Mac was no easy task, but no worries, I'm here to help, and hopefully we can make sure we make everything clear for the rest of the users.
Best.
- 19 Jun 2013, 08:16
- Forum: SFS2X C++ API
- Topic: Delegates vs target/action
- Replies: 0
- Views: 9022
Delegates vs target/action
Hello people of earth! While exploring the C++ API, I couldn't help but notice the target action paradigm that was adopted by the API to implement callbacks. As far as I can tell, this gives a lot of flexibility and loose coupling for components, but in return, it's fragile and requires a precise ma...
- 18 Jun 2013, 12:04
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
OK, after realizing that the architecture was wrong, I decided to throw everything out the window, and start from scratch using Xcode instead. And here I am, finally, 4:38 am with a mountain dew 2L bottle two-thirds empty, finally compiled the library and integrated it into a 32-bit Mac cocos2d-x pr...
- 17 Jun 2013, 11:31
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
hmm... I kinda have some bad news. When I was finally able to link the API lib to the Xcode project (Mac OS project), and compiled it successfully, the examples didn't work at all. I honestly have to note that: 1 - inside the main function there is "this" being sent as a parameter, which s...
- 17 Jun 2013, 07:21
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
Bax,
Sure thing. I'll try to do a write up real soon.
Best,
Sure thing. I'll try to do a write up real soon.
Best,
- 17 Jun 2013, 00:00
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
FINALLY, I added zlib library to the linked libraries in eclipse, (adding z), and it finally built the API successfully. I have intentionally been verbose with each and every issue I faced for future reference. Thanks, now I am down to this small linker error. It is related to not finding the zLib c...
- 16 Jun 2013, 22:10
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
... I have reached the exact same errors using the SFS API boost library. Everything is compiled nicely, but the linker freaks out and generates a huge error: Anyone knows how to resolve this?? It seems to have something to do with compiling using libstd++ and libc++. Undefined symbols for architect...
- 16 Jun 2013, 21:47
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
I ran into a new issue, that seems a lot more sane that what I have seen earlier: USER@COMPUTER SFS2X_API_Cpp_v0.9.6 $ cd Core/BoostAsio/Unix/boost/config/platform/ cygwin.hpp linux.hpp win32.hpp I am missing macos.hpp, how can I generate that? Thanks, EDIT: I just downloaded that from the boost web...
- 16 Jun 2013, 21:18
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
OK, I kind of went through hell this weekend for nothing. The answer I seeked was actually simple. First, in order to resolve the issue, I tried to download the boost library and compile it, failed, so I decided to take a different approach. Used MacPorts, and installing the boost libraries was a sn...
- 14 Jun 2013, 15:07
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
Congratulations on the new API! It seems to be a huge improvement over the previous build. I was wondering if you had time to look into this Mac OS compile error?
Thanks,
Thanks,
- 10 Jun 2013, 19:42
- Forum: SFS2X C++ API
- Topic: Compiling Boost library on Mac OS
- Replies: 17
- Views: 30173
Re: Compiling Boost library on Mac OS
Hi, can this post http://smartfoxserver.com/forums/viewtopic.php?f=34&t=15945 help you? Thanks MBagnati, I read that post, and I didn't think it would be best to download and compile the boost libraries for the official website, that would take a long time researching and figuring things out. I...