ofxHAPAVPlayer
ofxHAPAVPlayer copied to clipboard
Compiling from the OSX command line
Hello there,
I'm getting a fatal error when trying to make Debug
a project from the command line. Tried to play around with PROJECT_EXTERNAL_SOURCE_PATHS
and PROJECT_LDFLAGS
in config.make. Doesn't seem to make any difference.
I'm on OSX 10.12.6, installed the HapInAVFoundation Framework. I attached the full output of make -j4 Debug
below.
The fatal error I get is: /Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/src/ofxHAPAVPlayerDelegate.h:12:9: fatal error: 'HapInAVFoundation/HapInAVFoundation.h' file not found #import <HapInAVFoundation/HapInAVFoundation.h>
Hope you can help me. Guess it's just a setting in the config.make.
Thanks in advance, Hans
Full output:
Compiling threaded-videos-hpav for Debug HOST_OS=Darwin cat: obj/osx/Debug/.compiler_flags: No such file or directory Compiling src/main.cpp c++ -c -g3 -stdlib=libc++ -Wall -fexceptions -fpascal-strings -mmacosx-version-min=10.7 -D__MACOSX_CORE__ -x objective-c++ -std=c++11 -I../../../libs/FreeImage/include -I../../../libs/boost/include -I../../../libs/boost/include/boost -I../../../libs/cairo/include -I../../../libs/cairo/include/cairo -I../../../libs/curl/include -I../../../libs/curl/include/curl -I../../../libs/fmodex/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/freetype/include/freetype2/config -I../../../libs/freetype/include/freetype2/freetype -I../../../libs/freetype/include/freetype2/freetype/config -I../../../libs/freetype/include/freetype2/freetype/internal -I../../../libs/freetype/include/freetype2/freetype/internal/services -I../../../libs/freetype/include/freetype2/internal -I../../../libs/freetype/include/freetype2/internal/services -I../../../libs/glew/include -I../../../libs/glew/include/GL -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/glm/include -I../../../libs/glm/include/glm -I../../../libs/glm/include/glm/detail -I../../../libs/glm/include/glm/gtc -I../../../libs/glm/include/glm/gtx -I../../../libs/glm/include/glm/simd -I../../../libs/glu/include -I../../../libs/glut/include -I../../../libs/json/include -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/pugixml/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/uriparser/include -I../../../libs/uriparser/include/uriparser -I../../../libs/utf8/include -I../../../libs/utf8/include/utf8 -I../../../libs/utf8cpp/include -I../../../libs/utf8cpp/include/utf8 -I../../../libs/openFrameworks -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I./src -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/src -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A/Frameworks -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A/Headers -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A/Resources -MMD -MP -MF obj/osx/Debug/src/main.d -MT obj/osx/Debug/src/main.o -o obj/osx/Debug/src/main.o -c src/main.cpp Compiling src/ofApp.cpp c++ -c -g3 -stdlib=libc++ -Wall -fexceptions -fpascal-strings -mmacosx-version-min=10.7 -D__MACOSX_CORE__ -x objective-c++ -std=c++11 -I../../../libs/FreeImage/include -I../../../libs/boost/include -I../../../libs/boost/include/boost -I../../../libs/cairo/include -I../../../libs/cairo/include/cairo -I../../../libs/curl/include -I../../../libs/curl/include/curl -I../../../libs/fmodex/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/freetype/include/freetype2/config -I../../../libs/freetype/include/freetype2/freetype -I../../../libs/freetype/include/freetype2/freetype/config -I../../../libs/freetype/include/freetype2/freetype/internal -I../../../libs/freetype/include/freetype2/freetype/internal/services -I../../../libs/freetype/include/freetype2/internal -I../../../libs/freetype/include/freetype2/internal/services -I../../../libs/glew/include -I../../../libs/glew/include/GL -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/glm/include -I../../../libs/glm/include/glm -I../../../libs/glm/include/glm/detail -I../../../libs/glm/include/glm/gtc -I../../../libs/glm/include/glm/gtx -I../../../libs/glm/include/glm/simd -I../../../libs/glu/include -I../../../libs/glut/include -I../../../libs/json/include -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/pugixml/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/uriparser/include -I../../../libs/uriparser/include/uriparser -I../../../libs/utf8/include -I../../../libs/utf8/include/utf8 -I../../../libs/utf8cpp/include -I../../../libs/utf8cpp/include/utf8 -I../../../libs/openFrameworks -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I./src -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/src -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A/Frameworks -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A/Headers -I/Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/libs/Hap/lib/osx/HapInAVFoundation.framework/Versions/A/Resources -MMD -MP -MF obj/osx/Debug/src/ofApp.d -MT obj/osx/Debug/src/ofApp.o -o obj/osx/Debug/src/ofApp.o -c src/ofApp.cpp In file included from src/main.cpp:2: In file included from ./src/ofApp.h:4: In file included from /Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/src/ofxHAPAVPlayer.h:24: /Users/hans/dev/openFrameworks/addons/ofxHAPAVPlayer/src/ofxHAPAVPlayerDelegate.h:12:9: fatal error: 'HapInAVFoundation/HapInAVFoundation.h' file not found #import <HapInAVFoundation/HapInAVFoundation.h>