crossbridge环境搭建(MAC + Windows)

工具:

1、crossbridge (http://sourceforge.net/projects/crossbridge/files/)(源代码:https://github.com/adobe-flash/crossbridge)

2、apache flex sdk  (http://flex.apache.org/download-binaries.html)

3、AIR sdk (http://www.adobe.com/devnet/air/air-sdk-download.html)

4、flash player / globalplayer.swc (http://www.adobe.com/support/flashplayer/downloads.html)

5、64位jdk ,mac 更新即可(http://www.java.com/zh_CN/download/index.jsp)

6、cygwin (http://www.cygwin.com/)

 

Mac:

1、解压crossbridge文件到~/crossbridge/

2、解压air到~/flex_sdk/,解压apache flex sdk 到任意目录然后合并到~/flex_sdk/(命令: cp -R target/ ~/flex_sdk/)

3、flash player放到程序目录

4、编译测试项目

cd ~/crossbridge/sample/01_HelloWorld
PATH=~/crossbridge/sdk/usr/bin:$PATH make FLASCC=~/crossbridge/sdk FLEX=~/flex_sdk

 

 

Windows:

 

1、解压crossbridge文件到c:\crossbridge\

2、解压air到c:\flex_sdk\,解压apache flex sdk 到c:\flex_sdk\覆盖

3、flash player放到程序目录

4、安装jdk并设置环境变量 (http://www.java.com/en/download/help/path.xml)

5、安装cygwin(安装组件make、libuuid1、python、cmake)

6、运行run.bat

7、编译测试项目

  

cd 01_HelloWorld
make FLASCC=/cygdrive/c/crossbridge/sdk FLEX=/cygdrive/c/flex_sdk

 

 

添加环境变量:

 

Mac> export PATH=~/crossbridge/sdk/usr/bin:$PATH
Win> export PATH=/cygdrive/c/crossbridge/sdk/usr/bin:$PATH

crossbridge环境搭建(MAC + Windows),布布扣,bubuko.com

crossbridge环境搭建(MAC + Windows)

上一篇:解决Win8.1 IE11兼容性问题的方法


下一篇:linux限制文件夹大小