Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Krateros

Pages: [1]
1
Audio / Re: Issue 30
« on: May 09, 2013, 11:44:14 pm »
I had the same problem and found a solution. I added the whole Audio module (src & headers), opengal32 and sndfile libraries in a folder of my project. Then changed the #include <SFML/Audio/file.hpp> preprosesors in each file to relative to that folder, so the Audio module is part of my project. Also #defined SFML_AUDIO_API in blank. Now audio works fine without any error if #including the Audio.hpp of that folder.
in Audio files: #include <SFML/Audio/SoundBuffer.hpp> -> #include "SoundBuffer.hpp"
in Export.hpp: #define SFML_AUDIO_API
in main.cpp: #include <SFML/Audio.hpp> -> #include "SFML/Audio.hpp"

Pages: [1]
anything