Sign in to follow this  
Drake7

unresolved external symbol lua_dofile

Recommended Posts

Drake7    122
I'm just trying to run a simple lua example from this site: http://tonyandpaige.com/tutorials/lua1.html I'm pretty sure I linked/included everything right, otherwise I don't think the build would have made it to the lua_dofile line. If anyone can help me get this example to run I'd greatly appreciate it. I'm using VC++.net 2002 and Lua 5.0.2 if that info helps at all.

Share this post


Link to post
Share on other sites
foo-bar-    122
Are you linking to lua.lub and lualib.lib (or luad.lib and lualibd.lib for a debug build)? That is the only thing I can think of that would cause your error.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this