Members - Reputation: 210
Posted 21 July 2012 - 01:45 PM
I am trying to learn SDL. I download the latest SDL 1.2 (I'm using runtime and development libraries). The download came with all the necessary header files and library files and I am successfully using them in my programming projects.
Today, I decided to use SDL_mixer to add sound effects in my project. I am following this tutorial http://www.sdltutorials.com/sdl-soundbank
The tutorial states that I need to download SDL_mixer separately. I downloaded the latest binary windows release of the SDL_mixer from the official website of SDL (http://www.libsdl.org/projects/SDL_mixer/) and when I extracted the files, I only find runtime libraries in the folder, there are no include header files there, no development libraries.
However, in the tutorial the author is using "SDL_mixer.h" header and has instructed to link SDL_mixer.lib with the project. However, as I downloaded the library of SDL_mixer, there are no headers or .lib files, only .dll files there.
I tried downloading the source code of SDL_mixer and "SDL_mixer.h" was located there so I pasted in my main SDL include folder but I still can't find the SDL_mixer.lib to link it with the project.
I don't know If I am lost or doing something wrong here.... Please guide me....
Crossbones+ - Reputation: 3009
Posted 21 July 2012 - 02:03 PM
Members - Reputation: 665
Posted 21 July 2012 - 02:56 PM
This tutorial will help you: