lua-users home
lua-l archive

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


--- In lua-l@y..., Renato Cerqueira <rcerq@i...> wrote:
> On Wednesday, November 6, 2002, at 05:08  PM, Keith wrote:
> 
> > Hello,
> >  
> > I am having problems getting my project to link with lua.
> > I keep getting unresolved extern error messages no matter what I 
> > do. "unresolved external symbol _lua_open"
> > I am using MS VC++ 6.00 and have set my project setting as I 
> > normally do to link in statically linked libs.
> >  
> > I have also tried using:
> >  
> > extern "C"
> > {
> >     #include "lua.h"
> > }
> >  
> > but that does not resolve the issue.
> >
> 
> Are you sure you didn't compile Lua as C++ code?
> 
> --Renato

Well I have succeded in creating a lua static lib allbeit in VC++ 
6.00. What project seting should I set or remove to ensure that it is 
not compiled as c++ code?
-Keith