Skip to content

Chipmunk 引入之后,项目编译就报错了. #30

@FreshManCode

Description

@FreshManCode

报错信息如下,处理了很久不知道是什么原因,希望能给与解答.谢谢.
Undefined symbols for architecture arm64:
"_cpSpaceStep", referenced from:
-[ZJBKAnimationWithTimerVC stepBox:] in ZJBKAnimationWithTimerVC.o
"_cpSpaceEachShape", referenced from:
-[ZJBKAnimationWithTimerVC stepBox:] in ZJBKAnimationWithTimerVC.o
"_cpSpaceNew", referenced from:
-[ZJBKAnimationWithTimerVC p_physicalEngine] in ZJBKAnimationWithTimerVC.o
"_cpSpaceAddBody", referenced from:
-[ZJBKAnimationWithTimerVC p_physicalEngine] in ZJBKAnimationWithTimerVC.o
"_cpShapeFree", referenced from:
-[ZJCreate dealloc] in ZJCreate.o
"_cpBodyFree", referenced from:
-[ZJCreate dealloc] in ZJCreate.o
"_cpBodyActivate", referenced from:
_cpShapeSetFriction in ZJCreate.o
"_cpBodyNew", referenced from:
-[ZJCreate initWithFrame:] in ZJCreate.o
"_cpMomentForBox", referenced from:
-[ZJCreate initWithFrame:] in ZJCreate.o
"_cpPolyShapeNew", referenced from:
-[ZJCreate initWithFrame:] in ZJCreate.o
"_cpSpaceAddShape", referenced from:
-[ZJBKAnimationWithTimerVC p_physicalEngine] in ZJBKAnimationWithTimerVC.o
"_cpBodySetPos", referenced from:
-[ZJCreate initWithFrame:] in ZJCreate.o
ld: symbol(s) not found for architecture arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions