SDL_GetError text illegible

after a failed call to SDL_CreateWindow, SDL_GetError returns the following:

Code:
LoadLibrary(“OPENGL32.DLL”): Teseiidmdl ol o efud

no doubt the fact my app is compiled with mingw32 is part of the problem, since i had a similar result when compiling and running the same code on windows XP in a virtual machine.

however this time i’ve done a fresh install of mingw on a copy of English Windows 7 home 64bit and come up with the same result. according to the “opengl extensions viewer” [http://download.cnet.com/OpenGL-Extensions-Viewer/3000-18487_4-34442.html], this windows has OpenGL 4.3. it successfully performs advanced openGl rendering.

this is another FYI post to signal a problem with error reporting.

For those wondering, the message is gibberish, possibly due to some kind of
UTF-8 conversion problem in WIN_SetError.

Is your Windows 7 machine also running a French localised version of
Windows? Also, is it exhibiting the exact same failure to load the renderer
that the VM did, despite having a working GL driver? Have you tried running
the SDL test suite?On 23 September 2013 05:50, carl <carl.lefrancois at gmail.com> wrote:

**
after a failed call to SDL_CreateWindow, SDL_GetError returns the
following:

Code:

LoadLibrary(“OPENGL32.DLL”): ???(??? ???E

no doubt the fact my app is compiled with mingw32 is part of the problem,
since i had a similar result when compiling and running the same code on
windows XP in a virtual machine.

however this time i’ve done a fresh install of mingw on a copy of English
Windows 7 home 64bit and come up with the same result. according to the
"opengl extensions viewer" [
http://download.cnet.com/OpenGL-Extensions-Viewer/3000-18487_4-34442.html],
this windows has OpenGL 4.3. it successfully performs advanced openGl
rendering.

this is another FYI post to signal a problem with error reporting.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

it is a standard english locale installation.

the problem was that i was using the latest source code from hg. i downloaded the following tarball:

SDL2-devel-2.0.0-mingw.tar.gz (MinGW 32/64-bit)

now my app functions correctly. (arrrghghhhhh user error strikes again)

btw unable to make the test suite however with this tarball. ./configure gives

Code:
configure: error: cannot find install-sh, install.sh, or shtool in ./…/build-scripts

.

back when i was using latest hg sources, ./configure on the test suite did stuff before failing at the sdl2-test step. trying --disable-sdltest got ./configure to finish, make succeeded, and some of the tests even worked, among which testdraw2, testdrawchessboard, testintersections, testrelative.