New submission from Carl Meyer <c...@dirtcircle.com>:

By opening up pcbuild.sln in VS2008 Express, I was able to successfully build 
python and pythonw, but when I tried to build bdist_wininst it failed with 
"Fatal Error RC1015: cannot open include file afxres.h"

Googling turned up a number of comments about how this file is part of MFC, 
which is really not supposed to be used with VS2008. The recommended "fix" that 
seemed to work for most people online was to replace "afxres.h" with 
"windows.h" in the rc file. I did this in PC/bdist_wininst/install.rc, and then 
it failed with a different error about a missing IDC_STATIC token.

I have very little experience with Windows, so it's entirely possible I'm just 
doing something wrong, but I was asked in #python-dev to file a bug here.

----------
components: Build, Windows
messages: 131351
nosy: carljm
priority: normal
severity: normal
status: open
title: missing afxres.h error when building bdist_wininst in Visual Studio 2008 
Express
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11598>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to