Jump to content
  • Advertisement
Sign in to follow this  

unresolved external symbol lua_dofile

This topic is 4676 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!