pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

#92 asm/types.h breaks build on FreeBSD

Reported anonymously

Inclusion of [asm/types.h] in [src/camera.h] breaks pygame build (SVN version as of 2011-10-04) on FreeBSD, as there is no such header present (might be Linux-specific, I have no idea).

Removing that inclusion from camera.h enables the build to complete, though I can't wouch for the camera module still working, as I don't use it. But pygame itself works.

Excerpt: [...] building 'pygame._camera' extension cc -DNDEBUG -O2 -pipe -march=prescott -Dwchar_t=wchar_t -fno-strict-aliasing -O2 -pipe -march=prescott -Dwchar_t=wchar_t -fno-strict-aliasing -fPIC -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/python3.2mu -c src/_camera.c -o build/temp.freebsd-8.2-STABLE-i386-3.2/src/_camera.o In file included from src/camera.h:21, from src/_camera.c:36: src/doc/camera_doc.h:79 warning: no newline at end of file In file included from src/_camera.c:36: src/camera.h:39:58: error: asm/types.h: No such file or directory error: command 'cc' failed with exit status 1

Status: open Responsible: illume Type: bug Priority: blocker
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 illume

    written

    • Changed responsible from nobody to illume.
    • Changed status from new to open.

    Hey,

    thanks for letting us know. I guess I need an #ifdef linux around that.

    I've pushed a change that hopefully fixes it. Are you able to test the latest source and let me know?

    cheers,

  2. #2 Anonymous

    written

    Sorry for the late reply, wasn't able to get to it sooner until now. As of 2011-10-14, pygame builds now without any issues on FreeBSD 8.2.

    (Generally runs well too, but I can't check the camera module specifically.)

    Thank you for your quick fix.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?