hovergames / avalon

Various extensions, helper and functions for cocos2d-x
Other
91 stars 37 forks source link

Error with cocos2d-x and iOS 7.1 #47

Closed hydex86 closed 8 years ago

hydex86 commented 10 years ago

I'm trying to integrate this library, but i got this error:

error: /Users/dani/Documents/cocos2d-x-2.2.2/extensions/avalon/avalon/physics/vendors/../../../vendors/b2dJson/c++: No such file or directory

I followed following steps:

Did I miss something? Thanks in advance

michaelcontento commented 10 years ago

Sounds like you missed git submodule update --init?

hydex86 commented 10 years ago

Thanks @michaelcontento it worked. But I found another problem.

When I try to compile, I got some errors in avalon>ui>Alert.h class. In line:

using Callback = std::function<void(const unsigned int, const std::string)>;

The compiler says: "No type named 'function' in namespace 'std'"

And "Unknown type name 'Callback' in line:

Callback delegate;

Do you know what is happening?

hydex86 commented 10 years ago

Just for update, i made this change:

Change Target's --> Build Settings --> C++ Standard L11ibrary --> libc++ (LLVM C++ .... ) Also maybe you need to change C++ Language Dialect --> GNU++11 (-std=..........)

Fixed first error, but I still get "Unknown type name 'Callback' in line:

Callback delegate;
michaelcontento commented 8 years ago

closed as this project is no longer maintained - sorry :disappointed: