Compiler Error

When i try to compile an application, i get this error

Using built-in compiler shell, up to 4 parallel threads
See compiler settings at File | Settings | Compiler | Flex Compiler page

[uwth1] mxmlc -load-config+=/home/julian/Workspace/uwth1/compiler-config.xml
[uwth1] Loading configuration file /home/julian/SDK/flex_sdk_4.5.0.17855/frameworks/flex-config.xml
[uwth1] Loading configuration file /home/julian/Workspace/uwth1/compiler-config.xml
[uwth1] Compilation failed
Compilation completed with 1 error and 0 warnings
[uwth1] a target file must be specified



I have found that when i try the sample application, it does not work, but when i start from scratch, i get this error

Many thanks
1 comment

I believe that error message is correct and you haven't specified path to main class your custom compiler configuration file (/home/julian/Workspace/uwth1/compiler-config.xml). Make sure that <flex-config><file-specs><path-element> tag is present there.
By the way if you do not use advanced compiler settings you'd better configure compiler options at Flex Compiler Settings tab and not use custom config file.

0

Please sign in to leave a comment.