No description
q66 after updating SDL2 to the latest RC I'm unable to build my game engine under mingw crosscompiling environment for Windows (32bit, hosted on freebsd 64bit). The error is in SDL_thread.h with messages like this: http://codepad.org/jEQXd3Yq The problem is, while _beginthreadex return type is correctly mapped to uintptr_t (as specified by Microsoft), the return type under mingw is unsigned long int (same size, different signature), resulting in the error above. The reason it didn't error before is this: http://codepad.org/8FAbKAxz You can see the _beginthreadex case is only used without HAVE_LIBC defined; at one point though, SDL_config_windows.h was changed like this: -/* Enabled for SDL 1.2 (binary compatibility) */ -#define HAVE_LIBC 1 +/* This is disabled by default to avoid C runtime dependencies and manifest requirements */ resulting in these errors. |
||
---|---|---|
acinclude | ||
android-project | ||
build-scripts | ||
cmake | ||
debian | ||
include | ||
src | ||
test | ||
VisualC | ||
Xcode | ||
Xcode-iOS | ||
.hgignore | ||
.hgtags | ||
Android.mk | ||
autogen.sh | ||
BUGS.txt | ||
CMakeLists.txt | ||
configure | ||
configure.in | ||
COPYING.txt | ||
CREDITS.txt | ||
INSTALL.txt | ||
Makefile.in | ||
Makefile.minimal | ||
Makefile.pandora | ||
Makefile.psp | ||
Makefile.wiz | ||
README-android.txt | ||
README-cmake.txt | ||
README-directfb.txt | ||
README-gesture.txt | ||
README-hg.txt | ||
README-ios.txt | ||
README-macosx.txt | ||
README-pandora.txt | ||
README-platforms.txt | ||
README-porting.txt | ||
README-psp.txt | ||
README-SDL.txt | ||
README-touch.txt | ||
README-wince.txt | ||
README.txt | ||
sdl2-config.in | ||
sdl2.m4 | ||
sdl2.pc.in | ||
SDL2.spec.in | ||
TODO.txt | ||
VisualC.html | ||
WhatsNew.txt |
Simple DirectMedia Layer (SDL) Version 2.0 --- http://www.libsdl.org/ Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and DirectX. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games. The current version supports Windows, Mac OS X, Linux, iOS, and Android. The code contains support for other operating systems but those are not officially supported. SDL is written in C, but works with C++ natively, and has bindings to several other languages, including C#, Python and more in progress. This library is distributed under the zlib license, which can be found in the file "COPYING.txt". The best way to learn how to use SDL is to check out the header files in the "include" subdirectory and the programs in the "test" subdirectory. The header files and test programs are well commented and always up to date. More documentation and FAQs are available online at: http://wiki.libsdl.org/ If you need help with the library, or just want to discuss SDL related issues, you can join the developers mailing list: http://www.libsdl.org/mailing-list.php Enjoy! Sam Lantinga (slouken@libsdl.org)