Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
sbf0202's avatar
sbf0202
Honored Guest
11 years ago

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:

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

  • Visual 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.
  • Yes, 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.
  • stolk's avatar
    stolk
    Honored 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
  • Gomoto's avatar
    Gomoto
    Honored Guest
    Sadly 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.
  • Gomoto's avatar
    Gomoto
    Honored Guest
    There is additional info available on the WDK workaround on the wiki. (Tutorial)