Hi, something strange is going on, since I applied that patch to make OR work again it seems "something odd happened" I cannot launch the code samples any more.
Specifically they all seems to fail in this point :
OK .. "keeps getting better and better" .. on the WIN32 version if at the crash I hit "continue" .. the thing seems to work flawlessly .. in the samples and in my code as well .
However .. I spend the last 2 hours and something trying to make my code compile in x64 mode and .. I get this ..
3D11_Device.obj : error LNK2019: unresolved external symbol "__int64 (__cdecl*__cdecl OVR::GetAssertionHandler(__int64 *))(__int64,char const *,char const *)" (?GetAssertionHandler@OVR@@YAP6A_J_JPEBD1@ZPEA_J@Z) referenced in function "public: __cdecl OVR::RenderTiny::RenderDevice::RenderDevice(struct OVR::RenderTiny::RendererParams const &,struct HWND__ *,struct ovrGraphicsLuid_,struct ovrHmdStruct *)" (??0RenderDevice@RenderTiny@OVR@@QEAA@AEBURendererParams@12@PEAUHWND__@@UovrGraphicsLuid_@@PEAUovrHmdStruct@@@Z) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "__int64 (__cdecl*__cdecl OVR::GetAssertionHandler(__int64 *))(__int64,char const *,char const *)" (?GetAssertionHandler@OVR@@YAP6A_J_JPEBD1@ZPEA_J@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "bool __cdecl OVR::IsAutomationRunning(void)" (?IsAutomationRunning@OVR@@YA_NXZ) referenced in function "public: __cdecl OVR::RenderTiny::RenderDevice::RenderDevice(struct OVR::RenderTiny::RendererParams const &,struct HWND__ *,struct ovrGraphicsLuid_,struct ovrHmdStruct *)" (??0RenderDevice@RenderTiny@OVR@@QEAA@AEBURendererParams@12@PEAUHWND__@@UovrGraphicsLuid_@@PEAUovrHmdStruct@@@Z) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "bool __cdecl OVR::IsAutomationRunning(void)" (?IsAutomationRunning@OVR@@YA_NXZ) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "bool __cdecl OVR::OVRIsDebuggerPresent(void)" (?OVRIsDebuggerPresent@OVR@@YA_NXZ) referenced in function "public: __cdecl OVR::RenderTiny::RenderDevice::RenderDevice(struct OVR::RenderTiny::RendererParams const &,struct HWND__ *,struct ovrGraphicsLuid_,struct ovrHmdStruct *)" (??0RenderDevice@RenderTiny@OVR@@QEAA@AEBURendererParams@12@PEAUHWND__@@UovrGraphicsLuid_@@PEAUovrHmdStruct@@@Z) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "bool __cdecl OVR::OVRIsDebuggerPresent(void)" (?OVRIsDebuggerPresent@OVR@@YA_NXZ) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "unsigned __int64 __cdecl OVR::OVR_strlcpy(char *,char const *,unsigned __int64)" (?OVR_strlcpy@OVR@@YA_KPEADPEBD_K@Z) referenced in function "public: __cdecl OVR::bad_alloc::bad_alloc(struct OVR::bad_alloc const &)" (??0bad_alloc@OVR@@QEAA@AEBU01@@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: __cdecl OVR::bad_alloc::bad_alloc(char const *)" (??0bad_alloc@OVR@@QEAA@PEBD@Z) referenced in function "public: static void * __cdecl OVR::RefCountBaseStatImpl::operator new(unsigned __int64)" (??2?$RefCountBaseStatImpl@VRefCountImpl@OVR@@@OVR@@SAPEAX_K@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: static class OVR::Allocator * __cdecl OVR::Allocator::GetInstance(bool)" (?GetInstance@Allocator@OVR@@SAPEAV12@_N@Z) referenced in function "public: virtual __cdecl OVR::RenderTiny::ShaderBase::~ShaderBase(void)" (??1ShaderBase@RenderTiny@OVR@@UEAA@XZ) 1>Render_LoadTextureDDS.obj : error LNK2001: unresolved external symbol "public: static class OVR::Allocator * __cdecl OVR::Allocator::GetInstance(bool)" (?GetInstance@Allocator@OVR@@SAPEAV12@_N@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: void * __cdecl OVR::Allocator::AllocDebug(unsigned __int64,char const *,char const *,unsigned int)" (?AllocDebug@Allocator@OVR@@QEAAPEAX_KPEBD1I@Z) referenced in function "public: void __cdecl OVR::RenderTiny::ShaderBase::InitUniforms(void *,unsigned __int64)" (?InitUniforms@ShaderBase@RenderTiny@OVR@@QEAAXPEAX_K@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: void __cdecl OVR::Allocator::Free(void *)" (?Free@Allocator@OVR@@QEAAXPEAX@Z) referenced in function "public: virtual __cdecl OVR::RenderTiny::ShaderBase::~ShaderBase(void)" (??1ShaderBase@RenderTiny@OVR@@UEAA@XZ) 1>Render_LoadTextureDDS.obj : error LNK2001: unresolved external symbol "public: void __cdecl OVR::Allocator::Free(void *)" (?Free@Allocator@OVR@@QEAAXPEAX@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: void * __cdecl OVR::Allocator::Realloc(void *,unsigned __int64)" (?Realloc@Allocator@OVR@@QEAAPEAXPEAX_K@Z) referenced in function "public: static void * __cdecl OVR::ContainerAllocatorBase::Realloc(void *,unsigned __int64)" (?Realloc@ContainerAllocatorBase@OVR@@SAPEAXPEAX_K@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl OVR::RefCountImplCore::~RefCountImplCore(void)" (??1RefCountImplCore@OVR@@UEAA@XZ) referenced in function "public: virtual __cdecl OVR::RefCountImpl::~RefCountImpl(void)" (??1RefCountImpl@OVR@@UEAA@XZ) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: static void __cdecl OVR::RefCountImplCore::reportInvalidDelete(void *)" (?reportInvalidDelete@RefCountImplCore@OVR@@SAXPEAX@Z) referenced in function "public: static void __cdecl OVR::RefCountImplCore::checkInvalidDelete(class OVR::RefCountImplCore *)" (?checkInvalidDelete@RefCountImplCore@OVR@@SAXPEAV12@@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: void __cdecl OVR::RefCountImpl::AddRef(void)" (?AddRef@RefCountImpl@OVR@@QEAAXXZ) referenced in function "public: __cdecl OVR::Ptr::Ptr(class OVR::Ptr const &)" (??0?$Ptr@VTexture@RenderTiny@OVR@@@OVR@@QEAA@AEBV01@@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: void __cdecl OVR::RefCountImpl::Release(void)" (?Release@RefCountImpl@OVR@@QEAAXXZ) referenced in function "public: virtual __cdecl OVR::RenderTiny::RenderDevice::~RenderDevice(void)" (??1RenderDevice@RenderTiny@OVR@@UEAA@XZ) 1>StereoRenderer.obj : error LNK2001: unresolved external symbol "public: void __cdecl OVR::RefCountImpl::Release(void)" (?Release@RefCountImpl@OVR@@QEAAXXZ) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "public: void __cdecl OVR::RefCountImpl::Release(void)" (?Release@RefCountImpl@OVR@@QEAAXXZ) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: __cdecl OVR::String::String(void)" (??0String@OVR@@QEAA@XZ) referenced in function "public: __cdecl OVR::RenderTiny::ShaderBase::Uniform::Uniform(void)" (??0Uniform@ShaderBase@RenderTiny@OVR@@QEAA@XZ) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: __cdecl OVR::String::String(char const *)" (??0String@OVR@@QEAA@PEBD@Z) referenced in function "public: class OVR::RenderTiny::Texture * __cdecl OVR::RenderTiny::RenderDevice::CreateTextureFromFile(char *,bool)" (?CreateTextureFromFile@RenderDevice@RenderTiny@OVR@@QEAAPEAVTexture@23@PEAD_N@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: __cdecl OVR::String::String(class OVR::String const &)" (??0String@OVR@@QEAA@AEBV01@@Z) referenced in function "public: __cdecl OVR::RenderTiny::ShaderBase::Uniform::Uniform(struct OVR::RenderTiny::ShaderBase::Uniform const &)" (??0Uniform@ShaderBase@RenderTiny@OVR@@QEAA@AEBU0123@@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: void __cdecl OVR::String::operator=(char const *)" (??4String@OVR@@QEAAXPEBD@Z) referenced in function "public: void __cdecl OVR::RenderTiny::ShaderBase::InitUniforms(void *,unsigned __int64)" (?InitUniforms@ShaderBase@RenderTiny@OVR@@QEAAXPEAX_K@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: __cdecl OVR::SysFile::SysFile(class OVR::String const &,int,int)" (??0SysFile@OVR@@QEAA@AEBVString@1@HH@Z) referenced in function "public: class OVR::RenderTiny::Texture * __cdecl OVR::RenderTiny::RenderDevice::CreateTextureFromFile(char *,bool)" (?CreateTextureFromFile@RenderDevice@RenderTiny@OVR@@QEAAPEAVTexture@23@PEAD_N@Z) 1>Giles_D3D11_Device.obj : error LNK2019: unresolved external symbol "public: static int __cdecl ovrlog::ErrorSilencer::GetSilenceOptions(void)" (?GetSilenceOptions@ErrorSilencer@ovrlog@@SAHXZ) referenced in function "private: void __cdecl ovrlog::Channel::doLog(enum ovrlog::Level,char (&)[512])const " (??$doLog@AEAY0CAA@D@Channel@ovrlog@@AEBAXW4Level@1@AEAY0CAA@D@Z) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "public: static int __cdecl ovrlog::ErrorSilencer::GetSilenceOptions(void)" (?GetSilenceOptions@ErrorSilencer@ovrlog@@SAHXZ) 1>Giles_D3D11_Device.obj : error LNK2001: unresolved external symbol "private: static void (__cdecl* ovrlog::Channel::OutputWorkerOutputFunction)(char const *,unsigned int,char const *,bool,unsigned int)" (?OutputWorkerOutputFunction@Channel@ovrlog@@0P6AXPEBDI0_NI@ZEA) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "private: static void (__cdecl* ovrlog::Channel::OutputWorkerOutputFunction)(char const *,unsigned int,char const *,bool,unsigned int)" (?OutputWorkerOutputFunction@Channel@ovrlog@@0P6AXPEBDI0_NI@ZEA) 1>Giles_D3D11_Device.obj : error LNK2001: unresolved external symbol "class ovrlog::Channel OVR::DefaultChannel" (?DefaultChannel@OVR@@3VChannel@ovrlog@@A) 1>Win32_VR-Sequencer_Util.obj : error LNK2001: unresolved external symbol "class ovrlog::Channel OVR::DefaultChannel" (?DefaultChannel@OVR@@3VChannel@ovrlog@@A) 1>D:\PC-Engine-Projects\VR-Sequencer-DK2\Projects\Win\VS2010\../../../Bin/Win/VS2010/Debug/x64/VR-Sequencer-DK2.exe : fatal error LNK1120: 21 unresolved externals
I don't know what's worse of the 2 and what tree I have to bark at ..
Hi, just saying I kinda found a 'solution' my own. I can reconfirm that IMHO there's some problem with a mem allocator issue but the thing definitely works in 64 bits mode.
Those external were a fault of mine not linking with LibOVRKernel ..