Hello all,
I’m working on an app for ARM linux/NVidia Jeston, but prefer to develop on OS X.
I’d like to use make
, like I do on linux and avoid XCode anything.
I’m getting these iphone simulator warnings on OS X from a project that works on Linux and Linux Arm; as well as the ofGstVideoUtils
and some midi
related errors:
In file included from /Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.cpp:1:
In file included from /Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.h:3:
In file included from ../../../libs/openFrameworks/ofMain.h:6:
../../../libs/openFrameworks/utils/ofConstants.h:94:67: warning: 'TARGET_OS_IPHONE_SIMULATOR' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
#if (TARGET_OS_IPHONE || TARGET_OS_IOS || TARGET_OS_SIMULATOR || TARGET_OS_IPHONE_SIMULATOR) && !TARGET_OS_TV && !TARGET_OS_WATCH
^
In file included from /Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.cpp:1:
In file included from /Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.h:3:
In file included from ../../../libs/openFrameworks/ofMain.h:101:
In file included from ../../../libs/openFrameworks/video/ofVideoPlayer.h:23:
In file included from ../../../libs/openFrameworks/video/ofAVFoundationPlayer.h:15:
../../../libs/openFrameworks/video/ofAVFoundationVideoPlayer.h:16:6: warning: 'TARGET_OS_IPHONE_SIMULATOR' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
#if (TARGET_OS_IPHONE_SIMULATOR) || (TARGET_OS_IPHONE) || (TARGET_IPHONE)
^
In file included from /Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.cpp:1:
/Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.h:106:9: error: unknown type name 'ofGstVideoUtils'
ofGstVideoUtils gst;
^
/Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.cpp:257:24: error: cannot initialize a parameter of type 'ofxMidiListener *' with an rvalue of type 'ofApp *'
midiIn.addListener(this);
^~~~
/Users/ali/Documents/Dev/of_v0.11.2_osx_release/addons/ofxMidi/src/ofxMidiIn.h:138:36: note: passing argument to parameter 'listener' here
void addListener(ofxMidiListener* listener);
^
/Users/ali/Documents/Dev/of_v0.11.2_osx_release/apps/myApps/MOD/src/ofApp.cpp:409:27: error: cannot initialize a parameter of type 'ofxMidiListener *' with an rvalue of type 'ofApp *'
midiIn.removeListener(this);
^~~~
/Users/ali/Documents/Dev/of_v0.11.2_osx_release/addons/ofxMidi/src/ofxMidiIn.h:139:39: note: passing argument to parameter 'listener' here
void removeListener(ofxMidiListener* listener);
^
3 warnings and 3 errors generated.
make[1]: *** [obj/osx/Release/src/ofApp.o] Error 1
make: *** [Release] Error 2
An ideas why?