{"action":"created","issue":{"url":"https://api.github.com/repos/bjaraujo/Bombermaaan/issues/23","repository_url":"https://api.github.com/repos/bjaraujo/Bombermaaan","labels_url":"https://api.github.com/repos/bjaraujo/Bombermaaan/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/bjaraujo/Bombermaaan/issues/23/comments","events_url":"https://api.github.com/repos/bjaraujo/Bombermaaan/issues/23/events","html_url":"https://github.com/bjaraujo/Bombermaaan/issues/23","id":298101973,"number":23,"title":"How to compile on OSX ?","user":{"login":"frranck","id":2470571,"avatar_url":"https://avatars2.githubusercontent.com/u/2470571?v=4","gravatar_id":"","url":"https://api.github.com/users/frranck","html_url":"https://github.com/frranck","followers_url":"https://api.github.com/users/frranck/followers","following_url":"https://api.github.com/users/frranck/following{/other_user}","gists_url":"https://api.github.com/users/frranck/gists{/gist_id}","starred_url":"https://api.github.com/users/frranck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frranck/subscriptions","organizations_url":"https://api.github.com/users/frranck/orgs","repos_url":"https://api.github.com/users/frranck/repos","events_url":"https://api.github.com/users/frranck/events{/privacy}","received_events_url":"https://api.github.com/users/frranck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-18T17:30:31Z","updated_at":"2018-02-19T20:23:56Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nHow to compile the game on OSX ?\r\n\r\nI installed the correct brew packages and set those variables:\r\nfranck-mac-book-air:trunk franck$ export SDL_LIBRARY=/usr/local/Cellar/sdl2\r\nfranck-mac-book-air:trunk franck$ export SDLDIR=/usr/local/Cellar/sdl2\r\nfranck-mac-book-air:trunk franck$ export SDLNETDIR=/usr/local/Cellar/sdl2_net\r\nfranck-mac-book-air:trunk franck$ export SDLMIXERDIR=/usr/local/Cellar/sdl2_mixer\r\nfranck-mac-book-air:trunk franck$ cmake .\r\nUse SDL only\r\nCMake Error at /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):\r\n  Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)\r\nCall Stack (most recent call first):\r\n  /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)\r\n  /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindSDL.cmake:190 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)\r\n  src/CMakeLists.txt:163 (find_package)\r\n\r\n-- Configuring incomplete, errors occurred!\r\n\r\nAre SDL_LIBRARY and SDL_INCLUDE_DIR env variables too ?\r\n"},"comment":{"url":"https://api.github.com/repos/bjaraujo/Bombermaaan/issues/comments/366794726","html_url":"https://github.com/bjaraujo/Bombermaaan/issues/23#issuecomment-366794726","issue_url":"https://api.github.com/repos/bjaraujo/Bombermaaan/issues/23","id":366794726,"user":{"login":"frranck","id":2470571,"avatar_url":"https://avatars2.githubusercontent.com/u/2470571?v=4","gravatar_id":"","url":"https://api.github.com/users/frranck","html_url":"https://github.com/frranck","followers_url":"https://api.github.com/users/frranck/followers","following_url":"https://api.github.com/users/frranck/following{/other_user}","gists_url":"https://api.github.com/users/frranck/gists{/gist_id}","starred_url":"https://api.github.com/users/frranck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frranck/subscriptions","organizations_url":"https://api.github.com/users/frranck/orgs","repos_url":"https://api.github.com/users/frranck/repos","events_url":"https://api.github.com/users/frranck/events{/privacy}","received_events_url":"https://api.github.com/users/frranck/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T20:23:56Z","updated_at":"2018-02-19T20:23:56Z","author_association":"NONE","body":"Is LOAD_RESOURCES_FROM_FILES an env variable ?\r\n\r\nfranck-mac-book-air:Bombermaaan franck$ export LOAD_RESOURCES_FROM_FILES TRUE\r\n\r\nfranck-mac-book-air:trunk franck$ make clean\r\nfranck-mac-book-air:trunk franck$ make\r\n[ 10%] Building CXX object dep/tinyxml/CMakeFiles/tinyxml.dir/tinystr.cpp.o\r\n[ 20%] Building CXX object dep/tinyxml/CMakeFiles/tinyxml.dir/tinyxml.cpp.o\r\n[ 30%] Building CXX object dep/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o\r\n[ 40%] Building CXX object dep/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o\r\n[ 50%] Linking CXX static library libtinyxml.a\r\n/Volumes/T2/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libtinyxml.a(tinystr.cpp.o) has no symbols\r\n/Volumes/T2/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libtinyxml.a(tinystr.cpp.o) has no symbols\r\n[ 50%] Built target tinyxml\r\n[ 60%] Building C object resgen/CMakeFiles/Bombermaaan32.dir/ResData.c.o\r\n[ 70%] Linking C shared library libBombermaaan32.dylib\r\n[ 70%] Built target Bombermaaan32\r\nScanning dependencies of target ResGen\r\n[ 80%] Building CXX object resgen/CMakeFiles/ResGen.dir/ResGen.cpp.o\r\n[ 90%] Linking CXX executable ResGen\r\n[ 90%] Built target ResGen\r\nScanning dependencies of target Bombermaaan\r\n[100%] Linking CXX executable Bombermaaan\r\nUndefined symbols for architecture x86_64:\r\n  \"_SDL_main\", referenced from:\r\n      -[SDLMain applicationDidFinishLaunching:] in libSDLmain.a(SDLMain.o)\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [src/Bombermaaan] Error 1\r\nmake[1]: *** [src/CMakeFiles/Bombermaaan.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\n"}}
{"actor":{"display_login":"frranck"}}