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...
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...
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.
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.
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>,...
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>,...
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...
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