This is a message.

error compiling CVS source Created Jun 9, 2010

This thread is solved

Views: 2384     Replies: 12     Last reply Sep 17, 2011  
You must login first before you can use this feature

harryh27

Posts: 11

Registered:
Feb 9, 2010

error compiling CVS source

Posted: Jun 9, 2010

When compiling CVS source revision 1051 I get this error
"Controls.as(142): col: 39 Error: Type was not was not a compile-time constant: AutoHideConfig."
Can anyone tell what I am doing wrong ?

darrel.herbst

Posts: 101

Registered:
Apr 1, 2010

» error compiling CVS source

Posted: Jun 14, 2010

Reply to: error compiling CVS source, from harryh27
You might be mixing versions of the controls and player source. Make sure you are using the same versions of plugins and players.

gogilesgo

Posts: 8

Registered:
Jun 10, 2010

» » error compiling CVS source

Posted: Jun 15, 2010

Reply to: » error compiling CVS source, from darrel.herbst
am getting something very similar myself:

Error: Type was not found or was not a compile-time constant: AutoHideConfig.
[exec]
[exec] public function get autoHide():AutoHideConfig {

Error: Access of undefined property hasSlowMotion.
[exec]
[exec] CONFIG::hasSlowMotion {

etc etc

Downloaded the latest version of the player (3.2.2) and latest version of the controls (3.2.1) and still get the error. I understand these are two different numbers but both, at present, are the most up to date version on the site/SVN.

any ideas?

harryh27

Posts: 11

Registered:
Feb 9, 2010

» » » error compiling CVS source

Posted: Jun 15, 2010

Reply to: » » error compiling CVS source, from gogilesgo
I managed to solve my problem by downloading
common/src/actionscript/org/flowplayer/ui/AutoHide.as
from the CVS

gogilesgo

Posts: 8

Registered:
Jun 10, 2010

» » » » error compiling CVS source

Posted: Jun 16, 2010

Reply to: » » » error compiling CVS source, from harryh27
just tried that but still got the same problem. I've dropped the entire common folder in to the same location as the flowplayer and flowplayer.controls folders then targeted it in the build.properties file but no dice.

Am I missing something?

harryh27

Posts: 11

Registered:
Feb 9, 2010

» » » » » error compiling CVS source

Posted: Jun 16, 2010

Reply to: » » » » error compiling CVS source, from gogilesgo
All I can suggest is going back throughhttp://flowplayer.org/documentation/developer/development-environment.html
to see if you have missed something

gogilesgo

Posts: 8

Registered:
Jun 10, 2010

» » » » » » error compiling CVS source

Posted: Jun 21, 2010

Reply to: » » » » » error compiling CVS source, from harryh27
thanks for the advice Harry. Tried that and made some progress but still getting errors.

I've targeted the core folder, the controls folder and followed the instructions herehttp://flowplayer.org/documentation/skinning/custom-skins.html to compile my own skin into controlbar but still getting the dreaded error:

Warning: Could not find file flowplayer.controls.swf to copy.

It successfully creates the swc file but not the controls swf. JDK, Flex and ANT up to date and in the correct place. Am getting incredibly frustrated with this and would consider paying for support but none of the core team (bar Blacktrash) seems to be around to help.

harryh27

Posts: 11

Registered:
Feb 9, 2010

» » » » » » » error compiling CVS source

Posted: Jun 22, 2010

Reply to: » » » » » » error compiling CVS source, from gogilesgo
Possibly you need look into the plugin-classes plugin-swc variables in the build.properties file and make sure the directory in which flowplayer.controls.swf is being created is included.

Or are you getting that error when loading the player in a browser ?

gogilesgo

Posts: 8

Registered:
Jun 10, 2010

» » » » » » » » error compiling CVS source

Posted: Jun 23, 2010

Reply to: » » » » » » » error compiling CVS source, from harryh27
tried that but still getting the same error. If I do not have a flowplayer.controls.swf (I downloaded the default one from the site) in the controls/build folder it gives me the BUILD FAILED error Warning: Could not find ...flowplayer.controls.swf to copy.

Think the place you pointed to is probably the place to look but here is what I have and I seem to be pointing to the correct location:

plugin-classes=${plugins.dir}flowplayer/src/actionscript ${plugins.dir}common/src/actionscript ${plugins.dir}flowplayer.controls/src/actionscript

plugin-swc=../flowplayer.controls/src/flash/nicola ../flowplayer/src/flash

When it's loaded into a browser it works...but then only when I have the default controls swf

Chongkan

Posts: 3

Registered:
Nov 1, 2010

» » » » » error compiling CVS source

Posted: Nov 1, 2010

Reply to: » » » » error compiling CVS source, from gogilesgo
"just tried that but still got the same problem. I've dropped the entire common folder in to the same location as the flowplayer and flowplayer.controls folders then targeted it in the build.properties file but no dice.

Am I missing something?"

------------------------

I was missing to include the common class in the build.properties file.


plugin-classes= ../common/src/actionscript