After #640 fixed the NEON/SIMD compile errors, the nightly ARM64 build got past compilation entirely and now fails at link time:
libslic3r_gui.lib(wxMediaCtrl3.obj) : error LNK2001: unresolved external symbol "AVVideoDecoder::AVVideoDecoder(void)"
... (6 unresolved externals)
BambuStudio.dll : fatal error LNK1120: 6 unresolved externals
Root cause: CMakeLists.txt excludes AVVideoDecoder.cpp/.hpp from the source list entirely for MSVC ARM64 (no prebuilt libav there), but wxMediaCtrl3.cpp unconditionally #includes the header and uses the class - the header still compiles (it's just a class declaration), but there's no implementation to link against.
Fix: give AVVideoDecoder.cpp a stub implementation (no libav calls) guarded by the existing BAMBUSTUDIO_NO_AVVIDEODECODER define, and always include the file in the source list instead of excluding it. Camera/live-view just reports "no frame" on ARM64 instead of the whole binary failing to link.
After #640 fixed the NEON/SIMD compile errors, the nightly ARM64 build got past compilation entirely and now fails at link time:
Root cause: CMakeLists.txt excludes
AVVideoDecoder.cpp/.hppfrom the source list entirely for MSVC ARM64 (no prebuilt libav there), butwxMediaCtrl3.cppunconditionally#includes the header and uses the class - the header still compiles (it's just a class declaration), but there's no implementation to link against.Fix: give
AVVideoDecoder.cppa stub implementation (no libav calls) guarded by the existingBAMBUSTUDIO_NO_AVVIDEODECODERdefine, and always include the file in the source list instead of excluding it. Camera/live-view just reports "no frame" on ARM64 instead of the whole binary failing to link.