LÖVE-Nuklear - a lightweight immediate mode GUI

Showcase your libraries, tools and other projects that help your fellow love users.
keharriso
Prole
Posts: 8
Joined: Fri Nov 16, 2012 9:34 pm

LÖVE-Nuklear - a lightweight immediate mode GUI

Post by keharriso » Tue Nov 15, 2016 6:04 pm

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

User avatar
Tjakka5
Party member
Posts: 196
Joined: Thu Dec 26, 2013 12:17 pm

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by Tjakka5 » Tue Nov 15, 2016 6:55 pm

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.
Check out my website (WIP): http://tjakka5.sorunome.de/

User avatar
Jack5500
Party member
Posts: 148
Joined: Wed Dec 07, 2011 8:38 pm
Location: Hamburg, Germany

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by Jack5500 » Wed Nov 23, 2016 4:06 pm

It now has binaries, so everyone can get started right off the bat! Really great work here!

User avatar
LordSeaworth
Prole
Posts: 22
Joined: Tue Jun 07, 2016 10:29 pm

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by LordSeaworth » Sat Nov 26, 2016 2:16 am

I will definetly check this out.
Great job

User avatar
bzSteve
Prole
Posts: 34
Joined: Tue May 21, 2013 2:31 am

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by bzSteve » Sat Nov 26, 2016 5:20 pm

This looks very interesting to me. Has anyone compiled macOS binaries? I'm not sure how to build this on my Mac.

User avatar
master both
Party member
Posts: 238
Joined: Tue Nov 08, 2011 12:39 am
Location: Chile

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by master both » Sun Nov 27, 2016 2:16 am


User avatar
bzSteve
Prole
Posts: 34
Joined: Tue May 21, 2013 2:31 am

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by bzSteve » Sun Nov 27, 2016 4:04 pm

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.

User avatar
master both
Party member
Posts: 238
Joined: Tue Nov 08, 2011 12:39 am
Location: Chile

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by master both » Sun Nov 27, 2016 5:14 pm

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

User avatar
bzSteve
Prole
Posts: 34
Joined: Tue May 21, 2013 2:31 am

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by bzSteve » Mon Nov 28, 2016 1:25 am

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'

User avatar
Positive07
Party member
Posts: 999
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

Post by Positive07 » Mon Nov 28, 2016 1:37 am

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
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(Github.com/Positive07)

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests