[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua DynAsm: Any reference or links to guide me through?
- From: Mike Pall <mikelu-1104@...>
- Date: Sat, 30 Apr 2011 10:47:51 +0200
Gabi wrote:
> I am having hard time compiling the examples though..
>
> For example the DynASM-example.tar.gz produces compile errors such as
> ("dynasm/dasm_x86.h:90:20: error: expected expression before ‘struct")
> I tried to compile something minimal on my own and got errors like "Dst_Ref
> was not declared in this scope"
> Obviosly I am doing someting wrong..
> I am using gcc under linux and LuaJIT-2.0.0-beta6
You need to put a copy of the dynasm directory from the LuaJIT 2.x
sources below the example directory (or symlink it). Then it
compiles out-of-the-box on Linux.
--Mike