Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

new SDL_image fails to build on darwin #238

Open
FROGGS opened this Issue · 1 comment

1 participant

@FROGGS
Owner

See:
http://www.cpantesters.org/cpan/report/3e3bbfac-b9f0-11e1-92e2-6ae2756b88d3
https://trac.macports.org/ticket/33015

IMG_ImageIO.m: In function 'Create_SDL_Surface_From_CGImage_RGB':
IMG_ImageIO.m:220: error: 'CGFloat' undeclared (first use in this function)

Looks like we need to build libSDL_image-1.2.10 instead of 1.2.11 on darwin prior 10.5.

@FROGGS FROGGS was assigned
@FROGGS
Owner

Mail from Eric Wing (23.02.2011 22:45):
"CGFloat is available in 10.4 (and pretty much since the beginning of OS X I think).
You might need to add a #include for <CoreGraphics/CoreGraphics.h>
Though depending on what you are doing, NSRect might be more appropriate (though in Mac 64-bit and iOS, one is a typedef of the other)."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.