简体   繁体   English

模板已损坏-OpenAL.framework--UPDATE--如何手动创建新的Mac项目?

[英]The template is broken -OpenAL.framework--UPDATE--How to create new mac project manually?

EDIT: It seems like no one knows the answer. 编辑:似乎没有人知道答案。 New question: can anyone post a step by step tutorial how to create a mac project manually?? 新问题:谁能发布逐步教程如何手动创建mac项目? The answer to that question will of course get the "tick" as accepted answer.. 该问题的答案当然会得到“滴答”作为公认的答案。

I have the latest cocos2d version installed. 我已经安装了最新的cocos2d版本。

I made a new mac template and without changing anything I just build it. 我制作了一个新的mac模板,而没有做任何更改,我只是构建了它。 But I get 26 errors and 7 warnings. 但是我收到26个错误和7个警告。

The most important one (I think) is this one: 我认为最重要的一个是:

ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks//OpenAL.framework/OpenAL, file was built for unsupported file format which is not the architecture being linked (x86_64) ld:警告:忽略文件/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks//OpenAL.framework/OpenAL,该文件是为不受支持的文件格式(不是要链接的体系结构)而构建的(x86_64)

I get lots of CDSoundEngine and audio stuff errors. 我收到很多CDSoundEngine和音频错误。

In the warning I copied above...before the "OpenAL.framework" is a double backslash..strange. 在上面我复制的警告中...在“ OpenAL.framework”之前是一个双反斜杠..strange。

I tried to re-add the OpenAL framework but I get the same error. 我试图重新添加OpenAL框架,但出现相同的错误。

I also tried to make a new one but I get the same errors.. I also reinstalled cocos2d..didn't work either. 我也尝试制作一个新的,但是出现了同样的错误..我也重新安装了cocos2d ..也无法正常工作。

This only happens with the mac templates... 这仅在mac模板中发生...

Does anyone know how to fix this? 有谁知道如何解决这一问题?

Edit: (Added screenshot) 编辑:(添加了屏幕截图)

link to screenshot: http://dl.dropbox.com/u/3951219/screenshot_mac_template_error.png http://dl.dropbox.com/u/3951219/screenshot_mac_template_error.png 链接到屏幕截图: http : //dl.dropbox.com/u/3951219/screenshot_mac_template_error.png http://dl.dropbox.com/u/3951219/screenshot_mac_template_error.png

A tad late, but I just had the same problem. 有点迟了,但是我有同样的问题。

For your original question, try this answer here... 对于您的原始问题,请在此处尝试此答案...

My OpenAL Framework is broken 我的OpenAL框架坏了

Oh, and btw, the // is normal. 哦,顺便说一句,//是正常的。 It happens when a program opens a directory like {Frameworks}/OpenAL.framework, and "Frameworks" is /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/. 当程序打开诸如{Frameworks} /OpenAL.framework之类的目录,并且“ Frameworks”为/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/时,就会发生这种情况。 The OS takes a // as a / 操作系统将//作为/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM