Activity for Chris Astles

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff802b3800e __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff802b6e1ff pthread_kill + 263 2 libsystem_c.dylib 0x7ff802ab9d24 abort + 123 3 libsystem_c.dylib 0x7ff802ab90cb __assert_rtn + 314 4 Metal 0x7ff80b5ec244 MTLReportFailure.cold.1...

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    I've still got some issue when i get past the menu screen after build and I think it is SDL related (game terminates). I think this might be library versions - I have a m1 chip and I wonder if the libraries are built only for intel chipset... not sure at this stage. Are you referring to the game starting ok but crashing whenever you start an actual mission? That is the behaviour I'm getting. I have an Intel chip so this rules out it being an M1 problem...

  • Chris Astles Chris Astles modified a comment on discussion Open Discussion

    Update: my bad, I was confusing TTFFont with the SDL2_TTF framework. I just needed to include the FileClasses/TTFFont.cpp in the compile sources and it worked. Build succeeded! Ok, fixed CampaignAIPlayer and Random errors by adding the corresponding .cpp files to Compile Sources. Still getting the TTFFont error. Have added the SDL2_TTF framework to "Compile Sources", "Link Binary With Libraries", and "Copy Frameworks into .app bundle" but still no joy.

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    Ok, fixed CampaignAIPlayer and Random errors by adding the corresponding .cpp files to Compile Sources. Still getting the TTFFont error. Have added the SDL2_TTF framework to "Compile Sources", "Link Binary With Libraries", and "Copy Frameworks into .app bundle" but still no joy.

  • Chris Astles Chris Astles modified a comment on discussion Open Discussion

    I managed to fix the first 3 when I realised that although I'd added the frameworks to the search paths, they also needed to be added to Build Phases (in the Link Binary With Libraries section). The other 4 still remain though: "CampaignAIPlayer::CampaignAIPlayer(House*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: std::__1::__function::__func<PlayerFactory::registerAllPlayers()::$_20, std::__1::allocator<PlayerFactory::registerAllPlayers()::$_20>,...

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    I managed to fix the first 3 when I realised that although I'd added the frameworks to the search paths, they also needed to be added to Build Phases (in the Link Binary With Libraries section). The other 4 still remain though "CampaignAIPlayer::CampaignAIPlayer(House*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: std::__1::__function::__func<PlayerFactory::registerAllPlayers()::$_20, std::__1::allocator<PlayerFactory::registerAllPlayers()::$_20>,...

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    Hi Stefan. After downloading the frameworks and setting them up in the dirs, I overcame some of the errors, but still the build fails on some unfound symbols... Undefined symbols for architecture x86_64: "_TTF_Init", referenced from: _main in main.o "_TTF_Linked_Version", referenced from: _main in main.o "_TTF_Quit", referenced from: _main in main.o "CampaignAIPlayer::CampaignAIPlayer(House*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced...

  • Chris Astles Chris Astles modified a comment on discussion Open Discussion

    UPDATE - sorry on opening the dmg I see the frameworks inside, please ignore the below Thanks for your reply, Stefan. Could you please advise where to find it as a dmg framework? I can see as dmg but not framework. https://www.libsdl.org/projects/SDL_mixer/release/?C=M;O=D

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    Thanks for your reply, Stefan. Could you please advise where to find it as a dmg framework? I can see as dmg but not framework. https://www.libsdl.org/projects/SDL_mixer/release/?C=M;O=D

  • Chris Astles Chris Astles posted a comment on discussion Open Discussion

    I tried just installing SDL_mixer on homebrew to see if it was just a dependency missing on my machine but no joy. I then tried getting around it by downloading SDL_mixer ( https://github.com/libsdl-org/SDL_mixer) manually and placing 'include/SDL_mixer.h' in the 'include' folder of the repo but that just throws a load of dependency errors (slight progress I guess)

1