lua-users home
lua-l archive

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


On 14/06/2013, at 12:49 PM, Carl Yogehnburg <carlyogehnburg@yahoo.com> wrote:

> Hello,
> 
> I've compiled both lua 5.2.2 and lua socket 2.1 from source with VS2012...crashes with line multiple Lua VMs detected(debug assertion failed)...Has anybody got any clue as to what could be the culprit? 

This is a popular mistake to make.  You've probably linked luasocket to the static lua library, not the dll/lua import library.  Have a look at

http://lua-users.org/lists/lua-l/2013-05/msg00069.html
http://stackoverflow.com/questions/14213559/lua5-2s-error-multiple-lua-vms-detected

and the section "Windows DLLs with MSVC" on http://lua-users.org/wiki/BuildingModules