Ah apparently it could not find mobdebug
Is there any way to set up the environment variables from within Visual Studio (2012)?
I tried to set it up like this http://i59.tinypic.com/2my13r4.png but it still cannot find the file.
This is what I get as an error
I changed the Environments setting to
And now it crashes as expected
I tried to compile luasocket into my project but it seems incompatible with Lua 5.2. I made a few edits so it compiles but then it still crashes when require('mobdebug').start() is called.
Is there any way to set up the environment variables from within Visual Studio (2012)?
I tried to set it up like this http://i59.tinypic.com/2my13r4.png but it still cannot find the file.
This is what I get as an error
Code:
Assets/Scripts/MyComponent.lua:2: module 'mobdebug' not found:
no field package.preload['mobdebug']
no file './mobdebug.lua'
no file '/lualibs/mobdebug/mobdebug.lua'
no file '/lualibs/mobdebug.lua'
no file '/bin/mobdebug.dll'
no file '/bin/clibs/mobdebug.dll'
I changed the Environments setting to
Code:
ZBS=E:\Programs\ZeroBraneStudio
LUA_PATH=.\?.lua;E:\Programs\ZeroBraneStudio\lualibs\?\?.lua;E:\Programs\ZeroBraneStudio\lualibs\?.lua
LUA_CPATH=E:\Programs\ZeroBraneStudio\bin\?.dll;E:\Programs\ZeroBraneStudio\bin\clibs\?.dll
I tried to compile luasocket into my project but it seems incompatible with Lua 5.2. I made a few edits so it compiles but then it still crashes when require('mobdebug').start() is called.