Skip to content

Instantly share code, notes, and snippets.

@gerred
Created May 7, 2018 21:34
Show Gist options
  • Save gerred/aed92d4f1e4df69c9dbf874ec937d572 to your computer and use it in GitHub Desktop.
Save gerred/aed92d4f1e4df69c9dbf874ec937d572 to your computer and use it in GitHub Desktop.
~/d/OpenTTD-patches   jgrpp  env CXXFLAGS="--std=gnu++11" CC=/usr/local/bin/gcc-8 CXX=/usr/local/bin/g++-8 ./configure --without-liblzo2 --cpu-type=64
checking awk... awk
detecting OS... OSX
checking build system type... x86_64-apple-darwin17.5.0
checking host system type... x86_64-apple-darwin17.5.0
checking universal build... no
checking build cc... /usr/local/bin/gcc-8
checking host cc... /usr/local/bin/gcc-8
checking build c++... /usr/local/bin/g++-8
checking host c++... /usr/local/bin/g++-8
checking strip... disabled
checking builtin depend... yes
checking makedepend... disabled
forcing cpu-type... 64 bits
detecting SSE... found
checking static... no
checking unicode... no
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... no (use system default)
checking Allegro... OSX, skipping
checking SDL... OSX, skipping
checking COCOA... found
checking whether to enable the Quartz window subdriver... yes
checking Quickdraw window subdriver... disabled (64 bits)
checking GDI video driver... not Windows, skipping
checking dedicated... not selected
checking console application... not Windows, skipping
checking network... found
checking squirrel... found
checking translator... no
checking assert... enabled
checking zlib... found
checking liblzma... found
checking lzo2... disabled
WARNING: liblzo2 was not detected or disabled
WARNING: OpenTTD doesn't require liblzo2, but it does mean that
WARNING: loading old savegames/scenarios will be disabled.
WARNING: We strongly suggest you to install liblzo2.
checking libxdg-basedir... not found
checking libpng... not found
checking freetype2... not found
checking libfontconfig... OSX, skipping
checking icu-lx... not found
checking icu-i18n... not found
checking libtimidity... not found
checking direct-music... not Windows, skipping
checking sort... sort
suppress language errors... no
checking stripping... skipped
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking grfcodec... not found
checking nforenum... not found
detecting ppc970 (G5)... no
checking revision... git detection
checking iconv... found
checking if iconv has non-const inbuf... yes
checking whether to link to iconv... yes
personal home directory... Documents/OpenTTD
shared data directory... /Library/Application\ Support/OpenTTD
installation directory... /
icon theme directory... none
manual page directory... share/man/man6
menu item directory... none
checking bitmath builtins... found
using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DOSX -D_FORTIFY_SOURCE=2 -O1
using CXXFLAGS_BUILD... -flifetime-dse=1 -std=gnu++14
using LDFLAGS_BUILD... -rdynamic
using CFLAGS... -O2 -fomit-frame-pointer -DCUSTOM_ALLOCATOR -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DOSX -D_FORTIFY_SOURCE=2 -DWITH_SSE -DWITH_BITMATH_BUILTINS -isystem/opt/local/include -DNO_QUICKTIME -DUNIX -DWITH_COCOA -DENABLE_COCOA_QUARTZ -DWITH_ZLIB -DWITH_LZMA -I/usr/local/Cellar/xz/5.2.4/include -D_SQ64 -I/Users/gerred/dev/OpenTTD-patches/src/3rdparty/squirrel/include -DWITH_ICONV -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\"Documents/OpenTTD\" -DWITH_SHARED_DIR -DSHARED_DIR=\"/Library/Application\ Support/OpenTTD\" -DGLOBAL_DATA_DIR=\"/usr/local/share/games/openttd\"
using CXXFLAGS... -flifetime-dse=1 -std=gnu++14 --std=gnu++11
using LDFLAGS... -lstdc++ -lc -F/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -lz -L/usr/local/Cellar/xz/5.2.4/lib -llzma -liconv -rdynamic -framework Cocoa
Generating Makefile...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...
admin@kubernetes  ~/d/OpenTTD-patches   jgrpp  env CXXFLAGS="--std=gnu++11" CC=/usr/local/bin/gcc-8 CXX=/usr/local/bin/g++-8 make 2436ms  Mon May 7 15:33:59 2018
[LANG] Compiling strgen/strgen_base.cpp
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:21,
from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
from /Users/gerred/dev/OpenTTD-patches/src/strgen/../os/macosx/osx_stdafx.h:88,
from /Users/gerred/dev/OpenTTD-patches/src/strgen/../stdafx.h:16,
from /Users/gerred/dev/OpenTTD-patches/src/strgen/strgen_base.cpp:12:
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:391:15: error: expected unqualified-id before '^' token
typedef void (^CGPathApplyBlock)(const CGPathElement * element);
^
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:391:15: error: expected ')' before '^' token
typedef void (^CGPathApplyBlock)(const CGPathElement * element);
~^
)
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:393:53: error: 'CGPathApplyBlock' has not been declared
CG_EXTERN void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock CF_NOESCAPE block)
^~~~~~~~~~~~~~~~
make[1]: *** [strgen_base.o] Error 1
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment