compile error on SWIG file

Markus von Ehr markus.vonehr at
Mon Sep 9 10:03:58 CEST 2002


compiling my c-file generated from SWIG
(swig -c -python -o mvelib.c mvelib.i)
with a setup-file, I receive the error:

c:\programme\vc98\include\eh.h(32) : fatal error C1189: #Error: "eh.h
is only for C++!"

Anybody knows what I have to change???

Thanks Markus

from distutils.core import setup, Extension

setup (name = "mvelib",
        version = "1.0",
        maintainer = "Markus von Ehr",
        maintainer_email = "markus.vonehr at",
        description = "mvelib Python module",

        ext_modules = [Extension('mvelib',sources=['mvelib.c'])]

More information about the Python-list mailing list