Use LibOVR with managed c++/cli (VS2012)
Hello colleagues,
I am trying to access the Rift from C# and have written a CLR wrapper with C++/CLI.
Unfortunately, the wrapper assembly will not load into a C# assembly. Runtime error:
"Could not load file or assembly 'Oculus.dll' or one of its dependencies. The specified module could not be found."
The OculusRoomTiny sample in the same solution builds and runs fine, I have copied all include settings to my wrapper.
In my configuration I have set the platform for all projects to x86/WIN32 or x64, respectively. To no avail.
It has been some 7 years since I have programmed in C++, so a lot will have slipped my mind.
Could you please help me with this?
Thanks,
Andreas Hassmann.
I am trying to access the Rift from C# and have written a CLR wrapper with C++/CLI.
Unfortunately, the wrapper assembly will not load into a C# assembly. Runtime error:
"Could not load file or assembly 'Oculus.dll' or one of its dependencies. The specified module could not be found."
The OculusRoomTiny sample in the same solution builds and runs fine, I have copied all include settings to my wrapper.
In my configuration I have set the platform for all projects to x86/WIN32 or x64, respectively. To no avail.
It has been some 7 years since I have programmed in C++, so a lot will have slipped my mind.
Could you please help me with this?
Thanks,
Andreas Hassmann.
