Projects > cpp > Issues > Bug #748

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

build error in win32 release version

Bug #748 [Closed]
walzer@cocos2d-x.org 2011-10-10 17:24 . Updated over 4 years ago

山河寂寥 23:56:50
王哲 给你报告一个BUG
官网下载0.9.1版本的cocos2d-x用build-win32.bat自动安装。再安装install-templates-msvc.bat。打开win32.vc2008.sln。 将test设为启动项。debug下调试,通过。release下调试,出错:错误 2 fatal error C1083: 无法打开包括文件:“LuaSimpleAudioEngine.h”: No such file or directory e:and source\cocos2d-x\cocos2d-1.0.1-x-0.9.1\lua\cocos2dx_support\LuaEngineImpl.cpp 37 HelloLua
山河寂寥 00:05:07
但是这个头文件明明是在的。
解决方法:
hellolua项目右击,属性-配置属性-C/c++-常规-附加包含目录。
这个cocosdenshion_support这行 最左边的.和lua前面的\删除掉
再编译一次,这次 会出现97个警告,没有错误。
然后再编译一次,这次完全通过了。
这个BUG太诡异了。能不能修复下:

开发环境:
XP SP2中文版+VS2008中文版SP1

zhangxm 2011-10-11 01:33
  • Status changed from New to Closed

This bug is resolved. I don’t know which issue resolves it, may be no issue.

walzer@cocos2d-x.org 2012-05-25 08:02
  • Project changed from cocos2d-x to cpp
  • Category deleted (4)
  • Target version deleted (cocos2d-1.0.1-x-0.9.2)

Atom PDF

Status:Closed
Start date:2011-10-10
Priority:Normal
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.