-
adesuluhnLikes 0Problem Description
Hi, so i try to add dragonbones into my cocos2d-x project, and i use this github repo:
https://github.com/DragonBones/DragonBonesCPP/tree/master/Cocos2DX_3.x
This is project structure pic:
then, when i run, i got this error:
for header, theres some error too, but i fix it in include with “../../dragonbones”, but after that error like image above, maybe sonarlearning can help with this issue? Thanks :)
-
Sonar Systems adminLikes 0
Does a fresh project work for you?
This reply has been verified.
-
adesuluhnLikes 0
yes, it’s run well for fresh project, maybe in the dragonbones project there’s some step i missing? i’’ll post my project in github soon
-
adesuluhnLikes 0
this is my github project https://github.com/adesuluh/DragonBones-CPP
-
Sonar Systems adminLikes 0
Are you using the same Cocos2d-x version?
This reply has been verified.
-
adesuluhnLikes 0
in github source, it tell dragonbones for v3.x , im using cocos2d-x v3.10
-
Sonar Systems adminLikes 0
Try inlcuding dagon bones as a group not a reference.
This reply has been verified.
-
adesuluhnLikes 0
Thanks! its work on my device:)
-
adesuluhnLikes 0
when i build desktop in mac, it give :
Undefined symbols for architecture x86_64:
"AppDelegate::AppDelegate()", referenced from:
_main in main.o
"AppDelegate::~AppDelegate()", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
why is it?
-
Sonar Systems adminLikes 0
Check that the appdelegate has that code.
This reply has been verified.
-
adesuluhnLikes 0
thanks i solve with add all scricpt target build in build phase :)
-
Sonar Systems adminLikes 0
Fantastic to hear, good luck with your development journey.
Don’t forget, if you have any questions feel free to post them.
Login to reply