{"action":"created","issue":{"url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/254","repository_url":"https://api.github.com/repos/gerstrong/Commander-Genius","labels_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/254/comments","events_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/254/events","html_url":"https://github.com/gerstrong/Commander-Genius/issues/254","id":155715694,"number":254,"title":"Error building on Raspberry Pi 2","user":{"login":"vanfanel","id":837585,"avatar_url":"https://avatars.githubusercontent.com/u/837585?v=3","gravatar_id":"","url":"https://api.github.com/users/vanfanel","html_url":"https://github.com/vanfanel","followers_url":"https://api.github.com/users/vanfanel/followers","following_url":"https://api.github.com/users/vanfanel/following{/other_user}","gists_url":"https://api.github.com/users/vanfanel/gists{/gist_id}","starred_url":"https://api.github.com/users/vanfanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanfanel/subscriptions","organizations_url":"https://api.github.com/users/vanfanel/orgs","repos_url":"https://api.github.com/users/vanfanel/repos","events_url":"https://api.github.com/users/vanfanel/events{/privacy}","received_events_url":"https://api.github.com/users/vanfanel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-05-19T11:35:47Z","updated_at":"2016-07-25T17:41:49Z","closed_at":null,"body":"I am trying to build on Pi2, but I get this:\r\n\r\n```\r\nIn file included from /home/pi/src/Commander-Genius/src/engine/keen/galaxy/common/ai/platform/CVarPlatform.cpp:8:0:\r\n/home/pi/src/Commander-Genius/src/engine/keen/galaxy/common/ai/platform/CVarPlatform.h: In member function 'virtual void galaxy::CVarPlatform::_ZTv0_n112_N6galaxy12CVarPlatform9serializeER19CSaveGameController(CSaveGameController&)':\r\n/home/pi/src/Commander-Genius/src/engine/keen/galaxy/common/ai/platform/CVarPlatform.h:37:10: internal compiler error: Segmentation fault\r\n     void serialize(CSaveGameController &savedGame)\r\n          ^\r\nPlease submit a full bug report,\r\nwith preprocessed source if appropriate.\r\n```\r\n\r\nI configured CG with these:\r\n\r\n`cmake  -DUSE_SDL2=yes -DBUILD_TARGET=LINUX -DCMAKE_BUILD_TYPE=Release -DDBFUSION=no -DTREMOR=NO -DOPENGL=no -DREFKEEN=no ..\r\n`\r\n\r\nAny idea on what is going on here?"},"comment":{"url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/comments/235026779","html_url":"https://github.com/gerstrong/Commander-Genius/issues/254#issuecomment-235026779","issue_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/254","id":235026779,"user":{"login":"vanfanel","id":837585,"avatar_url":"https://avatars.githubusercontent.com/u/837585?v=3","gravatar_id":"","url":"https://api.github.com/users/vanfanel","html_url":"https://github.com/vanfanel","followers_url":"https://api.github.com/users/vanfanel/followers","following_url":"https://api.github.com/users/vanfanel/following{/other_user}","gists_url":"https://api.github.com/users/vanfanel/gists{/gist_id}","starred_url":"https://api.github.com/users/vanfanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanfanel/subscriptions","organizations_url":"https://api.github.com/users/vanfanel/orgs","repos_url":"https://api.github.com/users/vanfanel/repos","events_url":"https://api.github.com/users/vanfanel/events{/privacy}","received_events_url":"https://api.github.com/users/vanfanel/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T17:41:48Z","updated_at":"2016-07-25T17:41:48Z","body":"With the last tag version (v1953beta) I get the same problems on linking:\r\n\r\n`\r\nLinking CXX executable CGeniusExe\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_ca.cpp.o: In function `CA_CacheMap':\r\nid_ca.cpp:(.text+0xde8): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_ca.cpp.o: In function `CAL_SetupGrFile()':\r\nid_ca.cpp:(.text+0x1fcc): undefined reference to `gDataMapVector'\r\n../lib/GsKit/libGsKit.a(CInput.cpp.o): In function `CInput::resetControls(int)':\r\nCInput.cpp:(.text+0x7310): undefined reference to `gDreamsForceClose'\r\n../lib/GsKit/libGsKit.a(CInput.cpp.o): In function `CInput::pollEvents()':\r\nCInput.cpp:(.text+0x9f34): undefined reference to `gDreamsForceClose'\r\nengine/CMakeFiles/engine.dir/CGameLauncher.cpp.o: In function `StartDreamsEngine::StartDreamsEngine(bool, std::string const&)':\r\nCGameLauncher.cpp:(.text._ZN17StartDreamsEngineC2EbRKSs[_ZN17StartDreamsEngineC5EbRKSs]+0xb4): undefined reference to `vtable for dreams::DreamsEngine'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_rf_a.cpp.o: In function `RFL_MaskForegroundTiles':\r\nid_rf_a.cpp:(.text+0x694): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_rf.cpp.o: In function `RF_MarkTileGraphics':\r\nid_rf.cpp:(.text+0x60c): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_rf.cpp.o: In function `RFL_CheckForAnimTile':\r\nid_rf.cpp:(.text+0x980): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_rf.cpp.o: In function `RFL_AnimateTiles':\r\nid_rf.cpp:(.text+0xdec): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/id_rf.cpp.o: In function `RF_Refresh':\r\nid_rf.cpp:(.text+0x2484): undefined reference to `gpRenderLock'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act1.cpp.o: In function `GrapeThink':\r\nkd_act1.cpp:(.text+0x3e0): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act1.cpp.o: In function `FlowerThink':\r\nkd_act1.cpp:(.text+0x580): undefined reference to `refkeen_compat_kd_play_objoffset'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act1.cpp.o: In function `ChangeFromFlower':\r\nkd_act1.cpp:(.text+0x978): undefined reference to `refkeen_compat_kd_play_objoffset'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act2.cpp.o: In function `ApelClimbThink':\r\nkd_act2.cpp:(.text+0x74): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act2.cpp.o: In function `ApelSlideThink':\r\nkd_act2.cpp:(.text+0xe0): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act2.cpp.o: In function `CartReact':\r\nkd_act2.cpp:(.text+0x3cc): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_act2.cpp.o: In function `ApelThink':\r\nkd_act2.cpp:(.text+0x74c): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_demo.cpp.o: In function `DemoLoop':\r\nkd_demo.cpp:(.text+0x11a0): undefined reference to `gDreamsForceClose'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `KeenGoSleepThink':\r\nkd_keen.cpp:(.text+0x158): undefined reference to `refkeen_compat_kd_play_objoffset'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `KeenSleepThink':\r\nkd_keen.cpp:(.text+0x230): undefined reference to `refkeen_compat_kd_play_objoffset'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `KeenAirReact':\r\nkd_keen.cpp:(.text+0x8fc): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `CheckGrabPole':\r\nkd_keen.cpp:(.text+0x1db4): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `KeenDuckThink':\r\nkd_keen.cpp:(.text+0x2340): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `KeenDropThink':\r\nkd_keen.cpp:(.text+0x2730): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o: In function `KeenPoleThink':\r\nkd_keen.cpp:(.text+0x2824): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_keen.cpp.o:kd_keen.cpp:(.text+0x28f0): more undefined references to `mapFile' follow\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_main.cpp.o: In function `Quit':\r\nkd_main.cpp:(.text+0x320): undefined reference to `gDreamsForceClose'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_play.cpp.o: In function `ClipToEnds':\r\nkd_play.cpp:(.text+0xf00): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_play.cpp.o: In function `ClipToEastWalls':\r\nkd_play.cpp:(.text+0x1008): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_play.cpp.o: In function `ClipToWestWalls':\r\nkd_play.cpp:(.text+0x110c): undefined reference to `mapFile'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_play.cpp.o: In function `CheckKeys.part.6':\r\nkd_play.cpp:(.text+0x2134): undefined reference to `gDreamsForceClose'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_play.cpp.o: In function `PlayLoopRun()':\r\nkd_play.cpp:(.text+0x24b4): undefined reference to `gDreamsForceClose'\r\nengine/refkeen/kdreams/CMakeFiles/refkeen_kdreams.dir/kd_play.cpp.o: In function `GameLoop':\r\nkd_play.cpp:(.text+0x26e4): undefined reference to `gDreamsForceClose'\r\nengine/refkeen/CMakeFiles/refkeen.dir/be_cross_fs.cpp.o: In function `BE_Cross_open_for_reading':\r\nbe_cross_fs.cpp:(.text+0x16c): undefined reference to `dreamsengine_datapath'\r\nengine/refkeen/CMakeFiles/refkeen.dir/be_cross_fs.cpp.o: In function `BE_Cross_open_for_overwriting':\r\nbe_cross_fs.cpp:(.text+0x180): undefined reference to `dreamsengine_datapath'\r\nengine/refkeen/CMakeFiles/refkeen.dir/be_cross_fs.cpp.o: In function `BE_Cross_load_embedded_rsrc_to_mem':\r\nbe_cross_fs.cpp:(.text+0x32c): undefined reference to `dreamsengine_datapath'\r\nengine/refkeen/CMakeFiles/refkeen.dir/be_st_sdl_graphics.cpp.o: In function `BE_ST_SetScreenMode':\r\nbe_st_sdl_graphics.cpp:(.text+0xf8c): undefined reference to `gpRenderLock'\r\nbe_st_sdl_graphics.cpp:(.text+0xfb0): undefined reference to `gDreamsEngine'\r\ncollect2: error: ld returned 1 exit status\r\ndistcc[18403] ERROR: compile (null) on localhost failed\r\nsrc/CMakeFiles/CGeniusExe.dir/build.make:787: recipe for target 'src/CGeniusExe' failed\r\nmake[2]: *** [src/CGeniusExe] Error 1\r\nCMakeFiles/Makefile2:161: recipe for target 'src/CMakeFiles/CGeniusExe.dir/all' failed\r\nmake[1]: *** [src/CMakeFiles/CGeniusExe.dir/all] Error 2\r\nMakefile:137: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\n`"}}
{"actor":{"display_login":"vanfanel"}}