raylib extras
CrezyDud opened this issue · comments
CrezyDud commented
thanks for this, could you include pre-made raylib extras?
https://github.com/raysan5/raylib/tree/master/src/extras
pls
CrezyDud commented
i don't know how to generate a .lua plugin thingy
and manual would hurt
CrezyDud commented
i tried it, something is wrong tho
CrezyDud commented
make test
nelua raylib-test.nelua
raylib-test.nelua:1:1: from: AST node Block
require '.raylibe'
^~~~~~~~~~~~~~~~~~
/home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1:1: from: AST node Block
##[[
^~~~
/home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1279:37: error: undeclared symbol '_AddressInformation'
global AddressInformation: type = @*_AddressInformation
^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:25: test] Error 1
pls me
Eduardo Bart commented
make test nelua raylib-test.nelua raylib-test.nelua:1:1: from: AST node Block require '.raylibe' ^~~~~~~~~~~~~~~~~~ /home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1:1: from: AST node Block ##[[ ^~~~ /home/me/dev/nelua-decl/libs/raylib/raylibe.nelua:1279:37: error: undeclared symbol '_AddressInformation' global AddressInformation: type = @*_AddressInformation ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:25: test] Error 1
pls me
As the error says, the symbol _AddressInformation
is not imported, you should edit raylib.lua
file to allow importing them.
CrezyDud commented
thanks, but how do i do that?
CrezyDud commented
typedef struct _AddressInformation *AddressInformation;
is in the .h file