cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio 2015 support needed!

2EyeGuy
Adventurer
I get the following error in Visual Studio 2015 using the VS2013 Oculus lib file (since you don't provide a 2015 one) from SDK 0.6.0:

7>libovr.lib(OVR_CAPIShim.obj) : error LNK2019: unresolved external symbol _vswprintf_c_l referenced in function swprintf


Unfortunately, if I try to define that symbol in my own code, it says that function already has a body (but it appears to be inline, so not an external symbol).

The main Dolphin project officially switched to requiring VS2015 today. Could Oculus provide a lib file for VS2015 or tell me how I can fix that error?

The error doesn't occur with VS2013.
1 REPLY 1

Scawen
Heroic Explorer
I don't know if this will help on your computer but...

I installed VS2015, having used VS2010 on my previous Windows installation.

Because of using VS2010 before, my project's "Additional Library Directories" in the linker settings pointed to "LibOVR\Lib\Windows\Win32\Release\VS2010".

It links with the VS2010 lib with no complaint. As this works, I have not tried anything else.
Live for Speed - www.lfs.net