-
Notifications
You must be signed in to change notification settings - Fork 114
Build Instructions #33
Comments
What branch are you working with?
|
I'm just trying to build the stable branch with the end goal of trying out the sample Python scripts. Mac OS X 10.6.8 32-bit is the most convenient system for me to hook the Rift up to, but I've also got access to a current Mac OS X 10.9.4 64-bit system and a couple of Linux boxes. It's different sorts of errors in the different environments, and nothing seemingly insurmountable, but silly looking stuff that makes me think I may be missing something. For Mac OS X 64-bit:
For Ubuntu Linux 64-bit:
(Please note that libxinerama-dev and libxxf86vm-dev are both installed.) For Mac OS X 32-bit it doesn't get nearly as far as the other two:
My guess is that there are a handful of prerequisites / assumptions about the build environment that I'm missing, or there's a more complex sequence that needs to be carried out to perform a full build. |
For ubuntu error, I've updated the CMake file to include the Xinerama library for the sample code. For the OSX 64 bit error, I'll have to take a look when I get home, however you should note that it's only failing in the sample code, not in building the main OVR_C library. You can disable the building of the samples by calling cmake with a For the 32 bit build, I'm confused as to why the |
You should bear in mind that the Python scripts haven't been tested against the current build of the SDK in stable. The https://github.com/jherico/python-ovrsdk repository includes the binaries against which the python code was built and tested. |
Thanks. With your changes, Linux 64-bit builds now without any problems, and the 32-bit Mac OS X build is definitely helped. Adding in the minor changes I made to flag the constants as long longs (I'll submit these back) and disabling the samples builds on both 64- and 32-bit Mac OS X are now working too. The samples failure on 32-bit Mac OS X spews a lot of output, but appears to be right in the same neighborhood as the samples failure is with the 64-bit Mac OS X. I wouldn't be surprised if fixing one would fix the other, too. Good to know on python-ovrsdk. It doesn't look like there are any 32-bit options there for Linux or Mac, though. |
Are there any special build instructions? The naïve "cake CMakeLists.txt;make" hasn't worked for me in any environment I've tried it on yet (Mac OS X 10.9.4 64 bit, Mac OS X 10.6.8 32 bit, Ubuntu Linux 14.04 64 bit). There seem to be some constants that need to be tagged as "long long" in 32 bit environments to compile properly; I've made the changes and verified that the compilations then work in both 64 and 32 bit environments, but I've yet to be able to test a full build. As for the errors themselves, they're different sorts of things in different environments, and before I go too deep down the rabbit hole I wanted to check to see if there was anything obvious I could be missing.
Is there anything I should be looking out for?
The text was updated successfully, but these errors were encountered: