[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Visual c++ and LUA
- From: "Bram Vaessen" <bram.vaessen@...>
- Date: Fri, 6 Sep 2002 00:36:06 +0200
I didn't get Lua compiled with g++ in suse 8.0 (want to see the error
messages?)
but I used extern "C" and that works OK (thanks to the mailing list :)
----- Original Message -----
From: "Reuben Thomas" <rrt@sc3d.org>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
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
LUA
> > 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++.
>
> --
> http://www.mupsych.org/~rrt/ | egrep, n. a bird that debugs bison
>