Contact Info

Crumbtrail

ActiveXperts.com » Support » Serial Port Component » KB Article

Knowledge Base FAQ Item #3300015

 

Q3300015: On compiling your C++ Forms demo, I get the following error: "error MSB8041: MFC libraries are required for this project. Install them from the Visual Studio installer (Individual Components tab) for any toolsets and architectures being used.". What's wrong?

This means, that you have not included the MFC libraries in your Visual Studio installation.

Solution:

  • Insert the Visual Studio installation media
  • Launch the 'Visual Studio Installer'
  • Click on the 'Modify' button
  • Select the 'Individual Components' tab
  • C++ MFC for latest build vXYZ tools (x86 & x64)

After that, rebuild the C++ MFC Forms project

(viewed: 791)