Skip to main content
gamedev.net
🔒 Locked

System.TypeLoadException and Lua

Started by BradDaBug Feb 22, 2005 at 10:29 PM 2 replies 300+ views
Original Post
BradDaBug
BradDaBug
I finally got vc.net to compile my landscape engine that up until now I've been developing in Linux. But when I try to run the program I get an error that says "Unhandled Exception: System.TypeLoadException: Could not load type lua_State from assembly light, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null." The error is occuring at this line:
p.state = lua_open();
where p.state is a lua_State. What does this mean? Is there something wrong with the Lua library I've compiled?
I like the DARK layout!
BradDaBug
BradDaBug
I dunno if this will help or not, but I found this. You could try either doing what it says or turning off CLR.
I like the DARK layout!
BradDaBug
BradDaBug
Wow, thanks! That did it! rating++
I like the DARK layout!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.