SDL_mixer won't compile

Hi, I’m having problems getting my program, the test programs, or the
mixer library to compile under MS VC++. The problem is with all the
exported functions in SDL_mixer.h. Like this:

extern DECLSPEC const SDL_version * SDLCALL Mix_Linked_Version(void);

The compiler doesn’t have a definition of SDLCALL, and I don’t know what
it is. It isn’t listed in any header file except SDL_mixer, or anywhere
else I could find. I’m using SDL_mixer v1.18 & SDL v.1.2 Any ideas
would be appreciated.

tony

Hi, I’m having problems getting my program, the test programs, or the
mixer library to compile under MS VC++. The problem is with all the
exported functions in SDL_mixer.h. Like this:

extern DECLSPEC const SDL_version * SDLCALL Mix_Linked_Version(void);

The compiler doesn’t have a definition of SDLCALL, and I don’t know what
it is. It isn’t listed in any header file except SDL_mixer, or anywhere
else I could find. I’m using SDL_mixer v1.18 & SDL v.1.2 Any ideas
would be appreciated.

You need the SDL 1.2.4 development headers and libraries.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment