Hot Door CORE Forum

Full Version: Cannot compile Panel sample for AI 28, Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed CORE 0.82, and all Mac projects compile fine after updating code for annotations.

For Windows, I upgraded from Visual Studio 2015 to 2022 (Windows 10), then tried to compile the Panel sample project for AI 28 Release. It failed with an error:

Severity Code Description Project File Line Suppression State

Error RC1015 cannot open include file 'afxres.h'. PanelSample-28 \Development\CORE\hdi_core\Resources\hdicoreaipPiPL.rc 1 


I searched the internet for missing afxres.h and found suggestions to install Windows 10 SDK, which I did, but it didn't help.

=======

Solution: Some components are not installed by default and not included in the Windows 10 SDK. You'll have to go to the installer again, click the Modify button, then look for one of the components whose Installation Details includes C++ for MFC for latest v143 build tools.