From 47f9e77aec90aa6559a5780395cfdb85172c97b5 Mon Sep 17 00:00:00 2001 From: Cheng Date: Wed, 21 Feb 2024 02:28:11 +0000 Subject: [PATCH] I discovered I was relying on a Microsoft idiosyncracy, that by default it searches for header files in the source directory as well as on the include line - which is very nice but non standard and breaks every other build system, resulting in incomprehensible and misleading error messages that send one down a hundred rabbit holes. --- msvc/wallet.vcxproj | 2 +- msvc/{wxConfig.bat => wx_msvc_Debug.bat} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename msvc/{wxConfig.bat => wx_msvc_Debug.bat} (100%) diff --git a/msvc/wallet.vcxproj b/msvc/wallet.vcxproj index a417628..b176aa9 100644 --- a/msvc/wallet.vcxproj +++ b/msvc/wallet.vcxproj @@ -43,7 +43,7 @@ true - ..\wxWidgets\include\msvc;..\wxWidgets\include;..\libsodium\src\libsodium\include;..\mpir;$(IncludePath) + ..\wxWidgets\include\msvc;..\wxWidgets\include;..\libsodium\src\libsodium\include;..\mpir;..\src;$(IncludePath) ..\wxWidgets\lib\vc_x64_lib\;..\libsodium\bin\x64\Debug\v143\static;..\mpir\lib\x64\Debug;$(LibraryPath) ..\build\$(Configuration)\ diff --git a/msvc/wxConfig.bat b/msvc/wx_msvc_Debug.bat similarity index 100% rename from msvc/wxConfig.bat rename to msvc/wx_msvc_Debug.bat