Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: 'ofxKinectV2.h' file not found #32

Closed
ZilinZhou1995 opened this issue Oct 16, 2017 · 2 comments
Closed

fatal error: 'ofxKinectV2.h' file not found #32

ZilinZhou1995 opened this issue Oct 16, 2017 · 2 comments

Comments

@ZilinZhou1995
Copy link

Just pull down and correct the path to the OF root path, then make, get this error.
Is there anyone who know how can I fix this?

HOST_OS=Darwin
Compiling OF library for Release
HOST_OS=Darwin
HOST_OS=Darwin
HOST_OS=Darwin
Done!

Compiling example for Release
HOST_OS=Darwin
Compiling /Users/zhoujiahui/Kinect/ofxKinectV2-master/example/src/main.cpp
c++ -c -Os -DNDEBUG -mtune=native -stdlib=libc++ -Wall -fexceptions -fpascal-strings -mmacosx-version-min=10.7 -D__MACOSX_CORE__ -x objective-c++ -std=c++11 -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/FreeImage/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/boost/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/boost/include/boost -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/cairo/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/cairo/include/cairo -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/fmodex/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/freetype/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/freetype/include/freetype2 -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/freetype/include/freetype2/config -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/freetype/include/freetype2/internal -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/freetype/include/freetype2/internal/services -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/glew/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/glew/include/GL -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/glfw/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/glfw/include/GLFW -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/glut/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openssl/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openssl/include/openssl -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/poco/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/rtAudio/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/tess2/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/utf8cpp/include -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/utf8cpp/include/utf8 -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/3d -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/app -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/communication -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/events -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/gl -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/graphics -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/math -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/sound -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/types -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/utils -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/libs/openFrameworks/video -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/DerivedData -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/DerivedData/ofxKinectV2Example -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/DerivedData/ofxKinectV2Example/TextIndex -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/ofxKinectV2Example.xcodeproj/project.xcworkspace -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/ofxKinectV2Example.xcodeproj/project.xcworkspace/xcuserdata -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/ofxKinectV2Example.xcodeproj/project.xcworkspace/xcuserdata/theo.xcuserdatad -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/ofxKinectV2Example.xcodeproj/project.xcworkspace/xcuserdata/zhoujiahui.xcuserdatad -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/ofxKinectV2Example.xcodeproj/xcshareddata -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/ofxKinectV2Example.xcodeproj/xcshareddata/xcschemes -I/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/src -I/Users/zhoujiahui/Kinect/of_v0.9.8_osx_release/addons/ofxGui/src -MMD -MP -MF obj/osx/Release/src/main.d -MT obj/osx/Release/src/main.o -o obj/osx/Release/src/main.o -c /Users/zhoujiahui/Kinect/ofxKinectV2-master/example/src/main.cpp
In file included from /Users/zhoujiahui/Kinect/ofxKinectV2-master/example/src/main.cpp:2:
/Users/zhoujiahui/Kinect/ofxKinectV2-master/example/src/ofApp.h:4:10: fatal error: 'ofxKinectV2.h' file not found
#include "ofxKinectV2.h"
^~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [obj/osx/Release/src/main.o] Error 1
make: *** [Release] Error 2

@ofTheo
Copy link
Owner

ofTheo commented Oct 16, 2017 via email

@ZilinZhou1995
Copy link
Author

Thank you! I figure it out by putting it in the addon directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants