jhurt / FLACiOS

Xcode project to create a fat binary libFLAC framework for use in iOS apps
BSD 2-Clause "Simplified" License
60 stars 20 forks source link

Lexical or Preprocessor Issue #1

Closed parachuteapps closed 8 years ago

parachuteapps commented 11 years ago

Xcode 4.4 reports this error in 'ogg_encoder_aspect.h':

Lexical or Preprocessor Issue 'ogg/ogg.h' file not found

Thanks for any feedback.

dalexsoto commented 11 years ago

Same here, did you manage to fix this issue???

jhurt commented 11 years ago

If you need ogg support you need to compile ogg and vorbis from source: http://downloads.xiph.org/releases/ogg/ and http://downloads.xiph.org/releases/vorbis/ After that you should now have Ogg.framework and Vorbis.framework in /Library/Frameworks, then FLACiOS should build for you with any version of Xcode, I tested with 4.3 and 4.5.

dalexsoto commented 11 years ago

Oh nice, i managed to compile vorbis and ogg to armv7 armv7s and i386 so just created 2 frameworks with both libraries and added them to your project and it compiled. thanks a lot

Alex

marcoancona commented 11 years ago

And if I don't need Ogg support?

jhurt commented 11 years ago

If you don't need it I would delete anything having to do with ogg and vorbis from the source, then rebuild. You only need ogg if you are going to convert between FLAC and Ogg encoded files at some point in your app.

bmcfadden commented 11 years ago

Hi guys,

I'm having the same issue. I don't need Ogg support but I am having trouble removing it from the source as mentioned - I keep breaking the code. So, I tried going to the compiling ogg from source route, but I'm not having luck with that either.

Any suggestions?

Thanks

sidan5 commented 11 years ago

Can you build a Demo app that contains everything (ogg already compiled etc.)?

jhurt commented 8 years ago

The master branch now has ogg removed. If you need ogg support, checkout the ogg branch.