[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 'require' issue
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 12 Jul 2011 17:33:14 -0300
> I built the rc7 interpreter from source on mingw for Windows Vista 32-bit.
> require works perfectly for Lua scripts, but on attempting require
> "lfs", I get this error:
>
> C:\Lua52beta-rc7\bin\lua52: multiple Lua VMs detected
> stack traceback:
> [C]: in ?
> [C]: in function 'require'
> test.lua:4: in main chunk
> [C]: in ?
> >Exit code: 1
Usually this error has two causes: (1) you are mixing different
versions of Lua, or (2) you are mixing code that uses Lua as a DLL
with code statically linked with Lua (in Windows).
-- Roberto