create_func 问题

yuye-chukong
Fri, 03 Jan 2014 08:38:00 +0000

能不能发一个demo上来。你可以放一个在github上然后给我们链接

— Begin quote from ____

引用楼主he4330937于2014-01-03 16:24发表的 CREATE_FUNC 问题 :
StaticLibrary : libcpufeatures.a
SharedLibrary : libcocos2dcpp.so
D:/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/…/lib/gcc/arm-linux-androideabi/4.6/…/…/…/…/arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/cocos2dcpp_shared///Classes/AppDelegate.o: in function MainMenuLayer::create():jni/…/…/Classes/MainMenuLayer.h:19: error: undefined reference to ‘MainMenuLayer::init()’
D:/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/…/lib/gcc/arm-linux-androideabi/4.6/…/…/…/…/arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/cocos2dcpp_shared///Classes/AppDelegate.o: in function MainMenuLayer::create():jni/…/…/Classes/MainMenuLayer.h:19: error: undefined reference to ‘vtable for MainMenuLayer’
collect2: ld returned 1 exit status
… http://www.cocoachina.com/bbs/job.php?action=topost&tid=177925&pid=tpc

— End quote

阅读整个主题