From f31a10a39ec3078a7506cc2ac2da9e7cbff8ef0b Mon Sep 17 00:00:00 2001 From: srcejon <57259258+srcejon@users.noreply.github.com> Date: Fri, 21 May 2021 10:15:47 +0100 Subject: [PATCH] Updated Compile in Windows (markdown) --- Compile-in-Windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compile-in-Windows.md b/Compile-in-Windows.md index 34b63cc..d3d89cc 100644 --- a/Compile-in-Windows.md +++ b/Compile-in-Windows.md @@ -39,4 +39,4 @@ To debug using Visual Studio, run: ## Notes -MSVC compiles std::string incompatibly for Release and Debug builds, which means you can't mix different builds of libraries that include std::string in their APIs such as the DAB and UHD libraries. DAB lib is built with SDRangel, so not a problem, but there's currently only a Release build of uhd.dll in the sdrangel-windows-externals repo. This will cause an exception if used with a Debug build of SDRangel. As a workaround, you'll need to either delete uhd.dll before debugging, or replace it with a Debug version you've built. +MSVC compiles std::string incompatibly for Release and Debug builds, which means you can't mix different builds of libraries that include std::string in their APIs such as the UHD library. There's currently only a Release build of uhd.dll in the sdrangel-windows-externals repo. This will cause an exception if used with a Debug build of SDRangel. As a workaround, you'll need to either delete uhd.dll before debugging, or replace it with a Debug version you've built.