Page 1 of 7
LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Tue Nov 15, 2016 6:04 pm
by keharriso
I just finished creating a LÖVE binding for the
Nuklear GUI library. The library is very low profile and customizable. It follows the "immediate mode" paradigm and comes with a good number of
fully stylable widgets. Check it out if you are interested in this sort of thing:
https://github.com/keharriso/love-nuklear
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Tue Nov 15, 2016 6:55 pm
by Tjakka5
Imgui didn't provide much and good documentation, so it's very nice to have an alternative with very good docs.
Great job! I'll try it out soon.
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Wed Nov 23, 2016 4:06 pm
by Jack5500
It now has binaries, so everyone can get started right off the bat! Really great work here!
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Sat Nov 26, 2016 2:16 am
by LordSeaworth
I will definetly check this out.
Great job
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Sat Nov 26, 2016 5:20 pm
by bzSteve
This looks very interesting to me. Has anyone compiled macOS binaries? I'm not sure how to build this on my Mac.
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Sun Nov 27, 2016 2:16 am
by master both
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Sun Nov 27, 2016 4:04 pm
by bzSteve
Hi master both! Thank you for posting that. I'm having some trouble, though. When I click the link, the file nuklear.so.txt is downloaded. I removed the .txt making the extension .so and now I get this error.
Code: Select all
Error: error loading module 'nuklear' from file './nuklear.so':
dlopen(./nuklear.so, 6): Library not loaded: /usr/local/opt/luajit/lib/libluajit-5.1.2.dylib
Referenced from: /Users/bzSteve/Desktop/love-nuklear-master/example/nuklear.so
Reason: image not found
stack traceback:
[C]: at 0x010061d940
[C]: in function 'require'
main.lua:3: in main chunk
[C]: in function 'require'
[string "boot.lua"]:429: in function <[string "boot.lua"]:275>
[C]: in function 'xpcall'
What should I do to resolve this?
Thanks.
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Sun Nov 27, 2016 5:14 pm
by master both
Thats odd, It downloads as "nuklear.so" for me.
Make sure you put the file in the path "/usr/local/lib/lua/5.1/nuklear.so" and just write require("nuklear") in main.lua
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Mon Nov 28, 2016 1:25 am
by bzSteve
Something weird is going on. I'm getting a very similar error.
Code: Select all
Error: error loading module 'nuklear' from file '/usr/local/lib/lua/5.1/nuklear.so':
dlopen(/usr/local/lib/lua/5.1/nuklear.so, 6): Library not loaded: /usr/local/opt/luajit/lib/libluajit-5.1.2.dylib
Referenced from: /usr/local/lib/lua/5.1/nuklear.so
Reason: image not found
stack traceback:
[C]: at 0x0106105940
[C]: in function 'require'
main.lua:3: in main chunk
[C]: in function 'require'
[string "boot.lua"]:429: in function <[string "boot.lua"]:275>
[C]: in function 'xpcall'
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Posted: Mon Nov 28, 2016 1:37 am
by Positive07
Master Both what was your compilation target? Did you link to liblua51.dylib or something else? It is looking for libluajit-5.1.2.dylib which LÖVE doesn't come with