I had a similar problem to a previous poster about include files, and learned that NVIDIA's headers usually aren't supposed to be installed system wide (neither NVIDIA's installer nor Debian's nvidia-glx install them in locations that would be automatically found); the problem I had was with an old version of MESA's headers that didn't define everything. 'apt-get install xlibmesa-gl-dev' (to upgrade it) fixed that problem.

But now I've got another problem:


In file included from soyapyrex.c:13:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"

I solved this by editing soyapyrex.c directly and doing what the #error messages say. I don't know enough about pyrex to try to fix this in freetype.pxd...

After that and install libcal3d-dev, it built successfully and gave me so files that I could import and dir()! :-)

--
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+           http://radix.twistedmatrix.com/

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to