How I resolved problems on Windows 10 and Visual Studio 2019 Community Edition

I had two issues not discussed in the lecture:

  1. Installing DirectX SDK ended in an error - I had to uninstall previous VC++ 2010 Runtimes (both x86 and x64) and then it succeeded
  2. After resolving include and lib paths, I was getting C1001 internal compiler error. I tried updating VS but that didn’t work. The solution was to change the Platform Toolset to Visual Studio 2015 (V140)

After that, I got the example to compile and run.

6 Likes

Thanks for sharing. This is tricky to resolve and any suggestions for less experienced developers is greatly appreciated.

1 Like

if you prefer toolset to vs 2019, apply the same instruction and select this:
C/C++ → Code Generation → Enable Minimal Rebuild: No(/Gm-)

2 Likes

That worked! Thanks!

1 Like

@Nenad_Miodrag Thank you! This was the only thing that worked for me (except I changed the Platform Toolset to Visual Studio 2017).

Big Thanks. I’ve tried all other solutions with no luck. this really solved the issue.

I see, it’s an old thread, but I wanted to thank you for sharing your experience. It’s great to hear that you were able to resolve those issues and get the example to compile and run. It’s always helpful when people share their solutions to problems, so others can benefit from their experience. As an alternative solution for those encountering issues with your programs on Windows 10. Did you know that you can find cheap windows keys from reliable communities? Thus, you can unlock all of the features and capabilities of your operating system and ensure that your programs are running smoothly. This is a great option for those who want to save money while still achieving high-quality performance on their devices.

Privacy & Terms