4.1.0 failing in Windows Resource Compiler

Does this type of thing look familiar to anyone?

[137/954] Compiling build\waf\3.6\x64\release\_core.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.

..\..\..\..\..\..\_h_env\Library\include\wx/msw/wx.rc(125) : error RC2188: %SRC_DIR%\build\waf\3.6\x64\release\RCa01492(2) : fatal error RC1116: RC terminating after preprocessor errors


Build failed

I’m encountering it when trying to build the new 4.1.0 conda-forge package at https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=148803&view=logs&j=171a126d-c574-5c8c-1269-ff3b989e923d&t=1e3b5e03-2b58-5acf-49d8-7964b3450f7e&l=4586

I’ve never seen that, but Google hints that it has something to do with the #include statements in the rc file. This is what’s there:

#include <windows.h>

#include "wx/msw/rcdefs.h"

If those were not able to be found I would think there would be problems well before that point in the build, but it’s something to look into anyway.