Skip to main content
Up and Coming
August 8, 2014

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

    Inspiring
    August 8, 2014
    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.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Inspiring
    August 9, 2014
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    August 18, 2014
    "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
    Up and Coming
    August 31, 2014
    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.
    Up and Coming
    August 31, 2014
    There is additional info available on the WDK workaround on the wiki. (Tutorial)
    Inspiring
    September 1, 2014
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV