stetre / moonsdl2

Lua bindings for SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Procedure not found when using zbstudio

gamemake-eng opened this issue · comments

I built it using mingw and ran the example with lua 5.2. The build seemed successful but when I went to run the example code it gave me this error.

C:\zbstudio\bin\lua52.exe: error loading module 'SDL2' from file 'C:\zbstudio\bin\clibs52\moonsdl2.dll':
	Procedure not found.


stack traceback:
	[C]: in ?
	[C]: in function 'require'
	C:\games\sdltest\main.lua:4: in main chunk
	[C]: in ?

I'm not familiar with zbstudio, so I honestly don't know the meaning of that error message. Have you tried running the example from the command line, instead?