我在Win7设置中有环境变量,这样我就可以通过提示编译.as文件了.
但是它显示了一些关于没有FactoryClass的警告,所以我无法使用共享库进行编译.如何使用导入的类和库编译文件?
我正在尝试编译 mxmlc file.as
谢谢
小智 5
Warning: This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option.
Run Code Online (Sandbox Code Playgroud)
在保存Flex 4文件的"frameworks"目录下找到flex-config.xml文件,并将以下内容从"false"更改为"true":
<static-link-runtime-shared-libraries>false</static-link-runtime-shared-libraries>
to -->
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
Run Code Online (Sandbox Code Playgroud)
我在这里的Linux机器上,但这也应该在Windows平台上做到这一点.
干杯!
| 归档时间: |
|
| 查看次数: |
1338 次 |
| 最近记录: |