Skip to content

Instantly share code, notes, and snippets.

@mephistobooks
Last active January 4, 2016 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mephistobooks/8647419 to your computer and use it in GitHub Desktop.
Save mephistobooks/8647419 to your computer and use it in GitHub Desktop.
0ad i18n build results.
In file included from ./src/video/quartz/SDL_QuartzGL.m:24:
./src/video/quartz/SDL_QuartzVideo.h:95:5: error: unknown type name 'CGDirectPaletteRef'
CGDirectPaletteRef palette; /* palette of an 8-bit display */
^
In file included from ./src/video/quartz/SDL_QuartzWindow.m:24:
./src/video/quartz/SDL_QuartzVideo.h:95:5: error: unknown type name 'CGDirectPaletteRef'
CGDirectPaletteRef palette; /* palette of an 8-bit display */
^
In file included from ./src/video/quartz/SDL_QuartzWM.m:24:
./src/video/quartz/SDL_QuartzVideo.h:95:5: error: unknown type name 'CGDirectPaletteRef'
CGDirectPaletteRef palette; /* palette of an 8-bit display */
^
1 error generated.
1 error generated.
make: *** [build/SDL_QuartzGL.lo] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [build/SDL_QuartzWindow.lo] Error 1
make: *** [build/SDL_QuartzWM.lo] Error 1
In file included from ./src/video/quartz/SDL_QuartzEvents.m:24:
./src/video/quartz/SDL_QuartzVideo.h:95:5: error: unknown type name 'CGDirectPaletteRef'
CGDirectPaletteRef palette; /* palette of an 8-bit display */
^
In file included from ./src/video/quartz/SDL_QuartzVideo.m:24:
./src/video/quartz/SDL_QuartzVideo.h:95:5: error: unknown type name 'CGDirectPaletteRef'
CGDirectPaletteRef palette; /* palette of an 8-bit display */
^
./src/video/quartz/SDL_QuartzVideo.m:341:19: warning: implicit declaration of function 'CGPaletteCreateDefaultColorPalette' is invalid in C99 [-Wimplicit-function-declaration]
palette = CGPaletteCreateDefaultColorPalette();
^
./src/video/quartz/SDL_QuartzVideo.m:743:37: warning: 'CGDisplayBaseAddress' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
current->pixels = (Uint32*) CGDisplayBaseAddress (display_id);
^
./src/video/quartz/SDL_QuartzVideo.m:31:17: note: 'CGDisplayBaseAddress' declared here
CG_EXTERN void *CGDisplayBaseAddress(CGDirectDisplayID display)
^
./src/video/quartz/SDL_QuartzVideo.m:744:27: warning: 'CGDisplayBytesPerRow' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
current->pitch = CGDisplayBytesPerRow (display_id);
^
./src/video/quartz/SDL_QuartzVideo.m:34:18: note: 'CGDisplayBytesPerRow' declared here
CG_EXTERN size_t CGDisplayBytesPerRow(CGDirectDisplayID display)
^
./src/video/quartz/SDL_QuartzVideo.m:790:14: warning: implicit declaration of function 'CGDisplayCanSetPalette' is invalid in C99 [-Wimplicit-function-declaration]
if ( CGDisplayCanSetPalette (display_id) )
^
./src/video/quartz/SDL_QuartzVideo.m:854:19: warning: 'CGLSetFullScreen' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
err = CGLSetFullScreen (ctx);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:73:17: note: 'CGLSetFullScreen' declared here
extern CGLError CGLSetFullScreen(CGLContextObj ctx) OPENGL_DEPRECATED(10_0, 10_6);
^
./src/video/quartz/SDL_QuartzVideo.m:888:25: warning: implicit conversion from enumeration type 'enum CGImageAlphaInfo' to different enumeration type 'CGBitmapInfo' (aka 'enum CGBitmapInfo') [-Wenum-conversion]
kCGImageAlphaNoneSkipFirst);
^~~~~~~~~~~~~~~~~~~~~~~~~~
./src/video/quartz/SDL_QuartzVideo.m:1052:13: warning: sending 'SDL_QuartzWindowDelegate *' to parameter of incompatible type 'id<NSWindowDelegate>'
[ [ SDL_QuartzWindowDelegate alloc ] init ] ];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:319:44: note: passing argument to parameter 'anObject' here
- (void)setDelegate:(id <NSWindowDelegate>)anObject;
^
./src/video/quartz/SDL_QuartzVideo.m:1104:25: warning: implicit conversion from enumeration type 'enum CGImageAlphaInfo' to different enumeration type 'CGBitmapInfo' (aka 'enum CGBitmapInfo') [-Wenum-conversion]
kCGImageAlphaNoneSkipFirst);
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [build/SDL_QuartzEvents.lo] Error 1
./src/video/quartz/SDL_QuartzVideo.m:1250:9: error: use of undeclared identifier 'CGTableCount'
CGTableCount index;
^
./src/video/quartz/SDL_QuartzVideo.m:1253:20: error: non-object type 'char *(const char *, int)' is not assignable
for (index = first_color; index < first_color+num_colors; index++) {
~~~~~ ^
./src/video/quartz/SDL_QuartzVideo.m:1253:41: warning: ordered comparison between pointer and integer ('char *(*)(const char *, int)' and 'int')
for (index = first_color; index < first_color+num_colors; index++) {
~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
./src/video/quartz/SDL_QuartzVideo.m:1253:72: error: cannot increment value of type 'char *(const char *, int)'
for (index = first_color; index < first_color+num_colors; index++) {
~~~~~^
./src/video/quartz/SDL_QuartzVideo.m:1262:13: warning: implicit declaration of function 'CGPaletteSetColorAtIndex' is invalid in C99 [-Wimplicit-function-declaration]
CGPaletteSetColorAtIndex (palette, color, index);
^
./src/video/quartz/SDL_QuartzVideo.m:1265:36: warning: implicit declaration of function 'CGDisplaySetPalette' is invalid in C99 [-Wimplicit-function-declaration]
return ( CGDisplayNoErr == CGDisplaySetPalette (display_id, palette) );
^
./src/video/quartz/SDL_QuartzVideo.m:1329:34: warning: 'CGDisplayBaseAddress' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
dst = ((Uint8 *)((size_t)CGDisplayBaseAddress (display_id))) + SDL_VideoSurface->offset;
^
./src/video/quartz/SDL_QuartzVideo.m:31:17: note: 'CGDisplayBaseAddress' declared here
CG_EXTERN void *CGDisplayBaseAddress(CGDirectDisplayID display)
^
./src/video/quartz/SDL_QuartzVideo.m:1370:24: warning: implicit declaration of function 'CGDisplayBeamPosition' is invalid in C99 [-Wimplicit-function-declaration]
position = CGDisplayBeamPosition (display_id);
^
./src/video/quartz/SDL_QuartzVideo.m:1559:9: warning: implicit declaration of function 'CGPaletteRelease' is invalid in C99 [-Wimplicit-function-declaration]
CGPaletteRelease(palette);
^
14 warnings and 4 errors generated.
make: *** [build/SDL_QuartzVideo.lo] Error 1
ERROR: SDL build failed
ERROR: Libraries build script failed
Building tinygettext...
~/work/cc/0ad/leper/0ad/libraries/source/tinygettext/src ~/work/cc/0ad/leper/0ad/libraries/source/tinygettext ~/work/cc/0ad/leper/0ad/libraries/osx
~/work/cc/0ad/leper/0ad/libraries/source/tinygettext/src/build ~/work/cc/0ad/leper/0ad/libraries/source/tinygettext/src ~/work/cc/0ad/leper/0ad/libraries/source/tinygettext ~/work/cc/0ad/leper/0ad/libraries/osx
CMake Warning (dev) at CMakeLists.txt:157 (ADD_DEFINITIONS):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/masamac/work/cc/0ad/leper/0ad/libraries/source/tinygettext/src
make: *** No rule to make target `clean'. Stop.
ERROR: tinygettext build failed
ld: '__ZN4L10nD2Ev' in ../../../binaries/system/libengine.a(L10n.o) contains undefined reference for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../../../binaries/system/pyrogenesis] Error 1
make: *** [pyrogenesis] Error 2
$ c++filt __ZN4L10nD2Ev
L10n::~L10n()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment