{"action":"created","issue":{"url":"https://api.github.com/repos/ptitSeb/friking-shark/issues/21","repository_url":"https://api.github.com/repos/ptitSeb/friking-shark","labels_url":"https://api.github.com/repos/ptitSeb/friking-shark/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/ptitSeb/friking-shark/issues/21/comments","events_url":"https://api.github.com/repos/ptitSeb/friking-shark/issues/21/events","html_url":"https://github.com/ptitSeb/friking-shark/issues/21","id":377280841,"node_id":"MDU6SXNzdWUzNzcyODA4NDE=","number":21,"title":"amigaos4 build","user":{"login":"kas1e","id":664776,"node_id":"MDQ6VXNlcjY2NDc3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/664776?v=4","gravatar_id":"","url":"https://api.github.com/users/kas1e","html_url":"https://github.com/kas1e","followers_url":"https://api.github.com/users/kas1e/followers","following_url":"https://api.github.com/users/kas1e/following{/other_user}","gists_url":"https://api.github.com/users/kas1e/gists{/gist_id}","starred_url":"https://api.github.com/users/kas1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kas1e/subscriptions","organizations_url":"https://api.github.com/users/kas1e/orgs","repos_url":"https://api.github.com/users/kas1e/repos","events_url":"https://api.github.com/users/kas1e/events{/privacy}","received_events_url":"https://api.github.com/users/kas1e/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":68,"created_at":"2018-11-05T07:34:40Z","updated_at":"2018-12-05T13:57:21Z","closed_at":null,"author_association":"NONE","body":"Hi !\r\nTried to build SDL2 version for amigaos4 , and tryint to use CMAKE as i am on crosscompiler, so can use that one.\r\n\r\nThat what i tried:\r\n\r\ncd friking-shark-master\r\n\r\nmkdir build\r\ncd build\r\ncmake \\\r\n-DCMAKE_SYSTEM_NAME=Generic \\\r\n-DCMAKE_SYSTEM_VERSION=1 \\\r\n-DSDL=ON \\\r\n-DCMAKE_C_COMPILER=\"/usr/local/amiga/bin/ppc-amigaos-gcc\" \\\r\n-DCMAKE_CXX_COMPILER=\"/usr/local/amiga/bin/ppc-amigaos-g++\" \\\r\n-DCMAKE_LINKER=\"/usr/local/amiga/bin/ppc-amigaos-ld\" \\\r\n-DCMAKE_AR=\"/usr/local/amiga/bin/ppc-amigaos-ar\" \\\r\n-DCMAKE_RANLIB=\"/usr/local/amiga/bin/ppc-amigaos-ranlib\" \\\r\n-DCMAKE_FIND_ROOT_PATH=\"/usr/local/amiga/ppc-amigaos/\" \\\r\n-DZLIB_INCLUDE_DIR=\"/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/\" \\\r\n-DZLIB_LIBRARY=\"/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libz.a\" \\\r\n-DPNG_PNG_INCLUDE_DIR=\"/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/libpng12/\" \\\r\n-DPNG_LIBRARY=\"/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libpng12.a\" \\\r\n-DOPENGL_gl_LIBRARY=\"libgl4es.a\" \\\r\n-DOPENAL_LIBRARY=\"/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libopenal.a\" \\\r\n-DOPENAL_INCLUDE_DIR=\"/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/AL/\" \\\r\n-DTIFF_INCLUDE_DIR=\"/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/\" \\\r\n-DTIFF_LIBRARY=\"/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libtiff.a\" \\\r\n-DJPEG_INCLUDE_DIR=\"/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/\" \\\r\n-DJPEG_LIBRARY=\"/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libjpeg_8b.a\" \\\r\n..\r\n\r\nIt the says :\r\n\r\nCMake Error at CMakeLists.txt:21 (FIND_PACKAGE):\r\n  By not providing \"FindSDL2.cmake\" in CMAKE_MODULE_PATH this project has\r\n  asked CMake to find a package configuration file provided by \"SDL2\", but\r\n  CMake did not find one.\r\n\r\n  Could not find a package configuration file provided by \"SDL2\" with any of\r\n  the following names:\r\n\r\n    SDL2Config.cmake\r\n    sdl2-config.cmake\r\n\r\n  Add the installation prefix of \"SDL2\" to CMAKE_PREFIX_PATH or set\r\n  \"SDL2_DIR\" to a directory containing one of the above files.  If \"SDL2\"\r\n  provides a separate development package or SDK, be sure it has been\r\n  installed.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\n\r\n\r\nI tried to remove from CMakeList.txt : FIND_PACKAGE(SDL2 REQUIRED)  (as i will link everything manually at end anyway), so , it then cry about non possibility to build shared versions and will use static instead (that ok), but then at end:\r\n\r\nCMake Error: The following variables are used in this project, but they are set to NOTFOUND.\r\nPlease set them or make sure they are set and tested correctly in the CMake files:\r\n\r\nXINERAMA_LIBRARY\r\n    linked by target \"GameGraphics\" in directory /d/friking-shark-master\r\nXRANDR_LIBARY\r\n    linked by target \"GameGraphics\" in directory /d/friking-shark-master\r\n\r\n-- Configuring incomplete, errors occurred!\r\n\r\nI probably can set them to some void nulls , but probably they need to be removed from CMake if \"-DSDL=ON\" is used ?"},"comment":{"url":"https://api.github.com/repos/ptitSeb/friking-shark/issues/comments/444493628","html_url":"https://github.com/ptitSeb/friking-shark/issues/21#issuecomment-444493628","issue_url":"https://api.github.com/repos/ptitSeb/friking-shark/issues/21","id":444493628,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDQ5MzYyOA==","user":{"login":"kas1e","id":664776,"node_id":"MDQ6VXNlcjY2NDc3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/664776?v=4","gravatar_id":"","url":"https://api.github.com/users/kas1e","html_url":"https://github.com/kas1e","followers_url":"https://api.github.com/users/kas1e/followers","following_url":"https://api.github.com/users/kas1e/following{/other_user}","gists_url":"https://api.github.com/users/kas1e/gists{/gist_id}","starred_url":"https://api.github.com/users/kas1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kas1e/subscriptions","organizations_url":"https://api.github.com/users/kas1e/orgs","repos_url":"https://api.github.com/users/kas1e/repos","events_url":"https://api.github.com/users/kas1e/events{/privacy}","received_events_url":"https://api.github.com/users/kas1e/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T13:57:21Z","updated_at":"2018-12-05T13:57:21Z","author_association":"NONE","body":"Yeah,files there, and they seems found , just error maybe spawns when its in reality didnt read it ? Will recheck it now with printfs and stuff. But imho reading of gcm files not endian aware"}}
{"actor":{"display_login":"kas1e"}}