I’m encountering a link-time error when building the project on macOS (Apple Silicon). During the final linking step, I get this undefined symbols error:
[100%] Linking CXX executable SerialPrograms.app/Contents/MacOS/SerialPrograms
Undefined symbols for architecture arm64:
"PokemonAutomation::Pimpl<PokemonAutomation::StreamHistorySession::Data>::~Pimpl()", referenced from:
PokemonAutomation::NintendoSwitch::SwitchSystemSession::~SwitchSystemSession() in NintendoSwitch_SwitchSystemSession.cpp.o
PokemonAutomation::NintendoSwitch::SwitchSystemSession::SwitchSystemSession(PokemonAutomation::NintendoSwitch::SwitchSystemOption&, unsigned long long, unsigned long) in NintendoSwitch_SwitchSystemSession.cpp.o
PokemonAutomation::test_pokemonLA_shinySoundDetector(std::__1::vector<PokemonAutomation::AudioSpectrum, std::__1::allocator<PokemonAutomation::AudioSpectrum>> const&, bool) in PokemonLA_Tests.cpp.o
PokemonAutomation::test_pokemonLA_shinySoundDetector(std::__1::vector<PokemonAutomation::AudioSpectrum, std::__1::allocator<PokemonAutomation::AudioSpectrum>> const&, bool) in PokemonLA_Tests.cpp.o
ld: symbol(s) not found for architecture arm64
c++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [SerialPrograms.app/Contents/MacOS/SerialPrograms] Error 1
make[1]: *** [CMakeFiles/SerialPrograms.dir/all] Error 2
make: *** [all] Error 2
Thank you for your help!