Hi folks,
This is a repeat of:
https://community.esri.com/t5/qt-maps-sdk-questions/build-failure-on-ios-with-qt-6-8/m-p/1548520
I get the same ffmpeg link errors on iOS, 200.7. My project requires multimedia. The last few lines look like this:
"_sws_scale", referenced from:
convertFrame(QVideoFrame&, QVideoFrameFormat const&) in libffmpegmediaplugin.a[arm64][10](qffmpegconverter.cpp.o)
QFFmpegVideoBuffer::convertSWFrame() in libffmpegmediaplugin.a[arm64][18](qffmpegvideobuffer.cpp.o)
QFFmpeg::VideoFrameEncoder::sendFrame(std::__1::unique_ptr<AVFrame, QFFmpeg::AVDeleter<void (*)(AVFrame**), &av_frame_free>>) in libffmpegmediaplugin.a[arm64][48](qffmpegvideoframeencoder.cpp.o)
"_sws_setColorspaceDetails", referenced from:
convertFrame(QVideoFrame&, QVideoFrameFormat const&) in libffmpegmediaplugin.a[arm64][10](qffmpegconverter.cpp.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
If I remove multimedia from the find_package and target_link_libraries, it still fails.
Did you guys do anything to get this working? I gather that Qt is churning on iOS with the ffmpeg libraries.
Thanks!
Solved! Go to Solution.
Apologies for the noise. I see the samples have included the CMake commands needed to fix the link errors. When I incorporated them, it built fine.
Apologies for the noise. I see the samples have included the CMake commands needed to fix the link errors. When I incorporated them, it built fine.