Windows target?

I have a deadline and need to compile to the Windows target. It used to work just fine.
I had to reinstall Windows recently and now I see there is “Visual Studio 2019” and I can’t find Win32 (whatever that is) and anyway, the compilation is not working for me.

" 64bit is not automatically supported for this version of VC"

I tried to look for VS17 but not luck.

Is it supposed to work easily with VS19? What componenet am I missing?

I downloaded all the components for the desktop and now it works.

Just for reference, would you mind listing what those are currently, did you go with VS19 ?

1 Like

Yes, I was unable to find vs17. I looked for the desktop category and installed everything there except duplicates. Is there any way I can check what I installed?

Yes, probably the most convenient way in windows, is to go to “Add or remove programs” in System Settings and select “by installation date” in the “Sort by:” field.

In VS you can go to “Help” -> “About Microsoft Visual Studio” and it gives you a listing of what got installed in there.

Probably there should be an up to date listing of this, maybe even a sticky, somewhere in the forum.
I have had to install on the go and felt such a sticky would be a great help. My doubts always fall around what java thingy I have to install…

Thanks.

1 Like

This is what it says:

Microsoft Visual Studio Community 2019
Version 16.2.4
VisualStudio.16.Release/16.2.4+29230.47
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Community

Visual C++ 2019 00435-60000-00000-AA541
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019 16.2.292.25104
ASP.NET and Web Tools 2019

C# Tools 3.2.1-beta4-19408-03+2fc6a04980f800c59e8ede97e6ae294ff47d666e
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

IncrediBuild Build Acceleration 1.5.0.10
IncrediBuild effectively reduces compilation and development times by up to 90%.

IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

NuGet Package Manager 5.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Test Adapter for Boost.Test 1.0
Enables Visual Studio’s testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test 1.0
Enables Visual Studio’s testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.

Visual Basic Tools 3.2.1-beta4-19408-03+2fc6a04980f800c59e8ede97e6ae294ff47d666e
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake

Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake

I don’t trust this…

This is what I actually clicked under Desktop Development:

MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.22)

Windows 10 SDK (10.0.18362.0)

Just-In-Time debugger

C++ profiling tools

C++ CMake tools for Windows

C++ ATL for v142 build tools (x86 & x64)

Test Adapter for Boost.Test

Test Adapter for Google Test

Live Share

IntelliCode

C++ MFC for v142 build tools (x86 & x64)

C++/CLI support for v142 build tools (14.22)

C++ Modules for v142 build tools (x64/x86 – experimental)

C++ Clang tools for Windows (8.0.0 - x64/x86)

IncrediBuild - Build Acceleration

MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)

MSVC v140 - VS 2015 C++ build tools (v14.00)

As you can see I picked everything under the sun except the seemingly duplicate Windows 10 SDK

I suspect this is did the magic:

MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)

I don’t know

1 Like