-
Notifications
You must be signed in to change notification settings - Fork 31
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
On Mac example compiles fine, but in project generated by open frameworks Project Generator, there are errors #6
Comments
Hi, for now you might want to try my fork, which is working on Mac https://github.com/mattebb/ofxOculusDK2 |
The other thing too is that when using the project generator, it doesn't set up the correct include and library paths to the oculus sdk. You can add these yourself in the Xcode config but it would be nice in the future to try and get things a bit more automatic too. |
Thanks! I've gotten a little further. I've removed everything except ofxOculudDK2.cpp. Now the library compiles when I include
(which is further than before), but as soon as I instantiate a oculus with:
I get:
I've played with other compile settings.... can't seem to find a solution to this. Thanks for your help! |
I was having the same problem, the example worked fine but using the addon with a new project was not getting all the oculus files. I was importing the addon with adamsyn's xcode plugin fwiw (https://github.com/admsyn/OFPlugin). I added this to the project.xconfig and it seems to work now.
|
Hi, I still get a significant amount of errors when attempting to compile. Even with the above fix ^ |
@garrettburnett what kind of errors? What is your os and version of oF? |
Hi I'm on OS 10.11, The library works fine when I am using the example, but I get loads of "file not found errors" This is what my Project.config looks like right now: //THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT. //THIS HAS ALL THE HEADER AND LIBS FOR OF CORE //ICONS - NEW IN 0072 //IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to: HEADER_SEARCH_PATHS = /////////////////////////////////////////// // path to the addons dir // ofxOculusRift OFX_OCULUSRIFT_LIBS = "$(ADDONS_PATH)/ofxOculusDK2/libs/LibOVR/Lib/MacOS/Release/libovr.a" // all addons |
@aferriss I'm also adding the library using adamsyn's OF plugin |
When I first install the library and then generate a project using the standard OFX project generator with it, compiler generates the error:
If I then compile the example project-- the example project will compile fine and work great, but then attempt to create a new project with the library and compile I get:
followed by:
So, the error seems to be in the xcode file config... but I'm not sure where. Any thoughts?
Thanks for the awesome library!
Mac OS X Yosemite, OF 8.4, XCode 6.1
The text was updated successfully, but these errors were encountered: