You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I was wondering if you knew any special steps I might need to take to build this library correctly for Mac? These were the steps I took:
Check out v1.2
cmake .
make
cp nuklear.so to my project directory
Include nuklear with nk = require 'nuklear'
However when I try to run nk.init() I get the following:
Error: main.lua:16: attempt to call field 'init' (a nil value)
stack traceback:
main.lua:16: in function 'load'
[string "boot.lua"]:439: in function <[string "boot.lua"]:435>
[C]: in function 'xpcall'
I tried checking what keys existed in the nk table, and printing those out gave me:
0 function: 0x15d32e50
Calling that function with nk[0]() produced:
Error: attempt to compare string with function
stack traceback:
[C]: at 0x0f9c2960
main.lua:17: in function 'load'
[string "boot.lua"]:439: in function <[string "boot.lua"]:435>
[C]: in function 'xpcall'
Am I missing something obvious? Any help is appreciated :) Thanks for the great library.
The text was updated successfully, but these errors were encountered:
Here's a datapoint: with the Love from Cask, on 14.14 (Mojave) with an older MacBook Air, and using the source from HEAD, the example in the Readme doesn't crash and seems to work as intended.
Hi I was wondering if you knew any special steps I might need to take to build this library correctly for Mac? These were the steps I took:
nk = require 'nuklear'
However when I try to run
nk.init()
I get the following:I tried checking what keys existed in the
nk
table, and printing those out gave me:Calling that function with
nk[0]()
produced:Am I missing something obvious? Any help is appreciated :) Thanks for the great library.
The text was updated successfully, but these errors were encountered: