lua-users home
lua-l archive

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

I didn't get Lua compiled with g++ in suse 8.0  (want to see the error

but I used extern "C" and that works OK (thanks to the mailing list :)

----- Original Message -----
From: "Reuben Thomas" <>
To: "Multiple recipients of list" <>
Sent: Thursday, September 05, 2002 11:54 PM
Subject: Re: Visual c++ and LUA

> > Make sure that you have the appropriate LUA source files added to the
> > project.
> > If its an MFC based app, be sure to turn off precompiled headers for the
> > cpp's.
> If you've compiled Lua as C, include the Lua headers (note it's "Lua", not
> "LUA")  inside extern "c" { ... }. The Lua code can be compiled either as
> C or C++.
> --
> | egrep, n.  a bird that debugs bison