BowlerHatLLC / vscode-as3mxml

ActionScript & MXML language extension for Visual Studio Code. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.
https://as3mxml.com/
Apache License 2.0
257 stars 39 forks source link

警告: 此编译单元不包含在 Frame 元数据中指定的 factoryClass,无法加载配置的运行时共享库 #707

Closed panjunqiao closed 11 months ago

panjunqiao commented 1 year ago

E:\panjunqiao\develop\Flash\slg\src\game\Main.as: 警告: 此编译单元不包含在 Frame 元数据中指定的 factoryClass,无法加载配置的运行时共享库。要在没有运行时共享库的情况下进行编译,请将 -static-link-runtime-shared-libraries 选项设置为 true,或删除 -runtime-shared-libraries 选项。

joshtynjala commented 1 year ago

Adding translation from Google Translate:

E:\panjunqiao\develop\Flash\slg\src\game\Main.as: Warning: This compilation unit does not contain the factoryClass specified in the Frame metadata and cannot load the configured runtime shared library. To compile without runtime shared libraries, set the -static-link-runtime-shared-libraries option to true, or remove the -runtime-shared-libraries option.

joshtynjala commented 1 year ago

Did you try setting the static-link-runtime-shared-libraries compiler option to true?

panjunqiao commented 1 year ago

Yes, I have tried.

joshtynjala commented 1 year ago

Does any of the code in your project contain [Frame] metadata with a factoryClass field?