Has no one experienced that error? I thought lpeg would be the issue, but now I'm thinking there went something wrong with the lua installation. But what? I've re-installed lua from srcatch on my OSX 10.8, now through macports (lua @5.1.4).
What should I do?? Pleeaase... Is it Gideros, Lpeg or my Lua installation? I need a solution ;(
Owltwins. Smart design and creative code. »Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
I've installed lua 5.1.4. with macports. After that I've added lpeg and md5, also via macports. The whole process went well, and I can use them from within the console, or by running lua scripts via terminal. But unfortunately Gideros raises the error which I mentioned above. So within Gideros I just can't load external (e.g. "md5.lua" and other) modules... Any further ideas?
Owltwins. Smart design and creative code. »Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
You should build LPeg and md5 by yourself and then copy the resulting .dylib. LPeg prebuilt libraries comes with Gideros installation. You can find it at "/Applications/Gideros Studio/All Plugins/LPeg/bin/Mac OS/lpeg.dylib"
@atilim Maybe your are willing to help me along (I would adore you!). If not, it's fine, because I understand you have not endless time.
Re-installed Lua again. Now from source.
1) I've installed Lua into /usr/local/ (default sub-directories). 2) I (symbolic)-linked /usr/local/ and /opt/local/ "share" and "lib" sub folders. Because sometimes Lua searches inside /opt/... but I've installed it into /usr/... 3) Downloaded this md5 module and compiled the source. No matter what I do in the config and Makefile, the result is the same: it gives me *.so files instead of *.dylib bundles. After compilation those files are copied to (Screenshots attached!): - /opt/local/lib/lua/5.1 - /opt/local/share/lua/5.1
When I test my main.lua from Terminal everything works like a charm. But if I run it inside Gideros or directly inside Textmate, it says there are no bundle files found. And dynamic libraries are not enabled. And such.
I tried to build, but .so files are useless as far as I understand.. is this the reason it doesn't work?
Comments
please help somebody, want to continue working..
PS: Maybe I've installed lua 5.1 wrong? Can you tell me how to compile lua source correctly on osx 10.8 (with dynamic libryries etc)?
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
What should I do?? Pleeaase...
Is it Gideros, Lpeg or my Lua installation? I need a solution ;(
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
Any further ideas?
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
And here is some information about building md5: http://www.giderosmobile.com/forum/discussion/1025/step-by-step-how-to-write-a-c-plugin-and-deploy-it-to-the-desktop-windows-player/p1
Re-installed Lua again. Now from source.
1) I've installed Lua into /usr/local/ (default sub-directories).
2) I (symbolic)-linked /usr/local/ and /opt/local/ "share" and "lib" sub folders. Because sometimes Lua searches inside /opt/... but I've installed it into /usr/...
3) Downloaded this md5 module and compiled the source. No matter what I do in the config and Makefile, the result is the same: it gives me *.so files instead of *.dylib bundles. After compilation those files are copied to (Screenshots attached!):
- /opt/local/lib/lua/5.1
- /opt/local/share/lua/5.1
When I test my main.lua from Terminal everything works like a charm. But if I run it inside Gideros or directly inside Textmate, it says there are no bundle files found. And dynamic libraries are not enabled. And such.
I tried to build, but .so files are useless as far as I understand.. is this the reason it doesn't work?
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!