lua-users home
lua-l archive

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


When I try to compile a win32 app
with lua embedded in it I get the error message {unresolved external symbol
"void __cdecl lua_open(void)} in Linking stage


All I do is that in win32 console app:

#include "lua.h"

main()
{
  lua_open();
  lua_close();
}

and declaring the lua.lib in the settings/link tab.


what's wrong ?

Can I use the DLL files instead ?

PS: I am new in the Visual C but I have a great experience in Dos/Pascal

Thanx.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.177 / Virus Database: 86 - Release Date: 7/8/2000