pythonwin - python1.5/1.4 problem

Robert Kiendl rkiendl at gmx.net
Fri May 5 05:07:56 EDT 2000


hi 

i am trying to compile current pythonwin sources with
python1.5.2-headers on VC++6.0. i quickly get the following errors. 

if i try to fix single inconsistences i don't come an end.

is there a newer pythonwin-source which doesn't rely on
python1.4-headers ?

i also have the problem of access error crashes when loading
release-win32ui.pyd with release-python15.dll in a debug-myapp (while
release-win32gui.pyd and other win32-pyd's load properly)
maybe there are common reasons of those problems?

robert



--------------------Configuration: win32ui - Win32
Debug--------------------
Compiling...
stdafx.cpp
h:\src\pythonwin\win32ui.h(31) : error C2371: 'PyObject' : redefinition;
different basic types
        h:\program files\python\include\object.h(116) : see declaration
of 'PyObject'
h:\src\pythonwin\win32assoc.h(38) : error C2504: 'ui_base_class' : base
class undefined
h:\src\pythonwin\win32assoc.h(41) : error C2061: syntax error :
identifier 'ui_type'
h:\src\pythonwin\win32assoc.h(50) : error C2061: syntax error :
identifier 'ui_type'
h:\src\pythonwin\win32assoc.h(51) : error C2061: syntax error :
identifier 'ui_type'
h:\src\pythonwin\win32assoc.h(64) : error C2146: syntax error : missing
';' before identifier 'type'
h:\src\pythonwin\win32assoc.h(64) : error C2501: 'type' : missing
storage-class or type specifiers
h:\src\pythonwin\win32assoc.h(86) : error C2061: syntax error :
identifier 'ui_type'
h:\src\pythonwin\win32assoc.h(88) : error C2146: syntax error : missing
';' before identifier 'type'
h:\src\pythonwin\win32assoc.h(88) : error C2501: 'type' : missing
storage-class or type specifiers
h:\src\pythonwin\win32cmd.h(22) : error C2146: syntax error : missing
';' before identifier 'type'
h:\src\pythonwin\win32cmd.h(22) : error C2501: 'type' : missing
storage-class or type specifiers
h:\src\pythonwin\win32app.h(12) : error C2146: syntax error : missing
';' before identifier 'type'
h:\src\pythonwin\win32app.h(12) : error C2501: 'type' : missing
storage-class or type specifiers
h:\src\pythonwin\win32app.h(14) : warning C4518: 'static void ' :
storage-class or type specifier(s) unexpected here; ignored
h:\src\pythonwin\win32app.h(14) : error C2146: syntax error : missing
';' before identifier 'cleanup'
h:\src\pythonwin\win32app.h(54) : error C2065: 'RETURN_ERR' : undeclared
identifier
Error executing cl.exe.

win32ui.pyd - 16 error(s), 1 warning(s)



More information about the Python-list mailing list