"already has the suffix -ipad. Using it."找不到 Cocos2d-x 图像
Cocos2d-x image not found "already has the suffix -ipad. Using it."
所以我正在使用Cocos2d,但不断收到错误
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.fnt
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
Cocos2d: cocos2d: CCFileUtils: Warning file not found: TurkeySprite_v2-ipad.png
Cocos2d: cocos2d: WARNING Filename(TurkeySprite_v2-ipad) already has the suffix -ipad. Using it.
Cocos2d: cocos2d: WARNING Filename(TurkeySprite_v2-ipad) already has the suffix -ipad. Using it.
我不确定这一切意味着什么,但我几乎刚刚开始我的项目,想知道我怎么这么快就出错了。
有人可以帮忙吗?
警告
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.fnt
表示您尝试显示加载文件名 @"fps_images.fnt" 的子画面,并且找不到它的 iPad 特定版本(称为 @"fps_images-ipad.fnt"。
另一方面,您得到的另一个警告:
Cocos2d: cocos2d: WARNING Filename(TurkeySprite_v2-ipad) already has the suffix -ipad. Using it.
表示您尝试通过指定图像名称来加载图像:@"TurkeySprite_v2-iPad.png";由于它已包含-ipad
后缀,因此您会收到警告。
在第一种情况下,您可以通过提供iPad特定版本的文件来避免警告;在第二种情况下,只需从文件名@"TurkeySprite_v2.png"中删除-ipad
即可。
在这两种情况下,这两种警告都没有绝对的错误。
相关文章:
- std::map<struct,struct>::find 找不到匹配项,但是如果我循环通过 begin() 到 end(),我在那里看到匹配项
- 找不到成员对象:没有名为get_event()的成员,也处理多态性和向量
- 为什么野牛仍在使用"int yylex(void)",却找不到"int yylex(YYS
- C++ Windows 驱动程序MSB3030无法复制该文件,因为它找不到
- 奇怪的(对我来说)返回声明 - 在谷歌上找不到任何关于它的信息
- 找不到QtResource文件中的文件
- VC++本机单元测试,找不到调试符号
- RegGetValue在当前用户下找不到名称
- 带有 -stdlib=libc++ 的 clang++ 9.0.1 找不到<optional>
- c++找不到具有相同哈希的无序集合元素
- 找不到以下加速库:boost_fiber
- 找不到 FLTK(缺少:FLTK_INCLUDE_DIR)
- 设置 Visual Studio for MPI: 找不到标识符错误
- "assimp/config.h"找不到,但它在文件夹中
- 链接器找不到在虚拟类 c++ 中访问的静态字段的符号
- C++系统找不到指定的文件错误
- FindPackageHandleStandardArgs.cmake:137 的 CMake 错误(消息):找不到 Boost (缺少:正则表达式)(找到合适的版本"1.72.0",
- vcpkg 添加新库,但找不到
- Qt 5.11.2 (Clang 8.0 (Apple), 64 位), 找不到 QJSEngine 文件
- "already has the suffix -ipad. Using it."找不到 Cocos2d-x 图像