[Pyrex] Newbie compiler problem

Josiah Carlson jcarlson at uci.edu
Mon Aug 29 20:19:11 CEST 2005


me2lon at freenet.de wrote:
> Hi,
> I'm new to pyrex and  have now tried to get it work properly for some hours.
> I read through several tutorials als also through this mailing list. All 
> went well excet for the
> last step: compiling.
> I'm using Python 2.4.1 / Pyrex 0.9.3 / mingW32  3.2.3
> I've now tried several other versions of  mingW compilers but I keep 
> getting
> this error ( I know that these warnings aren't critical ):

I don't believe your version of mingw is the problem.

> c:\dev-cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Ic:\python24\include 
> -Ic:\pyt
> hon24\PC -c numeric_demo.c -o build\temp.win32-2.4\Release\numeric_demo.o
> 
> numeric_demo.c:8:33: Numeric/arrayobject.h: No such file or directory

> It just seems the compiler doesn't import the header files but i don't 
> know why.
> I'd be pleased if you could help me.


You obviously don't list any paths to the Numeric incldes in your
setup.py , if you did, they would have been listed as a -I... entry. Do
you have the Numeric headers somewhere on your system?

 - Josiah




More information about the Pyrex mailing list