Hi there.
Today I've tried the new Geany release with my Windoze XP installation. I've removed the previous SVN build (the one from uvena.de) and installed the "complete installer" with GTK to get the printing support. Geany is up and running now.
After that, I've downloaded Geanylua 0.6.1 und installed it using the VBS script.
The "plugin manager" can see the plugin, and I'm able to active it. But now, if I try to call the settings button, I always get the error message "The Geanylua plugin failed to load.."! There is also no LUA script menu entry available.
I've tried several other location for the DLLs and the scripts and got the soma message all the time.
Whats wrong?
Bye
On Feb 6, 2008 6:19 AM, Joerg Desch jd.vvd@web.de wrote:
Today I've tried the new Geany release with my Windoze XP installation. After that, I've downloaded Geanylua 0.6.1 und installed it using the VBS script.
The "plugin manager" can see the plugin, and I'm able to active it. But now, if I try to call the settings button, I always get the error message "The Geanylua plugin failed to load.."! There is also no LUA script menu entry available.
Whats wrong?
Can you try starting geany with the "geany -d" option to see if you get any error message on the console?
- Jeff
On Wed, 6 Feb 2008 06:31:47 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
Hi,
Can you try starting geany with the "geany -d" option to see if you get any error message on the console?
Here the fast and short answer. I'm back in my office at monday. So I can't answer 'til then.
The error is: "glspi_version: angegebene Prozedur nicht gefunden" "Loaded: .... geanylua.dll (GeanyLua)"
which means: "glspi_version: function not found"
Hope that helps...
On Feb 6, 2008 8:40 AM, Joerg Desch jd.vvd@web.de wrote:
Here the fast and short answer. I'm back in my office at monday. So I can't answer 'til then.
The error is: "glspi_version: angegebene Prozedur nicht gefunden" "Loaded: .... geanylua.dll (GeanyLua)"
which means: "glspi_version: function not found"
That symbol was just added to the library since 0.6.0, so I am guessing that maybe you have an older version of the plugin installed somewhere, and it is getting mixed-up and trying to load the wrong one.
The new plugin (geanylua.dll) actually loads a secondary library (libgeanylua.dll) at runtime, and I have only tested that technique on Win-2000 and Win-98, so maybe it is something funny with XP...
- Jeff
On Wed, 6 Feb 2008 09:18:39 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
That symbol was just added to the library since 0.6.0, so I am guessing that maybe you have an older version of the plugin installed somewhere, and it is getting mixed-up and trying to load the wrong one.
There shouldn't be a old DLL on the system, but I'll check this today..
Hi Jeff.
That symbol was just added to the library since 0.6.0, so I am guessing that maybe you have an older version of the plugin installed somewhere, and it is getting mixed-up and trying to load the wrong one.
There shouldn't be a old DLL on the system, but I'll check this today..
I've checked it. There is only one DLL installed. Geany recognize it as 0.6.1 and the path where it was found is correct. So what happens?
I've attached a screenshot of the plugin-manager and the shell.
Hope it helps...
On Tue, 12 Feb 2008 14:20:25 +0100, Joerg Desch jd.vvd@web.de wrote:
Hi Jeff.
That symbol was just added to the library since 0.6.0, so I am guessing that maybe you have an older version of the plugin installed somewhere, and it is getting mixed-up and trying to load the wrong one.
There shouldn't be a old DLL on the system, but I'll check this today..
I've checked it. There is only one DLL installed. Geany recognize it as 0.6.1 and the path where it was found is correct. So what happens?
Btw, when installing GeanyLua 0.6.1 I get the same error. I've attached the full relevant console output. Not sure at the moment, but maybe something is wrong in the MKPATH macro which creates the filename for the libgeanylua.dll. Maybe it creates the wrong path under certain circumstances. Jeff, could you build a DLL with more debug output, e.g. the created paths? I would do it on myself but I don't have the time to setup a build environment on Windows for this, sorry.
The Lua library itself is linked into the libgeanylua.dll? Or does we have to install the Lua libs on Windows separately?
Regards, Enrico
I think maybe I have an idea what might be wrong - I ran "strip" on that DLL and I think it stripped a little too much!
Can you try this one, and see if it works any better? http://www.geocities.com/yetanothergeek/geanylua-0.6.1-win32.zip
- Jeff
On Tue, 12 Feb 2008 10:58:38 -0600, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
I think maybe I have an idea what might be wrong - I ran "strip" on that DLL and I think it stripped a little too much!
Can you try this one, and see if it works any better?
I'm sorry, it's the same as with the stripped DLLs. Setting breakpoints with gdb has shown that the created module filename is correct and it opens the DLL(at least the libgeanylua symbol is non-NULL in geanylua.c:143, I couldn't get more info with gdb).
I'm not sure what's going wrong. Maybe some kind of binary incompatibility?
Regards, Enrico
On Feb 12, 2008 1:00 PM, Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 12 Feb 2008 10:58:38 -0600, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
Can you try this one, and see if it works any better?
I'm sorry, it's the same as with the stripped DLLs.
Okay, try again. After some testing (and a few hours much-needed sleep) I remembered that I hadn't actually tried the 0.6.1 release on Windows after all - it wasn't working on Win2000 either!
It turned out to be that "__declspec(dllexport)" thing. ( Funny that all the other plugins functions don't need that, too. )
Anyway, this one is now working on 2000 at least: http://www.geocities.com/yetanothergeek/geanylua-0.6.2-win32.zip
Let me know if it works (or not)
- Jeff
On Tue, 12 Feb 2008 23:54:14 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
Anyway, this one is now working on 2000 at least: http://www.geocities.com/yetanothergeek/geanylua-0.6.2-win32.zip
It works with my XP too! Thanks.
What's the reason for the error? Different compilers? I've never tried to build a DLL by my own. The only DLL I've compiled is my RS232 library with Cygwin.
On Feb 13, 2008 12:46 AM, Joerg Desch jd.vvd@web.de wrote:
On Tue, 12 Feb 2008 23:54:14 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
Anyway, this one is now working on 2000 at least:
It works with my XP too! Thanks. What's the reason for the error? Different compilers?
No, the reason is me getting in too much hurry :-)
I should have checked better to make sure loading a library from another library worked on Windows. I thought I tested it, but I must have forgotten. The answer was to add this funny- looking expression to the front of the exported symbols:
__declspec(dllexport)
What it means I have no idea, but it works.
I apologize for the problems, hopefully they are gone now.
Thanks for reporting!
- Jeff