Skip to main content
December 2, 2011
Question

Build 4.6

  • December 2, 2011
  • 1 reply
  • 1751 views

Hi,

I have just downloaded Flex 4.6 framework, and I cannot build the sdk.

When I run ant main, I've got a lot of errors :

...

////////////

    [compc] ^

    [compc]

    [compc] C:\FlexSDK\4.6.0\frameworks\projects\framework\src\mx\core\ILayoutEl

ement.as(29): col: 41 Error: Interface IEventDispatcher was not found.

    [compc]

    [compc] public interface ILayoutElement extends IEventDispatcher

    [compc]                                         ^

    [compc]

    [compc] C:\FlexSDK\4.6.0\frameworks\projects\framework\src\mx\core\ILayoutDi

rectionElement.as(1): col: 1 Error: The definition of base class Object was not

found.

    [compc]

    [compc] ////////////////////////////////////////////////////////////////////

////////////

...

When I build 4.5.1, I have no error and everythink works fine.

Is there a difference in 4.6, should I define a new environnment variable or add an argument to the ant command ?

Thanks in advance.

Nicolas Beaudrot.

This topic has been closed for replies.

1 reply

Participant
February 3, 2012

I'm also unable to compile the 4.6 sdk. I am able to build all previous versions but 4.6 throws a ton of errors.

Has anyone been able to successfully build sdk 4.6 on windows? 

To build I did the following:

cd FLEX_HOME/frameworks/

ant

Am I missing something? Like I said, I was able to successfully build all previous versions doing this.

Innovatology
Participating Frequently
April 29, 2013

The build.xml file probably contains an incorrect version:

<property name="playerglobal.version" value="11.0"/>

Your environment variable PLAYERGLOBAL_HOME should point to a directory containing various version numbers. The version number specified above must exist and contain the relevant playerglobal.swc file.