{"action":"created","issue":{"url":"https://api.github.com/repos/part-cw/lambdanative/issues/94","labels_url":"https://api.github.com/repos/part-cw/lambdanative/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/part-cw/lambdanative/issues/94/comments","events_url":"https://api.github.com/repos/part-cw/lambdanative/issues/94/events","html_url":"https://github.com/part-cw/lambdanative/issues/94","id":129934778,"number":94,"title":"Can't build for ios on El Capitan","user":{"login":"VincentToups","id":31994,"avatar_url":"https://avatars.githubusercontent.com/u/31994?v=3","gravatar_id":"","url":"https://api.github.com/users/VincentToups","html_url":"https://github.com/VincentToups","followers_url":"https://api.github.com/users/VincentToups/followers","following_url":"https://api.github.com/users/VincentToups/following{/other_user}","gists_url":"https://api.github.com/users/VincentToups/gists{/gist_id}","starred_url":"https://api.github.com/users/VincentToups/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincentToups/subscriptions","organizations_url":"https://api.github.com/users/VincentToups/orgs","repos_url":"https://api.github.com/users/VincentToups/repos","events_url":"https://api.github.com/users/VincentToups/events{/privacy}","received_events_url":"https://api.github.com/users/VincentToups/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/part-cw/lambdanative/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-30T03:31:44Z","updated_at":"2016-01-31T13:45:55Z","closed_at":null,"body":"Hi - I've got a large patch adding audio multiplexing to Android/Linux and probably ios. However, all my macs have iOS El Capitan on them and this seems to prevent me from building for ios. \r\n\r\nI get this error:\r\n\r\n`Shelleys-MacBook:lambdanative toups$ ./configure DemoHelloWorld ios debug\r\n==> configured to build DemoHelloWorld for ios in debug mode\r\n == using source in /Users/toups/lambdanative/apps/DemoHelloWorld\r\nShelleys-MacBook:lambdanative toups$ make\r\n=== using profile your profile name here [/Users/toups/lambdanative/PROFILE]..\r\n=== configured to build DemoHelloWorld version 1.0 for ios on macosx in debug mode\r\n\r\n==> checking for required tools..\r\n==> checking for required libraries..\r\n==> checking for lambdanative tools..\r\n => building lambdanative tool pngtool..\r\nlambdanative: 39c5152\r\n==> creating libraries needed for pngtool..\r\n => liblambdanative..\r\n => cleaning up..\r\n => exploding library liblambdanative..\r\n => compiling scheme payload..\r\n    /Users/toups/lambdanative/modules/ln_core/ln_core.scm ..\r\n gcc  -DMACOSX -m64  -D___SINGLE_HOST -D___LIBRARY -D___PRIMAL -DSTANDALONE -c -o /Users/toups/Library/Caches/lambdanative/macosx/armv7/build/2717042989.o /Users/toups/Library/Caches/lambdanative/macosx/armv7/build/2717042989.c -I/Users/toups/Library/Caches/lambdanative/macosx/armv7/include -I/Users/toups/Library/Caches/lambdanative/macosx/armv7/include/freetype2 -I/Users/toups/lambdanative/modules/ln_core\r\nIn file included from /usr/include/Availability.h:168:0,\r\n                 from /usr/include/wchar.h:72,\r\n                 from /Users/toups/Library/Caches/lambdanative/macosx/armv7/include/gambit.h:766,\r\n                 from /Users/toups/Library/Caches/lambdanative/macosx/armv7/build/2717042989.c:910:\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:490:41: error: expected ',' or '}' before '__attribute__'\r\n   kFSEventStreamEventFlagItemIsHardlink __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_9_0) = 0x00100000,\r\n                                         ^\r\nIn file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0,\r\n                 from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,\r\n                 from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,\r\n                 from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,\r\n                 from /Users/toups/Library/Caches/lambdanative/macosx/armv7/build/2717042989.c:6586:\r\n/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:1: error: initializer element is not constant\r\n static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;\r\n ^\r\nERROR: failed on file /Users/toups/Library/Caches/lambdanative/macosx/armv7/build/2717042989.o\r\nBUILD FAILED - configure with verbose option for more information\r\nmake: *** [all] Error 1\r\nShelleys-MacBook:lambdanative toups$ `\r\n\r\nI'm unfortunately at the end of my Mac OSX expertise. I believe we could solve the problem by overriding the CGFont.h header but I'd like your advice about where to put such an override header and what parts of the build need to know about it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/part-cw/lambdanative/issues/comments/177505347","html_url":"https://github.com/part-cw/lambdanative/issues/94#issuecomment-177505347","issue_url":"https://api.github.com/repos/part-cw/lambdanative/issues/94","id":177505347,"user":{"login":"VincentToups","id":31994,"avatar_url":"https://avatars.githubusercontent.com/u/31994?v=3","gravatar_id":"","url":"https://api.github.com/users/VincentToups","html_url":"https://github.com/VincentToups","followers_url":"https://api.github.com/users/VincentToups/followers","following_url":"https://api.github.com/users/VincentToups/following{/other_user}","gists_url":"https://api.github.com/users/VincentToups/gists{/gist_id}","starred_url":"https://api.github.com/users/VincentToups/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincentToups/subscriptions","organizations_url":"https://api.github.com/users/VincentToups/orgs","repos_url":"https://api.github.com/users/VincentToups/repos","events_url":"https://api.github.com/users/VincentToups/events{/privacy}","received_events_url":"https://api.github.com/users/VincentToups/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T13:45:54Z","updated_at":"2016-01-31T13:45:54Z","body":"Thanks for looking into it!\n\nOn Sat, Jan 30, 2016 at 1:29 PM, Matthias Görges <notifications@github.com>\nwrote:\n\n> @VincentToups <https://github.com/VincentToups> okay, I guess it is time\n> to upgrade a machine at work to ElCapitan and do some troubleshooting -\n> might be a day or two, sorry!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/part-cw/lambdanative/issues/94#issuecomment-177268106>\n> .\n>\n"}}