The error didn't really look MFC related, but: Older versions of mfc (e.g. the one that comes with Visual Studio C++ 6) have an EULA that iirc allows app developers to bundle compiled mfc with their apps regardless of platform. It's only newer ones that don't allow that. Also Wine can't ever bundle MFC as it's not an app. That said, why are you trying to use winelib? Why not just use the windows binaries for whatever you're doing? Are you trying to target some non-x86 architecture?