Compiling extension for 2.0b1

howard at eegsoftware.com howard at eegsoftware.com
Sat Sep 16 13:00:39 EDT 2000


On Thu, 14 Sep 2000 18:42:23 GMT, howard at eegsoftware.com wrote:

>I am getting compile errors trying to compile a SWIG 1.1 extension to
>work with 2.0b1.
>
>The errors look like:
>
>Compiling...
>pycdx3_wrap.cxx
>D:\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894:
>templates cannot be declared to have 'C' linkage
>D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(700) : error C2733:
>second C linkage of overloaded function 'wmemchr' not allowed
>        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(699) : see
>declaration of 'wmemchr'
>D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(702) : error C2733:
>second C linkage of overloaded function 'wcschr' not allowed
>        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(701) : see
>declaration of 'wcschr'
>D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(704) : error C2733:
>second C linkage of overloaded function 'wcspbrk' not allowed
>        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(703) : see
>declaration of 'wcspbrk'
>D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(706) : error C2733:
>second C linkage of overloaded function 'wcsrchr' not allowed
>        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(705) : see
>declaration of 'wcsrchr'
>D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(708) : error C2733:
>second C linkage of overloaded function 'wcsstr' not allowed
>        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(707) : see
>declaration of 'wcsstr'
>
>Any clues?
>
>Thanks
>Howard Lightstone
>EEGSoftware
>howard at eegsoftware.com


Following up...I also cannot compile the 2.0b1 PC example_nt sample.
It reports "unable to find include file Python.h".  It IS there of
course, so what could be wrong with my setup?

Python 2.0b1 rebuilt OK from source!!


Howard Lightstone
EEGSoftware
howard at eegsoftware.com



More information about the Python-list mailing list