Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofxOMXplayer: unable to compile project on OS X

$
0
0

@Ishkur wrote:

Hello all

I'm trying to create a program that makes use of ofxOMXplayer in hopes of then making it work on a Raspberry PI. I want to develop it on OS X (Xcode), as I'm kind of a newbie to openFrameworks, and afaik compiling on the PI takes a lot longer, so my frequent trial-and-error will end up taking lots of time.
I've been so far successful in including ofxGUI and compiling a series of simple draw tests, as well as some audio analysis fiddling.

My problem is that including the ofxOMXplayer addon produces a lot of compile errors. If I just include it and try to compile, I get several errors relating to time.h, like:
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ctime:59:9: No member named 'tm' in the global namespace"

I found that libavutil has a time.h file, which might be causing clashes with the system include.
If I change libavutil's time.h filename to mytime.h, those errors go away.

However, I then get a number of library include errors like
"/Users/user/Documents/openFrameworks_v0.9.0/addons/ofxOMXPlayer/src/OMX_Maps.h:15:10: 'IL/OMX_Core.h' file not found"
"/Users/user/Documents/openFrameworks_v0.9.0/addons/ofxOMXPlayer/src/LIBAV_INCLUDES.h:21:11: 'libswresample/swresample.h' file not found"

I created the project using the included project generator, so I'm guessing all addon inclusions are done correctly.

Any help is greatly appreciated!

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles