COCOS2DX 编译IOS问题
d: warning: ignoring file /Users/wenbinwu/Library/Developer/Xcode/DerivedData/MyCppGame-fbpcrzkehoplongebtwwozjvtpro/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a, file was built for archive which is not the architecture being linked (i386): /Users/wenbinwu/Library/Developer/Xcode/DerivedData/MyCppGame-fbpcrzkehoplongebtwwozjvtpro/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CCEAGLView", referenced from:
objc-class-ref in AppController.o
"SoundEngine::ResumeSound()", referenced from:
AppDelegate::applicationWillEnterForeground() in AppDelegate.o
"SoundEngine::PausSound()", referenced from:
AppDelegate::applicationDidEnterBackground() in AppDelegate.o
"SoundEngine::SoundEngine()", referenced from:
工程在VS2012下编译正常 拷贝到MAC上 编译报这个错误,求大神指点。。。
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CCEAGLView", referenced from:
objc-class-ref in AppController.o
"SoundEngine::ResumeSound()", referenced from:
AppDelegate::applicationWillEnterForeground() in AppDelegate.o
"SoundEngine::PausSound()", referenced from:
AppDelegate::applicationDidEnterBackground() in AppDelegate.o
"SoundEngine::SoundEngine()", referenced from:
工程在VS2012下编译正常 拷贝到MAC上 编译报这个错误,求大神指点。。。
...全文
相关推荐
Cocos2dx中UIWebView替换为WKWebView
正确的做法是将新代码与原始的`UIWebViewImpl-ios.mm`文件进行比较,保留那些可能导致编译错误的函数。
cocos2dx windows环境搭建
- 然而,在尝试打开cpp文件时,会遇到工程无法再次运行的问题。2. 解决工程无法再次运行的问题: - 这时需要为C++工程添加编译环境。
cocos2dx爬坑日记-11
cocos2dx爬坑日记-11本篇文章主要记录了使用cocos2dx开发Android游戏时遇到的问题和解决方法。
cocos2dx教程
cocos2dx引擎使用C++作为主要开发语言,支持多种平台,包括iOS、Android、Windows、Mac等。它提供了丰富的API,用于图形绘制、动画处理、音频管理、物理引擎集成等。
cocos2dx-2.x播放mp4
**配置和编译FFmpeg**:根据你的平台(iOS, Android, Windows等)配置FFmpeg,确保编译出适合Cocos2dx的静态库。3.


