Quantcast
Viewing all articles
Browse latest Browse all 40524

ofxOMXplayer: unable to compile project on OS X

Resurrecting this thread.

Like stated, working on xcode, now with conditional code for includes and video player creation.

Conditionally using ofxOMXPlayer or ofVideoPlayer depending on current target platform with:

#ifdef TARGET_RASPBERRY_PI
#include "ofxOMXPlayer.h"
#else
#include "ofVideoPlayer.h"
#end

Whenever I try to compile on Xcode, I get the error:

/Users/user/Documents/openFrameworks_v0.9.0/addons/ofxOMXPlayer/src/LIBAV_INCLUDES.h:21:11: 'libswresample/swresample.h' file not found

I included the addon's path in User Header Search Path ($(OF_ROOT)/addons/ofxOMXPlayer/libs) but still get the error.

Haven't tried compiling on the RasPI yet, so can't check if there are include problems, but this particular one does seem to be related to Xcode rather than the library in itself (hopefully).


Viewing all articles
Browse latest Browse all 40524

Trending Articles