Skip to content

Problem building Snes.swf from Snes.as using mxmlc -- what am I missing? #1

@markoflexo

Description

@markoflexo

Hello!

Thanks for a very cool project!

I'm trying to compile FlashSNES and have encountered some problems:

This is what I tried:

git clone git://github.com/emcmanus/flashsnes.git
cd flashsnes/src/as3/src
mkdir cmodule
cp ../generated_as3/libSNES9x.as cmodule/
mv snes.as Snes.as
mxmlc Snes.as

And I'm getting the following error message:

.../flashsnes/src/as3/src/core/Emulator.as(44): col: 23 Error: Type was not found or was not a compile-time constant: CLibInit.

    private var cLoader:CLibInit;
                        ^

.../flashsnes/src/as3/src/core/Emulator.as(68): col: 18 Error: Call to a possibly undefined method CLibInit.

        cLoader = new CLibInit();
                      ^

.../flashsnes/src/as3/src/core/Emulator.as(3): col: 26 Error: Definition cmodule.libSNES9x:CLibInit could not be found.

import cmodule.libSNES9x.CLibInit;

I guess I'm missing something basic :-) What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions