Skip navigation
Galip39290
Currently Being Moderated

Build 4.6

Dec 2, 2011 9:02 AM

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.

 
Replies
  • Currently Being Moderated
    Feb 3, 2012 8:06 AM   in reply to Galip39290

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 29, 2013 5:44 AM   in reply to swartzbaugh3

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points