{"action":"created","issue":{"url":"https://api.github.com/repos/gonetz/GLideN64/issues/461","labels_url":"https://api.github.com/repos/gonetz/GLideN64/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/gonetz/GLideN64/issues/461/comments","events_url":"https://api.github.com/repos/gonetz/GLideN64/issues/461/events","html_url":"https://github.com/gonetz/GLideN64/issues/461","id":72583711,"number":461,"title":"Compile with libpng, zlib and libboost from the system","user":{"login":"sergiobenrocha2","id":5431285,"avatar_url":"https://avatars.githubusercontent.com/u/5431285?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiobenrocha2","html_url":"https://github.com/sergiobenrocha2","followers_url":"https://api.github.com/users/sergiobenrocha2/followers","following_url":"https://api.github.com/users/sergiobenrocha2/following{/other_user}","gists_url":"https://api.github.com/users/sergiobenrocha2/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiobenrocha2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiobenrocha2/subscriptions","organizations_url":"https://api.github.com/users/sergiobenrocha2/orgs","repos_url":"https://api.github.com/users/sergiobenrocha2/repos","events_url":"https://api.github.com/users/sergiobenrocha2/events{/privacy}","received_events_url":"https://api.github.com/users/sergiobenrocha2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-02T04:29:36Z","updated_at":"2015-05-02T18:36:28Z","closed_at":null,"body":"You should have an option to compile with these shared libs instead statically.\r\n\r\nOr build them instead rely on pre-compiled stuff (for amd64 only).\r\n\r\nBtw, you'll get an undefined reference with libpng from the system (1.2.50 on ubuntu 14.04):\r\n\r\n```\r\nundefined symbol: png_set_longjmp_fn\r\n```"},"comment":{"url":"https://api.github.com/repos/gonetz/GLideN64/issues/comments/98384699","html_url":"https://github.com/gonetz/GLideN64/issues/461#issuecomment-98384699","issue_url":"https://api.github.com/repos/gonetz/GLideN64/issues/461","id":98384699,"user":{"login":"sergiobenrocha2","id":5431285,"avatar_url":"https://avatars.githubusercontent.com/u/5431285?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiobenrocha2","html_url":"https://github.com/sergiobenrocha2","followers_url":"https://api.github.com/users/sergiobenrocha2/followers","following_url":"https://api.github.com/users/sergiobenrocha2/following{/other_user}","gists_url":"https://api.github.com/users/sergiobenrocha2/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiobenrocha2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiobenrocha2/subscriptions","organizations_url":"https://api.github.com/users/sergiobenrocha2/orgs","repos_url":"https://api.github.com/users/sergiobenrocha2/repos","events_url":"https://api.github.com/users/sergiobenrocha2/events{/privacy}","received_events_url":"https://api.github.com/users/sergiobenrocha2/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T18:36:28Z","updated_at":"2015-05-02T18:36:28Z","body":"png.h says 1.4.1. I built with 1.4.16, it seems it worked.\r\n\r\nUsing something like this in src/GLideNHQ/CMakeLists.txt:\r\n\r\n```\r\ntarget_link_libraries(GLideNHQ pthread ${CMAKE_CURRENT_SOURCE_DIR}/lib/libpng.a z ${Boost_LIBRARIES} )\r\n```"}}