![]() |
Any chance of building SDL2? | ![]() |
![]() |
Any chance of building SDL2? | ![]() |
Martin Gerhardy
Guest
![]() |
![]() |
Am 01.04.2013 19:52, schrieb Aggelos Kolaitis:
include the xinput headers (and from my memory there are some other headers missing that are needed for the windows build) _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
Jonny D
![]() |
![]() |
I'm using mingw32 via Code::Blocks just fine. It takes a bit to get CMake happy enough to give you a project file, but then it works perfectly.
Jonny D On Mon, Apr 1, 2013 at 1:54 PM, Martin Gerhardy wrote:
|
||||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
MrOzBarry
![]() |
![]() |
I was able to compile SDL2 under cygwin and a cross-compile to mingw32.
If you are using msys/mingw directly with configure and such, you may need to use autotools and autogen.sh Can you give us your compile output? On Mon, Apr 1, 2013 at 2:08 PM, Jonathan Dearborn wrote:
|
||||||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
Sik
![]() |
![]() |
Beware that there's both mingw and mingw-w64... and the latter does
both 32-bit and 64-bit. The name mingw32 can be misleading because of this (what you call mingw32 could actually be the 32-bit version of mingw-w64). 2013/4/1, Alex Barry:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||||||||
|
![]() |
Re: Any chance of building SDL2? | ![]() |
neoaggelos
![]() |
![]() |
Nah... I can't even make the project files using CMake.
I wonder if someone would be generous enough to share the binaries with me I'd be grateful
|
||||||||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
MrOzBarry
![]() |
![]() |
On Mon, Apr 1, 2013 at 2:47 PM, Sik the hedgehog wrote:
That may be true, but I can assure you I have mingw32, not -w64. Otherwise, I just remembered that Code::Blocks comes with an ancient version of gcc (3.x, current version is 4.x) which could be the problem. Try updating your mingw install (if you're not sure how, just ask). |
||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
Jonny D
![]() |
![]() |
Code::Blocks (the latest version, 12.11) uses gcc 4.7.1.
Jonny D On Mon, Apr 1, 2013 at 2:50 PM, Alex Barry wrote:
|
||||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
John
Guest
![]() |
![]() |
That's because the windows build broke in changeset 7037 3fedf1f25b94
You can fix it easily by reverting to the previous changeset. On 04/01/2013 01:52 PM, Aggelos Kolaitis wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
John
Guest
![]() |
![]() |
Oops, I'm wrong about that changeset breaking the windows build. I had a stale
copy of src/core/windows/SDL_windows.h because `rsync -C` ignores the "core" directory. Duh. On 04/01/2013 03:29 PM, John wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
Jonny D
![]() |
![]() |
How about you describe what problem you're having with CMake? I haven't taken the time to get my binaries named correctly, so I won't share them unless you want a dependency on libSDL2.dll.
Jonny D On Mon, Apr 1, 2013 at 2:49 PM, neoaggelos wrote:
|
||||||||||||
|
![]() |
Re: Any chance of building SDL2? | ![]() |
neoaggelos
![]() |
![]() |
I get a CMAKE_MAKE_PROGRAM not found error, and when I set it to the mingw-make executable it said that building MinGW make files for CodeBlocks is not possible.
Also, I tried using MSYS as suggested but it seems that the batch file is wrong, as it said that 'C:\Program' could not be found. I guess this has to do with a missing '/' at the script, but I didn't have the time or the knowledge to fix it. Note that I updated mingw32( the original/official, not mingw64 stated ) half an hour ago.
|
||||||||||||||
|
![]() |
![]() |
neoaggelos
![]() |
![]() |
I'm really sorry if I keep disturbing, but please, is it possible for someone provide me with the appropriate information or SDL2 binaries?
|
||||||||||
|
![]() |
Any chance of building SDL2? | ![]() |
Jonny D
![]() |
![]() |
Well, I figured out which CMake properties to change, so here's a mingw32 build for you:http://dinomage.com/temp/SDL2_mingw32_4-3-13.zip
Do please post the value you used for CMAKE_MAKE_PROGRAM and the error message you get in case we can help you work it out. Jonny D On Wed, Apr 3, 2013 at 2:22 PM, neoaggelos wrote:
|
||||||||||||
|
![]() |
Re: Any chance of building SDL2? | ![]() |
neoaggelos
![]() |
![]() |
Thank you very much my friend for the binaries you sent me!
Also, I was able to find out what the problem was, after doing tons of search on Google. I had to add the MinGW/bin directory in the PATH variable, once I did it, everything worked out. It seems to me that this must be pointed out when using CMake somehow, cause it's common not configuring your PATH variable when using an IDE under Windows. If CMake actually makes it to final release( see the related thread) , this must be shown, otherwise newcomers to SDL2 might be put off if they can't even compile it. Thanks again :)
|
||||||||||||||
|
![]() |
Re: Any chance of building SDL2? | ![]() |
neoaggelos
![]() |
![]() |
Thank you very much my friend for the binaries you sent me!
Also, I was able to find out what the problem was, after doing tons of search on Google. I had to add the MinGW/bin directory in the PATH variable, once I did it, everything worked out. It seems to me that this must be pointed out when using CMake somehow, cause it's common not configuring your PATH variable when using an IDE under Windows. If CMake actually makes it to final release( see the related thread) , this must be told, otherwise newcomers to SDL2 might be put off if they can't even compile it. Thanks again :)
|
||||||||||||||
|