Re: Trouble including Python.h

2006-06-23 Thread Tim Roberts
"Marcelo Gosling" <[EMAIL PROTECTED]> wrote: > >Hi, everyone. > >This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. > >I'm having trouble including Python.h in a C file. The following C >code: > >#include "Python.h" > &

Re: Trouble including Python.h

2006-06-23 Thread John Machin
On 24/06/2006 12:14 PM, John Machin wrote: > On 24/06/2006 7:51 AM, Marcelo Gosling wrote: >> I'm having trouble including Python.h in a C file. The following C >> code: >> In file included from ../../Python2.4/include/Python.h:74, >> from

Re: Trouble including Python.h

2006-06-23 Thread John Machin
On 24/06/2006 7:51 AM, Marcelo Gosling wrote: > Hi, everyone. > > This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. > > I'm having trouble including Python.h in a C file. The following C > code: > > #include "Python.h" > > int main() &g

Re: Trouble including Python.h

2006-06-23 Thread Marcelo Gosling
uot; > > or which ever path your python.h is located at > > works for me > > Marcelo Gosling wrote: > > Hi, everyone. > > > > This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. > > > > I'm having trouble including Python.

Re: Trouble including Python.h

2006-06-23 Thread vduber6er
Try #undef _DEBUG #include "C:\Python24\include\python.h" or which ever path your python.h is located at works for me Marcelo Gosling wrote: > Hi, everyone. > > This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. > > I'm having trouble including Python.

Trouble including Python.h

2006-06-23 Thread Marcelo Gosling
Hi, everyone. This is on WinXP SP2, with Python 2.4.3 and DJGPP gcc 4.1.0. I'm having trouble including Python.h in a C file. The following C code: #include "Python.h" int main() { return 0; } when compiled with "gcc -I..\Python2.4\include\", gives more