"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"
>
&
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
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
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.
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.
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