FlashDevelop,只有“构建失败”
我正在尝试编译以下程序。我已经像往常一样下载了已经正确添加到全局类路径 FlashDevelop 的文件夹中的 TweenMax,但是当我尝试编译时,它在输出中出现以下错误:
“C:\MyLibraries\greensock-as3\ com \ greensock \ TweenLite.as:错误: 在源路径中找到的文件必须 具有相同的包结构'',以 定义的包, 'com.greensock'。构建停止于 错误(FCSH)。”
我在各个论坛中搜索了解决方案,但没有任何决定。
有什么建议吗?
I'm trying to compile the following program. I have downloaded the TweenMax already added correctly to the folder of the Global Classpaths FlashDevelop as I always do, but when I try to compile it gives the following error in the Output:
"C: \ MyLibraries \ greensock-as3 \
com \ greensock \ TweenLite.as: Error:
A file found in the source-path must
have the Same package structure'', to
the definition's package,
'com.greensock'. Build halted with
errors (FCSH)."
I've searched various forums for solutions, but nothing decided.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的项目中是否使用了 TweenMax 源代码,或者库路径中是否有 SWC?
假设是前者,听起来您的源路径设置不正确。它应该指向:
C:\MyLibraries\greensock-as3\
,然后 TweeLight.as 文件将正确包含一个包 com.greensock.TweenLite。根据错误,我假设源路径指向 C:\,如果是这样,那么 TweenLite 包应该是
MyLibrarires.greesock.as3.com.greenSock.TweenLite
。Are you using the TweenMax source code in your project, or do you have the SWC in the library path?
Assuming the former, it sounds like you have the source path incorrectly set. It should point to:
C:\MyLibraries\greensock-as3\
and then the TweeLight.as file will properly have a package com.greensock.TweenLite.Based on the error, I assume the source path is pointed at C:\ and if so then the TweenLite package should be
MyLibrarires.greesock.as3.com.greenSock.TweenLite
.