The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Problems Building SDL2_Mixer on IOS
doctoreamer


Joined: 08 Oct 2014
Posts: 12
I'm developing an IOS/Android game using SDL2 with the Xcode ide. I've had no issues building SDL2 or SDL2_image static libraries, but I can't get the SDL2_mixer to compile. I get the following error message:
In ivorbiscodec.h
Lexical or Preprocessor Issue, 'ogg/ogg.h' file not found

I would be grateful for some help!
Problems Building SDL2_Mixer on IOS
Jeffrey Carpenter
Guest

Hello,

It looks like it is not able to find the libvorbis header files -- a dependency of SDL2_mixer last I recall. Make sure you have libvorbis library with development header files installed, at a header directory path that SDL2_mixer's Xcode project searches.

Cheers,
Jeffrey Carpenter


On 2014/10/ 07, at 22:51, doctoreamer wrote:

Quote:
I'm developing an IOS/Android game using SDL2 with the Xcode ide. I've had no issues building SDL2 or SDL2_image static libraries, but I can't get the SDL2_mixer to compile. I get the following error message:
In ivorbiscodec.h
Lexical or Preprocessor Issue, 'ogg/ogg.h' file not found

I would be grateful for some help!
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
doctoreamer


Joined: 08 Oct 2014
Posts: 12
It worked, thanks for your reply! I'm sorry for the late response, the project was put on hold for a while and I forgot about this post.