lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Luiz,

No problem.

But this raises a question.

luac should not use only public APIs of Lua?

As the compilation can be performed as "service" (using APIs). It would be interesting to reach all the features made by luac, using only public APIs?

Thanks.

On Mon, Nov 28, 2011 at 11:17 AM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> I am trying to build lua52.dll, lua.exe and luac.exe on Windows (using
> MSVC).
> lua.exe build is ok.
>
> But I got some link errors when building luac.exe.
>  * luaU_dump  (exported as LUAI_FUNC not LUA_API)
>  * luaP_opnames (exported as LUAI_DDEC -> extern)
>  * luaP_opmodes (exported as LUAI_DDEC -> extern)
>
> Anyone else had this problem.

Link the Lua library statically into luac, that is, do not use the DLL.