[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2021-01-11 Thread STINNER Victor


STINNER Victor  added the comment:

The distutils bdist_wininst command has been removed in Python 3.10: see 
bpo-42802.

--
nosy: +vstinner
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-10-01 Thread Cybjit

Cybjit added the comment:

Building bdist_wininst with VS2010 Express also gives RC1015. With this patch 
it works.

--
nosy: +Cybjit

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11598
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-10-01 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
nosy: +steve.dower, tim.golden, zach.ware
type:  - compile error

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11598
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-10-01 Thread Steve Dower

Steve Dower added the comment:

We could add an afxres.h file alongside install.rc that includes the code 
posted by Lorenz Aebi. That will avoid the auto-generation issue, though it may 
be overwritten if VS does actually generate code for it. 

(I had thought that file was generated on project creation and not 
automatically changed after that, but I could be wrong.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11598
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-10-01 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11598
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

You need VS 2010 to build 3.3 see 
https://docs.python.org/devguide/setup.html#windows

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11598
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2013-09-10 Thread Dan Nicholson

Dan Nicholson added the comment:

Like the previous users, I've only got VS Express, so I can't tell exactly what 
happens when you have VS Pro and it generates the install.rc file. However, I 
might as well post this fuller patch, which I think would do the right thing 
since it also fixes the part where the regeneration of the '#include 
afxres.h' would happen.

I've used this in the installer for both 3.3 and 2.7 and not seen any adverse 
effects.

--
keywords: +patch
nosy: +dbn
Added file: http://bugs.python.org/file31718/wininst-no-afxres.h.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11598
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2011-08-02 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +brian.curtin, loewis

___
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



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2011-03-18 Thread Carl Meyer

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



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2011-03-18 Thread Lorenz

Lorenz pyt...@xca.ch added the comment:

replace the afxres.h by the following lines and then it builds:

#include windows.h

#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif

but the problem is, that the 'install.rc' file is generated. Unfortunately I do 
not know how to solve the root cause.

--
nosy: +DaMutz

___
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