Forum Discussion

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

Visual Studio 2012 crash trying to build 0.7 LibOVRKernel.

Is anyone else having trouble building SDK 0.7 LibOVRKernel with VS 2012?

I'm running Windows 8.1 and Visual Studio 2012 Update 5. Using the VS project files in \Samples\Projects\Windows\VS2012 trying to build LibOVRKernel just kills Visual Studio. I ended up setting up a clean VM with just Windows 8.1 fully updated and Visual Studio, same problem.

Even running a clean on the project crashes VS. Extracting a fresh copy of the SDK from the .zip file, opening up the VS 2012 project file and running Clean Solution also crashes VS.

Does this sound familiar to anyone?

It builds fine in VS 2013.

4 Replies

  • Anonymous's avatar
    Anonymous
    Can you confirm the update you have installed for 2012? The last one available is update 4.
  • When you say "crashes VS," what specifically happens? Is it an Internal Compiler Error? Usually such ICEs are the result of a single line of code that the compiler chokes on, though other code may be contributing to creating the problem. Can you narrow down what source file causes this, and possibly what line of code?
  • Hi,

    As things were crashing I went on an update rampage, didn't realize that VS 2012 Update 5 was so new:
    https://support.microsoft.com/en-us/kb/3072098

    The IDE crashes, even when I try to do this:

    - Open the project file in \Samples\Projects\Windows\VS2012
    - Right click on the LibOVRKernel project, which is set as the startup project.
    - Select Project Only/Clean Only LibOVRKernel

    Same thing when I try Build Only LibOVRKernel.

    It seems to crash just after creating the relevant .lib file, so that is something, I haven't had time to check if this is corrupt or not. And it still makes exploring the sample code a bit of a pain, could switch to VS 2013 for now but I need it to work in VS 2012 eventually.

    This is in a clean VM, all it has is Windows 8.1 fully updated and VS 2012, 2013 and 2015 fully updated. I have the files in a path without spaces, there are no strange characters in the path, etc.

    This might not be super helpful, but this is a screenshot of where it all stops.

    Windows 8.png
  • broozar's avatar
    broozar
    Honored Guest
    i successfully built 0.7 libOVRKernel with VS 2012 Update 5 on Win8.1 this morning. I get a different crash though: As soon as I finish compiling the TinyRoom sample, VS crashes trying to launch the exe. Executing the exe manually works though, so for me it's just the step between compiling and running, not the compilation or game execution itself.