lua-users home
lua-l archive

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


On 7/9/07, Patrick Donnelly <batrick@hotmail.com> wrote:
Ya I knew there was a linking problem, but even when I use `gcc mytest.c
/usr/local/lib/liblua.a` I get a mountain of other linking errors. Is it
because I'm not using liblua51.a?

Use the 5.0 headers with the 5.0 library.  Use the 5.1 headers with
the 5.1 library.  They are not compatible.  This is true in general
for other libraries.

    -Mark