| Issue 76: | using cocos2d and box2d | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. use both box2d and cocos2d
2. change the .m to .mm
What is the expected output? What do you see instead?
8 errors.
What version of the product are you using? On what operating system?
TouchXML_1.0.7_Release
Please provide any additional information below.
- (CXMLNodeKind)kind
{
NSAssert(_node != NULL, @"CXMLNode does not have attached libxml2 _node.");
return(_node->type); // TODO this isn't 100% accurate!
}
Apr 13, 2010
Project Member
#1
jwight
Apr 13, 2010
I searched and couldn't find anything about this... I'm trying to install TouchXML in an app that uses the Cocos2D template for the latest version of cocos2d. I've used TouchXML with cocos2d before, in versions 0.7x and 0.8x. But right now, I'm getting the following error: Command /Developer/iPadBeta/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool failed with exit code 1 with the following seeming to be the juicy bits: can't locate file for: -lxml2 file: -lxml2 is not an object file (not allowed in a library) The second one definitely makes me think that this is something to do with the way that cocos sets up the project, but I don't know how to fix it. Any experience with this issue / known fixes?
May 31, 2010
The way to fix this is NOT to "Project -> Edit Settings" but to "Project -> Edit Active Target" and set your includes and -lxml2 there. cocos2d setup the project with 2 targets, cocos2d and the project itself, you wanna edit the build setting for your project, NOT the cocos2d target.
Jun 8, 2010
This isn't a Touchcode bug. Invalid.
Status:
Invalid
|