I'm not sure how the state of the linux builds should be, but I have multiple issues.
First you should know that I use the feature-cmake branch from this repository for the oculus rift sdk: https://github.com/jherico/OculusSDK/tree/feature-cmake (stable and unstable branches don't build right now)
So this puts the oculus headers in $srcdir/OculusSDK/LibOVR/Include/OVR.h
I tried using cmake with:
but it doesn't have an effect.
So I set it with this:
export C_INCLUDE_PATH="$srcdir/OculusSDK/LibOVR/Include/" export CPLUS_INCLUDE_PATH="$srcdir/OculusSDK/LibOVR/Include/"
This works. (the -DOCULUS_LIBRARY_DIR option seems to work)
The next issue is that it doesn't find the opengl_helpers.h so I had to add $srcdir/ibex/ to the include path environment variables too so now they read
export C_INCLUDE_PATH="$srcdir/OculusSDK/LibOVR/Include/:$srcdir/ibex/" export CPLUS_INCLUDE_PATH="$srcdir/OculusSDK/LibOVR/Include/:$srcdir/ibex/"
Now it fails with this:
/home/chris/ibex-git/src/ibex/x11/x11.cpp: In function 'void playVideo()': /home/chris/ibex-git/src/ibex/x11/x11.cpp:915:19: error: no matching function for call to 'Ibex::VLCVideoPlayer::playVideo(const char*, bool, Display*&, Window&)' dpy, root); ^ /home/chris/ibex-git/src/ibex/x11/x11.cpp:915:19: note: candidate is: In file included from /home/chris/ibex-git/src/ibex/x11/x11.cpp:1:0: /home/chris/ibex-git/src/ibex/x11/../video/VLCVideoPlayer.h:39:9: note: int Ibex::VLCVideoPlayer::playVideo(const char*, bool, Display*, GLXDrawable, const void*) int playVideo(const char *fileName, bool isStereo, Display *dpy, GLXDrawable root, const void *data); ^ /home/chris/ibex-git/src/ibex/x11/../video/VLCVideoPlayer.h:39:9: note: candidate expects 5 arguments, 4 provided
all the declarations of playvideo(...) I found require a
const void *data parameter...
Sorry for stuffing it all in one issue,