Forum Discussion
sbf0202
11 years agoHonored Guest
Visual Studio 2013 error
I'm trying to implement SDK 0.4 in Microsoft Visual Studio Express 2013 (Windows Desktop). I set up my project using the "Minimal Oculus Application" tutorial that cybereality wrote.
When I tried building the project, I got the following error:
Where would I find this library? Also, I'm running a 64-bit machine, but choosing a win32 console application and pointing to the 32-bit platform folder in "Additional Library Directories"
When I tried building the project, I got the following error:
Error 1 error LNK1104: cannot open file 'atls.lib' d:\documents\visual studio 2013\Projects\OculusTest\ConsoleApplication1\LINK OculusTest
Where would I find this library? Also, I'm running a 64-bit machine, but choosing a win32 console application and pointing to the 32-bit platform folder in "Additional Library Directories"
6 Replies
- jhericoAdventurerVisual Studio Express does not contain the ATL libraries which the SDK is depending on. It's quite irritating since the library is only being used for wide string to ascii conversion (and/or vice versa). It's been previously reported.
- cyberealityGrand ChampionYes, I brought this up before with the team and I was told it should be possible to remove the dependency.
Let me see what I can find out. - stolkHonored Guest
"sbf0202" wrote:
I'm trying to implement SDK 0.4 in Microsoft Visual Studio Express 2013 (Windows Desktop). I set up my project using the "Minimal Oculus Application" tutorial that cybereality wrote.
When I tried building the project, I got the following error:Error 1 error LNK1104: cannot open file 'atls.lib' d:\documents\visual studio 2013\Projects\OculusTest\ConsoleApplication1\LINK OculusTest
Where would I find this library? Also, I'm running a 64-bit machine, but choosing a win32 console application and pointing to the 32-bit platform folder in "Additional Library Directories"
I fixed it by installing windows driver kit.
The ISO can be downloaded from microsoft.
You need to fix header path and linker path in your project file after installing, so that they point to the driver kit dirs.
Bram - GomotoHonored GuestSadly the problem persits in version 0.4.1
(I am using VS 2012 Express on Windows 7)
The dependency should be removed in the next version please.
Which version of the WDK did you download?
Can you elaborate a little on your workaround. Thank you very much.
I would really like to start some coding on Win 7 VS 2012 Express or on my Linux Box while waiting for my DK2. But no luck with SDK 0.4 yet. - GomotoHonored GuestThere is additional info available on the WDK workaround on the wiki. (Tutorial)
- cyberealityGrand ChampionThe work around is on the wiki here:
https://developer.oculus.com/wiki/Minimal_Oculus_Application_0.4.1#Project_Configuration
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
- 2 months ago
- 7 years ago
- 7 months ago