Re: [Luarocks-developers] Locating SDL2 Headers

2015-08-18 Thread Tangent 128
On 08/18/2015 02:37 PM, Hisham wrote: > > From your descriptions, I'm afraid your already aware of the full extent > of customizability that LuaRocks currently offers for these situations... That's what I was afraid of... > Isn't "typical Linux" typical enough? Maybe Ignacio's suggestion of > ha

Re: [Luarocks-developers] Locating SDL2 Headers

2015-08-18 Thread Hisham
On Aug 18, 2015 3:17 PM, "Tangent 128" wrote: > > On 08/18/2015 09:39 AM, Ignacio Burgueño wrote: > > Have you tried to use a "platforms" override in "external_dependencies" ? > > Something like: > > external_dependencies = { > > platforms = { > > windows = { > > LIBSDL2 = { > > header = "SD

Re: [Luarocks-developers] Locating SDL2 Headers

2015-08-18 Thread Tangent 128
On 08/18/2015 09:39 AM, Ignacio Burgueño wrote: > Have you tried to use a "platforms" override in "external_dependencies" ? > Something like: > external_dependencies = { > platforms = { > windows = { > LIBSDL2 = { > header = "SDL_scancode.h" > } > } > }, > LIBSDL2 = { > header =

Re: [Luarocks-developers] Locating SDL2 Headers

2015-08-18 Thread Ignacio Burgueño
Windows being one of those "certain platforms". My install of SDL2 left files on: c:\SDL2-2.0.3\include Have you tried to use a "platforms" override in "external_dependencies" ? Something like: external_dependencies = { platforms = { windows = { LIBSDL2 = { header = "SDL_scancode.h" } }

[Luarocks-developers] Locating SDL2 Headers

2015-08-17 Thread Joseph Wallace
Hey; I'm trying to write a new rockspec for Lua-SDL2[1], using the "builtin" backend so that users won't need CMake installed. I'm having trouble cleanly configuring it to find the SDL2 headers. Context: LibSDL2 normally installs its headers to /usr/include/SDL2/; however, certain platforms insta