Build project error Erorr: 1046

FlexMonkey Forum

Hi all,

When  I try to configur FlexMonkey in my projec by adding some build arguments -include-libraries: -include-libraries "${flexlib}/libs/automation/automation.swc". When I build my project I got some errors with variable declaration.

Erorr: 1046: Type was not found or was not a compile-time constant: MyClass.

When I don't include automation.swc, I can build my project succesfully, but I connot recode the event in flexmonkey correctly.

My project use Gas3 v1.2.0 (Granite Data Services).

If anyone know how to fix this.

 

Thanks,

 

Kethya

You've got a typo

-include-libraries-include-libraries "${flexlib}/libs/automation/automation.swc"

should be

-include-libraries "${flexlib}/libs/automation/automation.swc"

Oh my bad

Oh my bad writting.

 

Thanks

 

Kethya