关于FileUtils路劲问题

系统:Mac
软件:Xcode 6.1
问题:路径识别不了
引擎:cocos2dx-3.2

在AppDelegate.cpp里边的applicationDidFinishLaunching()函数里加入以下代码

std::vectorstd::string searchPath;
searchPath.push_back(“height_864”);
FileUtils::getInstance()->setSearchPaths(searchPath);

在其他文件里这样使用的时候报错.所有的文件只要加入文件夹名就报错
groupLabel = Label::createWithBMFont(“fonts/bitmapFontChinese.fnt”, " ");

fullPathForFilename: No file found at fonts/bitmapFontChinese.fnt. Possible missing file.

但是这样的使用就不会了
groupLabel = Label::createWithBMFont(“bitmapFontChinese.fnt”, " ");

所有的资源文件都是这样. 资源文件如下图

好奇怪的问题,关注一下。。可能是bug。。。

已关注,稍后给你反馈

这边测试了,其实你就算不在AppDelegate.cpp这里面添加那些代码,也会如此的。这个问题3.4里面已经修复了

好的.谢谢版主