{"action":"created","issue":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/373","labels_url":"https://api.github.com/repos/freeorion/freeorion/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/freeorion/freeorion/issues/373/comments","events_url":"https://api.github.com/repos/freeorion/freeorion/issues/373/events","html_url":"https://github.com/freeorion/freeorion/issues/373","id":110634132,"number":373,"title":"Compilation failure: zlib/zlib.h: No such file or directory","user":{"login":"Szunti","id":1443881,"avatar_url":"https://avatars.githubusercontent.com/u/1443881?v=3","gravatar_id":"","url":"https://api.github.com/users/Szunti","html_url":"https://github.com/Szunti","followers_url":"https://api.github.com/users/Szunti/followers","following_url":"https://api.github.com/users/Szunti/following{/other_user}","gists_url":"https://api.github.com/users/Szunti/gists{/gist_id}","starred_url":"https://api.github.com/users/Szunti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Szunti/subscriptions","organizations_url":"https://api.github.com/users/Szunti/orgs","repos_url":"https://api.github.com/users/Szunti/repos","events_url":"https://api.github.com/users/Szunti/events{/privacy}","received_events_url":"https://api.github.com/users/Szunti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-09T10:48:24Z","updated_at":"2015-10-09T11:57:07Z","closed_at":null,"body":"Tried to compile master (57819202):\r\n\r\n```\r\n[  0%] Building CXX object CMakeFiles/freeorioncommon.dir/util/DependencyVersions.cpp.o\r\nrepos/freeorion/util/DependencyVersions.cpp:6:23: fatal error: zlib/zlib.h: No such file or directory\r\ncompilation terminated.\r\nCMakeFiles/free[  0%] Building CXX object CMakeFiles/freeorioncommon.dir/util/DependencyVersions.cpp.o\r\n/home/zoli/repos/freeorion/util/DependencyVersions.cpp:6:23: fatal error: zlib/zlib.h: No such file or directory\r\ncompilation terminated.\r\nCMakeFiles/freeorioncommon.dir/build.make:878: recipe for target 'CMakeFiles/freeorioncommon.dir/util/DependencyVersions.cpp.o' failed\r\nmake[2]: *** [CMakeFiles/freeorioncommon.dir/util/DependencyVersions.cpp.o] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/freeorioncommon.dir/all' failed\r\nmake[1]: *** [CMakeFiles/freeorioncommon.dir/all] Error 2\r\nMakefile:149: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\norioncommon.dir/build.make:878: recipe for target 'CMakeFiles/freeorioncommon.dir/util/DependencyVersions.cpp.o' failed\r\nmake[2]: *** [CMakeFiles/freeorioncommon.dir/util/DependencyVersions.cpp.o] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/freeorioncommon.dir/all' failed\r\nmake[1]: *** [CMakeFiles/freeorioncommon.dir/all] Error 2\r\nMakefile:149: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n\r\nI use Archlinux, and have zlib installed. Tried make clean, rerun ccmake and compile, but still got this."},"comment":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/comments/146842846","html_url":"https://github.com/freeorion/freeorion/issues/373#issuecomment-146842846","issue_url":"https://api.github.com/repos/freeorion/freeorion/issues/373","id":146842846,"user":{"login":"Vezzra","id":10279417,"avatar_url":"https://avatars.githubusercontent.com/u/10279417?v=3","gravatar_id":"","url":"https://api.github.com/users/Vezzra","html_url":"https://github.com/Vezzra","followers_url":"https://api.github.com/users/Vezzra/followers","following_url":"https://api.github.com/users/Vezzra/following{/other_user}","gists_url":"https://api.github.com/users/Vezzra/gists{/gist_id}","starred_url":"https://api.github.com/users/Vezzra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vezzra/subscriptions","organizations_url":"https://api.github.com/users/Vezzra/orgs","repos_url":"https://api.github.com/users/Vezzra/repos","events_url":"https://api.github.com/users/Vezzra/events{/privacy}","received_events_url":"https://api.github.com/users/Vezzra/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T11:57:07Z","updated_at":"2015-10-09T11:57:07Z","body":"I've got similar issues on OSX with png.h. Removing the png/ before png.h seems to solve that.\r\n\r\nHowever, I need to update the OSX SDK now, as it doesn't include the zlib headers (which hasn't been an issue until now, as the zlib library has only been required by other, precompiled libraries). I'll go ahead assuming that `#include <zlib.h>` is going to be the form used (as that seems to be what works on Linux too)."}}