alchemy - FlasCC 中的 Hello World - 首次在 WIndows 中运行 FlasCC

标签 alchemy flascc

我正在阅读 README.html 说明。

它说:

  1. 将 ZIP 文件的内容解压到您的硬盘上。可以将其提取到硬盘驱动器上的任何位置,但本自述文件假设它位于 C:\flascc\
  2. 确保安装 64 位 Java (http://www.java.com/getjava)
  3. 确保 Java 位于您的 PATH 中 (http://www.java.com/en/download/help/path.xml)
  4. 下载 Flex SDK(某些教程需要 Flex 4.6 或更高版本才能编译。)
  5. 下载 Flash Player 的调试器版本(仅当您想使用 GDB 调试代码时才需要)
  6. 双击 run.bat 文件
  7. 通过编译第一个教程来检查 FlasCC 是否正常工作:
    1. cd 01_HelloWorld
    2. 使 FLASCC=/path/to/sdk FLEX=/path/to/flex
    3. 启动 hello.swf 文件

我不确定步骤 2。64 位 Java 是否可以在 32 位 Windows 7 上运行?这是否意味着我不能使用 FlasCC?这是否也意味着我无法运行使用 FlasCC 的应用程序?

其余步骤小菜一碟。

最佳答案

我在官方论坛上找到了答案:

I don’t think that you can install 64-bit java on a 32-bit system.

If you use FlasCC with 32 bit java(recommended java is 64-bit) some example will not work due to the memory required. You can try reducing the memory heap allocation by passing –jvmopt=-Xmx1024m to gcc/g++ commands.

HTH, 高拉夫

归功于 Gaurav Jain

关于alchemy - FlasCC 中的 Hello World - 首次在 WIndows 中运行 FlasCC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12872334/

相关文章:

flash - 将 STL 与 Alchemy 结合使用

apache-flex - 有人在使用Adobe的Project Alchemy做任何事情吗?

c++ - Adobe Alchemy 编译的 SWC - 不确定如何为 FlasCC 编译库

c++ - FlasCC:Vector.<Number> 和 double[] 之间的互操作

actionscript - 如何使用 FlasCC 将 ByteArray 传递给 C 代码

c++ - 通过 FlasCC 在 AS3 中使用解压库

apache-flex - 为什么 Adob​​e Alchemy Tool 创建的闪存字节代码运行速度比 flex 编译器更快?