Forum Discussion
bwooller
11 years agoHonored Guest
VS2008 libs not in SDK 0.4.0 beta
I'm stuck with VS2008 because of a number of other libraries in our app, so I'm looking at building the oculus libraries from source. Has anyone else done this already and have a vcproj file to share?
6 Replies
- densohaxExplorerI will be able to help you tonight, since I am using VS2008..
From the look of it, there are a couple of issues with stdint.h which doesn't come with VS2008.. You need to download it externally, and then you need to patch a couple of headers for libOVR to remove the detection for stdint.h
I did it that way, and removed the typedefs they added for stdint.h missing, since there was a couple of places where they imported stdint.h directly without checking for the version of VS..
I believe it's far easier to just use an external stdint.h and forget about all this #ifdef'ing garbage.
Link to stdint.h : http://msinttypes.googlecode.com/svn/trunk/stdint.h
Also, my personal preference here, but I would have been happy to see a separate project for their DX / GL implementation, since now, we need to have the headers and possibly link with the libraries when using their libovr in our projects. - puckinnetHonored GuestExcellent. I'm looking forward to this also. No pressure! :D
- densohaxExplorerSorry guys, I didn't get a chance to do it, but in principle it shouldn't be too hard to get it working..
Honestly, I stopped integrating the sdk, I'll wait until they fix OpenGL for direct mode. - kaetemiHonored Guesthttps://bitbucket.org/kaetemi/libovr/src
Added CMake project.
Modified to compile on VS2008 and MinGW.
For VS2008, check WITH_LOCAL_STDINT.
For MinGW, must check OVR_BUILD_SHIPPING.
Keep WITH_D3D, WITH_GL and WITH_SAMPLES unchecked, I have not tried compiling those parts yet. - RR3dsHonored GuestHi kaetemi,
I hope I am not too late to this thread. I have just download https://bitbucket.org/kaetemi/libovr/src and I have built the project without any errors and like you have suggested without WITH_D3D, WITH_GL and WITH_SAMPLES. I have built it for x64 Release VS2008.
However, when I build and run a sample project in VS2008 I get a crash, no clear indication of what is going on. If I run that same project in VS2012 it does not crash. Of course, each one is configured to use the right libraries.
Has anyone had any success building and running for VS2008 x64?
Thank you - kaetemiHonored GuestHave only tested in 32bit VS2008.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 years ago
- 5 years ago
- 12 years ago
- 11 years ago