lua-users home
lua-l archive

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


Hello Paul
 
Thanks for the new version of ZB Studio, I am keenly following the development of this excellent project so I have downloaded the new version and having a little play.
 
I hit a problem which we might be able to figure out between us ?  (Running Win 7 64 bit here)
 
I have a lua script which works fine in Scite, and I dont remember even having to do any setting up of paths or anything to get it working (I installed the Lua Win batteries packages ages back)
 
the problem with ZB Studio is caused by the line      require("lsqlite3")
 
Using Scite this loads lsqlite3.dll which on my PC lives in   C:\Program Files (x86)\Lua\5.1\clibs\ (I have that dll in a few places but I think this is the one scite sees)
 
I checked my environment vars that I have set
LUA_DEV= C:\Program Files (x86)\Lua\5.1
LUA_PATH = C:\Program Files (x86)\Lua\5.1\lua\?.luac;
 
I dont actually know without checking if those Win Environment variables are examined by the LUA main EXE or by Scite ? Someone will probably jump in here and tell me  :)
 
To try and fix the problem with ZBS I decided to add a new folder path  to LUA_PATH
 
LUA_PATH = C:\Program Files (x86)\Lua\5.1\lua\?.luac;C:\Program Files (x86)\Lua\5.1\clibs\?.dll
 
Unfortunately the effect of this stops ZBS from even starting up, I get a dialogue box with the following message
 
"Error loading module ''wx' from file C:\Program Files (x86)\Lua\5.1\clibs\wx.dll"  etc etc
 
If I remove the extra path I added it starts up OK once again.
 
I did wonder about the spaces in the path so tried LUA_PATH = C:\Program Files (x86)\Lua\5.1\lua\?.luac;"C:\Program Files (x86)\Lua\5.1\clibs\?.dll"
 
ZBS now opens up OK again, but my script cant find the dll and gives
no file '"C:\Program Files (x86)\Lua\5.1\clibs\lsqlite3.dll"' as one of the output lines.
 
This suggests to me that I was correct originally in changing the lua_path without the speechmarks, but as I say it breaks ZBS.
 
Any ideas how to fix this please ?
 
P.S
If you are wanting requests for next version features, any chance you could add the select variable name and right click context menu to open the watch window and add that var name to the list  I am missing that feature badly. Thanks if you can. 
 
P.P.S
I love the static code analyser, I am using it quite a lot. If I can be annoying and pedantic :)
>> Analizing the source code:   Should read    >> Analyzing the source code:
 
Regards
   Geoff
 
 
> Date: Mon, 3 Sep 2012 18:47:18 -0700
> From: paulclinger@yahoo.com
> To: lua-l@lists.lua.org; wxlua-users@lists.sourceforge.net
> Subject: [ANN] ZeroBrane Studio 0.32; now with unicode support, moai integration, and wxlua 2.8.12 upgrade
>
> (crossposting to wxlua-users as this is a wxlua-based application;
> thanks to John Labenski for all the support and assistance with wxlua
> upgrade.)
>
> ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax
> highlighting, live coding, remote debugger, code analyzer, and
> hypertext/markdown formatting support for integrating learning
> materials (examples and demos provided).
>
> Thanks to everyone who provided feedback and suggestions. Here is the
> summary with the most important changes (full changelog:
> https://github.com/pkulchenko/ZeroBraneStudio/blob/master/CHANGELOG.md):
> - Added Unicode support for file encoding and file paths on Windows (fixes #30).
> - Added Moai integration and debugging (including debugging of Moai
> threads and callbacks).
> - Added refresh of Stack and Watch windows after executing a statement
> in remote shell.
> - Added display of complex values on multiple lines in shell with '='.
> - Added calltip on mouseover for functions during editing and for
> variables/expressions during debugging.
> - Added configuration options to set paths to lua and love2d executables.
> - Added support for coroutine debugging with stepping through
> coroutine.resume/.yield calls.
> - Updated wx.dll to wxlua 2.8.12.2 and wxwidgets 2.8.12.
> - Signed zbstudio app and executable to avoid issues with files not
> being saved without admin privileges and to remove warning about
> 'unknown publisher' on windows (fixes #25).
>
> There were several changes to improve running on Linux, but more
> complete Linux support is still work in progress.
>
> I also posted a screencast that shows live coding with Löve:
> http://notebook.kulchenko.com/zerobrane/live-coding-with-love; here is
> a similar screencast with a demo running on OSX:
> http://nikdudnik.com/post/30067678839/ive-spent-last-day-looking-for-a-suitable
> (Nikita only saw mine after he published his screencast).
>
> The code and the packages (.dmg, .exe, and .zip) are available on
> github: https://github.com/pkulchenko/ZeroBraneStudio/downloads.
>
> Paul.
>