Open Anton247 opened 6 months ago
The symbols duplicated are at the same file & line :/ So "duplicates" might not be the problem here :) Not entirely sure what's happening, but I'm also not entirely sure if this is a bug in the project (or project file).
Does it build fine directly on Windows? Are you using shadow builds? Can you make sure you have a clean build directory?
When trying to build a project for Android or Windows (haven't tried other platforms), errors occur: 1) error: duplicate symbol: ZXing::ToString(ZXing::ECI) defined at ECI.cpp:53 (..\QmlMobileScanner\src\thirdparty\zxing-cpp\core\src\ECI.cpp:53) build/arm64-v8a/ECI.obj:(ZXing::ToString(ZXing::ECI))
2) error: duplicate symbol: ZXing::ToCharacterSet(ZXing::ECI) defined at ECI.cpp:58 (..\QmlMobileScanner\src\thirdparty\zxing-cpp\core\src\ECI.cpp:58) build/arm64-v8a/ECI.obj:(ZXing::ToCharacterSet(ZXing::ECI))
3) error: duplicate symbol: ZXing::ToECI(ZXing::CharacterSet) defined at ECI.cpp:66 (..\QmlMobileScanner\src\thirdparty\zxing-cpp\core\src\ECI.cpp:66) build/arm64-v8a/ECI.obj:(ZXing::ToECI(ZXing::CharacterSet))