为什么编译不了啊

我的一编译就报这个错,问题是我已经安装了vs2013了,大神帮忙看一下什么原因

Microsoft Windows 版本 6.1.7601]
版权所有 © 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>e:

E:>cd E:\cocos2d-x_example\hello

E:\cocos2d-x_example\hello>cocos run -p win32
Runing command: compile
Building mode: debug
building
Required VS version : 11.0
Can’t find correct Visual Studio’s path in the regedit

这个问题解决了吗 我也遇到了这个问题

我也遇到 了 求大神 求官方网 e:\simple\MyCppGame>cocos.py run -p win32
Runing command: compile
Building mode: debug
building
Required VS version : 11.0
Can’t find correct Visual Studio’s path in the regedit

:2::2::2::2:

有解决了的吗?同问啊

VS没装好吧。注册表找不到路径。。。

你可以参考下这篇文章底下的问答。看是否有帮助。
http://blog.csdn.net/star530/article/details/21483729

在cocos2d-x-3.2\tools\cocos2d-console\plugins\project_compile\project_compile.py找到“# find the vs which version >= required version”,然后再后面的代码增加try,即修改下面的代码 ,然后用python编译为project_compile.pyc。究其原因是当注册表(SOFTWARE\Microsoft\VisualStudio\)含有(SOFTWARE\Microsoft\VisualStudio\SxS\VS7)没有的项时,在上层代码段产生异常,终止了注册表其他项目的检查,因此在这里增加了try块。

find the vs which version >= required version

                    if find_ver >= float(require_version):
                        try:
                        key = _winreg.OpenKey(vs, r"SxS\VS7")
                        vsPath, type = _winreg.QueryValueEx(key, version)
                      
                        if os.path.exists(vsPath):
                            if float(version) > float(require_version):
                                needUpgrade = True
                            break
                        else:
                            vsPath = None
                        except:
                            continue
                            
                    i += 1

python编译为project_compile.pyc, 冒昧的问一下,怎么编译?没用过python:12:

搞定了,编译命令是 python -mpy_compile project_compile.py
编译出现问题请参考这两个帖子:
http://www.crifan.com/python_syntax_error_indentationerror/comment-page-1/
http://blog.csdn.net/neilhappy/article/details/7724959
新手飘过~~~~~~