SDl_mixer and image
I want to include those two frameworks in my project. I add the framework, then I use the includes:
And I get a error saying: no such file
Am I including it wrong?
Code:
#include "SDL_mixer.h"
"SDL_image.h"Am I including it wrong?
I'm not really familiar with SDL_mixer or SDL_image, but you may need to do something like #include "SDL_mixer/SDL_mixer.h" and #include "SDL_image/SDL_image.h". You can also add the directory containing those headers to your header search paths.
To get SDL_mixer code to compile on Mac OS X, I had to include SDL_mixer.h in the following way:
SDL_image code compiled fine just by including SDL_image.h.
Code:
#include "SDL_mixer/SDL_mixer.h"SDL_image code compiled fine just by including SDL_image.h.
Thanks, works now
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Installing SDL_image & SDL_mixer | bronxbomber92 | 8 | 4,833 |
Oct 14, 2006 09:39 PM Last Post: szymczyk |
|
| Using SDL_mixer to play ogg sound (not music) effects | kordova | 3 | 5,496 |
Sep 1, 2006 12:29 PM Last Post: kordova |
|
| SDL_mixer exception at Mix_PlayMusic | kordova | 2 | 2,960 |
Sep 1, 2006 04:09 AM Last Post: kordova |
|
| SDL/SDL_mixer problems with Xcode | poffy | 1 | 3,037 |
Mar 7, 2006 02:45 AM Last Post: OneSadCookie |
|
| SDL_mixer crashing on loop - why? | sealfin | 8 | 5,262 |
Jan 26, 2005 09:25 PM Last Post: aaronsullivan |
|

