ofxOculusRift icon indicating copy to clipboard operation
ofxOculusRift copied to clipboard

compiling on windows code::blocks

Open paul-ferragut opened this issue 10 years ago • 2 comments

The addon looks great. I would like to use it on code::blocks 12.11 windows 8.1 and OF 0.8.3 but had no success. I have some errors with OVR_FileFILE.cpp '_wstat64' was not declared in this scope 'OVR::SysFile::GetFileStat(OVR::FileStat*,const OVR::String&)::_stat64 fileStat' has incomplete type and cannot be defined. Not sure where to look at to learn how to make it work on code::blocks, any suggestions would be very appreciated!

paul-ferragut avatar Aug 14 '14 15:08 paul-ferragut

probably have trouble running this on codeblocks since OVR is only supported on Visual Studio and Xcode

On Thu, Aug 14, 2014 at 11:21 AM, Paul Ferragut [email protected] wrote:

The addons looks great. I would like to use it on code::blocks 12.11 windows 8.1 and OF 0.8.3 but had no success. I have some errors with OVR_FileFILE.cpp '_wstat64' was not declared in this scope 'OVR::SysFile::GetFileStat(OVR::FileStat*,const OVR::String&)::_stat64 fileStat' has incomplete type and cannot be defined. Not sure where to look at to learn how to make it work on code::blocks, any suggestions would be very appreciated!

— Reply to this email directly or view it on GitHub https://github.com/obviousjim/ofxOculusRift/issues/11.

  • James

obviousjim avatar Aug 14 '14 16:08 obviousjim

Thanks for your reply I found some info here https://developer.oculusvr.com/forums/viewtopic.php?p=52403#p52403 . I dont manage to create a device but it compiled after adding some file from https://github.com/larspensjo/OculusSDK-MinGW and commenting parts in OVR_Win32_HMDDevice , OVR_win32_DeviceStatus and OVR_Profile I will look further

paul-ferragut avatar Aug 14 '14 18:08 paul-ferragut