Hallo,
wie der Titel sagt hab ich vor Python in C++ (Konsolen-Anwendung) einzubinden (wenn man das so überstetzen kann). Also leg ich mir einfach C++-Projekt an und wie im Tutorial (python.org/doc/ext/embedding.html) inkludiere ich die Python.h (aus dem python-include-ordner c:\python25\include) wiefolgt:
Und dann kommt da der Fehler:
Es wär cool wenn mir jemand sagen kann wieso die Datei nicht existiert und vielleicht auch wo ich die her krieg...
Danke im Vorraus.
PS: Ich benutzte VC++ 2005 EE. Und geGoog'elt hab ich schon.
wie der Titel sagt hab ich vor Python in C++ (Konsolen-Anwendung) einzubinden (wenn man das so überstetzen kann). Also leg ich mir einfach C++-Projekt an und wie im Tutorial (python.org/doc/ext/embedding.html) inkludiere ich die Python.h (aus dem python-include-ordner c:\python25\include) wiefolgt:
Und dann kommt da der Fehler:
Es ist nich schwer zu erraten was da falsch läuft. Nur wo bekomm ich die Header-Datei her?c:\dokumente und einstellungen\codework\eigene dateien\visual studio 2005\projects\python\python\pyconfig.h(189) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "basetsd.h": No such file or directory
Es wär cool wenn mir jemand sagen kann wieso die Datei nicht existiert und vielleicht auch wo ich die her krieg...
Danke im Vorraus.
PS: Ich benutzte VC++ 2005 EE. Und geGoog'elt hab ich schon.