Skip to content

Windows 9X: SDL.DLL linked to MSVCRT.DLL:_strtoui64 #884

@Fierelier

Description

@Fierelier

When I use SDL.DLL on Windows 98 Second Edition, I get this error:

The SDL.DLL file is linked to missing export MSVCRT.DLL:_strtoui64

I configure SDL like this:

CFLAGS="-march=i486 -O2 -D_WIN32_WINNT=0x0400 -DWINVER=0x0400" \
CXXFLAGS="-march=i486 -O2 -D_WIN32_WINNT=0x0400 -DWINVER=0x0400" \
./configure --host=i686-w64-mingw32 --prefix=/opt/sdl1.2

I tried commenting out line 118 and 119 in include/SDL_config_win32.h without success:

#define HAVE__STRTOI64 1
#define HAVE__STRTOUI64 1

Is the issue with my compiler? I use i686-w64-mingw32-gcc (GCC) 13.2.0 on Gentoo i486.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions