This is a message.

Can"t even compile the controls plugin Created Aug 14, 2010

This thread is solved

Views: 1279     Replies: 1     Last reply Aug 14, 2010  
You must login first before you can use this feature

aarond

Posts: 33

Registered:
Nov 27, 2009

Can"t even compile the controls plugin

Posted: Aug 14, 2010

Hello all, I'm having quite a time trying to get anything compiled.

I've followed the tutorial set out here http://flowplayer.org/documentation/developer/development-environment.html

I've gotten all the required software installed, with the following results:

Aaron-Ds-iMac-27:~ aaron$ mxmlc -version
Version 3.5.0 build 12683
Aaron-Ds-iMac-27:~ aaron$ javac -version
javac 1.6.0_03-p3
Aaron-Ds-iMac-27:~ aaron$ ant -version
Apache Ant version 1.8.1 compiled on April 30 2010

I then checked out all of the following:


svn checkout http://flowplayer-core.googlecode.com/svn/flowplayer/trunk/ flowplayer.core
svn checkout http://flowplayer-plugins.googlecode.com/svn/flash/flowplayer.devkit/trunk/ flowplayer.devkit
svn checkout http://flowplayer-plugins.googlecode.com/svn/flash/controls/trunk/ controls

After I change all the variables to point to my flex3sdk folder, I tried to compile the controlbar plugin, but got the error


/Users/aaron/Downloads/flowplayer-dev-2/flowplayer.devkit/plugin-build.xml:237: Warning: Could not find file /Users/aaron/Downloads/flowplayer-dev-2/flowplayer.devkit/flowplayer.swc to copy.

I assume I got this because I didn't go through and compile the player, which I really have no interest in. So I moved the "flowplayer.swc" out from the flowplayer.devkit/example/build out into the /flowplayer.devkit/ folder, where it was looking in the first place. After running ant again, I get this (these) error(s)



compile:
     [echo] compiling with  src/flash/modern
     [echo] compiling with  -define=CONFIG::skin,'true' -define=CONFIG::hasSlowMotion,'true'
     [exec] Loading configuration file /Users/aaron/Projects/api/flex_sdk_3.5.0.12683/frameworks/flex-config.xml
     [exec] command line: Error: unable to open '../common/src/actionscript'
     [exec] 
     [exec] Use 'mxmlc -help' for information about using the command line.

BUILD FAILED
/Users/aaron/Downloads/flowplayer-dev-2/flowplayer.devkit/plugin-build.xml:207: The following error occurred while executing this line:
/Users/aaron/Downloads/flowplayer-dev-2/flowplayer.devkit/plugin-build.xml:31: The following error occurred while executing this line:
/Users/aaron/Downloads/flowplayer-dev-2/flowplayer.devkit/plugin-build.xml:198: The following error occurred while executing this line:
/Users/aaron/Downloads/flowplayer-dev-2/flowplayer.devkit/plugin-build.xml:80: exec returned: 1

Honestly, I have no idea what that means. I am just trying to get it to compile properly. My end goal is to make some changes to the RTMP plugin, but I figured I'd start simple (ha) and then go from there. Any ideas what to do? I've spent several hours fiddling with this already and am quite frustrated. Any help would be greatly appreciated.

Thanks so much,
aaron

Chetan Sachdev
-- http://riageeks.com

Posts: 62

Registered:
Jan 27, 2010

» Can"t even compile the controls plugin

Posted: Aug 14, 2010

Reply to: Can"t even compile the controls plugin, from aarond
@aaron:
All the plugins now share some common code base. So controlbar plugin also needs those classes to be present, while compiling. You will have to checkout those source files from the flowplayer-plugins project.

Hope it helps. If you need further assistence drop me a line at chetan [at] riageeks.com

Thx

--
Chetan
http://riageeks.com