Closed lewislepton closed 9 years ago
just changed your build system to lua and try
lua: error loading module 'SDL' from file '/usr/local/lib/lua/5.2/SDL.so':
to be honest i dont know. all i done was install lua dev
but then i had to install fix mac path
to fix the path. if you are on a different system other than mac, you will find it with a search online. it was quick for myself, so there will be something for win/linux somewhere.
also check www.packagecontrol.io
Yeah,thanks but it's strange because I have SDL.so in that folder.I'll google it for an solution.
but what are you on? mac, windows, linux?
I'm linux.I managed to make the window to pop ! Yay :+1:
good good. have fun ;)
can you say how you made it work. just for other people really. think we could use it for maybe the docs or something thanks
After building all the .so files I was needed to paste them here: /usr/local/lib/lua/5.2/ (as admin) and it works!
cool. nice and simple, which is always good ;)
yeah :)
@Murii also just this second put up a really hacky auto-complete for it also. its just a table with everything in lua-SDL2, but it does work. its not smart or anything. i dont know how to make it that yet. but its something https://github.com/lewislepton/Lua-SDL2AutoComplete
if you want to make it smart, or know how, then just try it out and make a pull request ;)
i get right to the 'make' part [not even 'make install'] of the build, but it then doesnt make it. it says about something like 'SDL.so' at the end plus something else. dont know what it is. also did contact david regarding this but he doesnt know. he said it may be something to do with SDL2, maybe, but these are guesses really
– using yosemite/mac 10.10.3 – SDL2.0.3. built from source also tried the binary build from the site – have all the other SDL_image etc in my frameworks folder – also have cmake 2.8.12-2.
great if someone could help.
thanks