{"action":"created","issue":{"url":"https://api.github.com/repos/glennrp/libpng/issues/178","repository_url":"https://api.github.com/repos/glennrp/libpng","labels_url":"https://api.github.com/repos/glennrp/libpng/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/glennrp/libpng/issues/178/comments","events_url":"https://api.github.com/repos/glennrp/libpng/issues/178/events","html_url":"https://github.com/glennrp/libpng/issues/178","id":256325665,"number":178,"title":"CMake build failing when cross compiling to Android NDK","user":{"login":"rcdailey","id":1768054,"avatar_url":"https://avatars2.githubusercontent.com/u/1768054?v=4","gravatar_id":"","url":"https://api.github.com/users/rcdailey","html_url":"https://github.com/rcdailey","followers_url":"https://api.github.com/users/rcdailey/followers","following_url":"https://api.github.com/users/rcdailey/following{/other_user}","gists_url":"https://api.github.com/users/rcdailey/gists{/gist_id}","starred_url":"https://api.github.com/users/rcdailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcdailey/subscriptions","organizations_url":"https://api.github.com/users/rcdailey/orgs","repos_url":"https://api.github.com/users/rcdailey/repos","events_url":"https://api.github.com/users/rcdailey/events{/privacy}","received_events_url":"https://api.github.com/users/rcdailey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-08T17:47:36Z","updated_at":"2017-09-11T14:41:29Z","closed_at":null,"author_association":"NONE","body":"On `master`, I am not able to build on Android. Here is the error I get:\r\n\r\n```\r\n-- [1/64] Generating pngprefix.h\r\n[2/64] Generating scripts/symbols.out\r\nFAILED: scripts/symbols.out\r\ncmd.exe /C \"cd /D E:\\code\\frontend\\android_release\\third_party\\build\\libpng && \"E:\\Program Files\\CMake\\bin\\cmake.exe\" -DINPUT=E:/code/frontend/source/Core/ThirdParty/libpng/source/scripts/symbols.c -DOUTPUT=E:/code/frontend/android_release/third_party/build/libpng/scripts/symbols.out -P E:/code/frontend/android_release/third_party/build/libpng/scripts/genout.cmake\"\r\nclang.exe: warning: argument unused during compilation: '-mfloat-abi=softfp' [-Wunused-command-line-argument]\r\nclang.exe: warning: argument unused during compilation: '-mfpu=vfpv3-d16' [-Wunused-command-line-argument]\r\nclang.exe: warning: argument unused during compilation: '-mthumb' [-Wunused-command-line-argument]\r\nclang.exe: warning: argument unused during compilation: '-Wa,--noexecstack' [-Wunused-command-line-argument]\r\nerror: unknown target CPU 'armv7-a'\r\nCMake Error at scripts/genout.cmake:78 (message):\r\n  Failed to generate\r\n  E:/code/frontend/android_release/third_party/build/libpng/scripts/symbols.out.tf1\r\n```\r\n\r\nI'm targetting `armeabi-v7a` using `clang` compiler. My NDK is r15b. I'm using the toolchain file provided by the NDK itself.\r\n\r\n@glennrp Please let me know if this is an issue in your CMake scripts. If so, I am happy to help contribute any changes needed. I'm not sure what the problem is at this point."},"comment":{"url":"https://api.github.com/repos/glennrp/libpng/issues/comments/328550964","html_url":"https://github.com/glennrp/libpng/issues/178#issuecomment-328550964","issue_url":"https://api.github.com/repos/glennrp/libpng/issues/178","id":328550964,"user":{"login":"glennrp","id":1554150,"avatar_url":"https://avatars1.githubusercontent.com/u/1554150?v=4","gravatar_id":"","url":"https://api.github.com/users/glennrp","html_url":"https://github.com/glennrp","followers_url":"https://api.github.com/users/glennrp/followers","following_url":"https://api.github.com/users/glennrp/following{/other_user}","gists_url":"https://api.github.com/users/glennrp/gists{/gist_id}","starred_url":"https://api.github.com/users/glennrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennrp/subscriptions","organizations_url":"https://api.github.com/users/glennrp/orgs","repos_url":"https://api.github.com/users/glennrp/repos","events_url":"https://api.github.com/users/glennrp/events{/privacy}","received_events_url":"https://api.github.com/users/glennrp/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T14:41:29Z","updated_at":"2017-09-11T14:41:29Z","author_association":"OWNER","body":"Right, \"master\" won't be updated until 1.6.33 is released."}}
{"actor":{"display_login":"glennrp"}}