DSPFilters icon indicating copy to clipboard operation
DSPFilters copied to clipboard

Not compilable with Visual Studio 2019

Open KrisTiasMusic opened this issue 4 years ago • 2 comments

Hey DSP community,

I currently have a problem compiling with Visual Studio 2019 that causes the following error message:

Severity Code Description Project File Line Suppression State Error MSB8020 The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". DSPFiltersDemo C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets 379

These build tools are not available for VS 2019. Is support for Visual Studio 2019 expected in the foreseeable future? I'd love to do this myself, but I'm too inexperienced in C++ to do it on my own.

KrisTiasMusic avatar Dec 04 '19 07:12 KrisTiasMusic

Open a new project in Visual Studio 2019 and then add the folders manually. Or just copy all header and source files in one directory, edit the includes appropriately and compile.

Rakib1503052 avatar Sep 26 '21 23:09 Rakib1503052

Follow the instructions in the error message:

... you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution.

There are some additional problems with tr1-compatibility, Just map the tr1 namespace to std (VS 2019 no longer has this problem). And some minor problems with broken syntax (convert the "zero length array" declaration to a pointer declaration). Other than that it seems to work fine.

rerdavies avatar Jan 08 '22 18:01 rerdavies