ld: warning: ld: warning: ignoring file /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libHaloQRCode.a, missing required architecture i386 in file /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libHaloQRCode.a (2 slices)ignoring file /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libopencore-amrnb-v7.a, file was built for archive which is not the architecture being linked (i386): /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libopencore-amrnb-v7.a
ld: warning: ignoring file /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libCardCut.a, file was built for archive which is not the architecture being linked (i386): /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libCardCut.a
Undefined symbols for architecture i386:
"std::string::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
split_string(std::string const&, std::string const&) in libopencv_core.a(cmdparser.o)
"std::string::find_first_of(char, unsigned long) const", referenced from:
zxing::oned::Code39Reader::decodeRow(int, zxing::Ref<zxing::BitArray>) in libHaloQRCode_i386.a(Code39Reader.o)
"std::string::find_first_not_of(char const*, unsigned long, unsigned long) const", referenced from:
split_string(std::string const&, std::string const&) in libopencv_core.a(cmdparser.o)
"std::string::find(char, unsigned long) const", referenced from:
cv::CommandLineParser::CommandLineParser(int, char const**) in libopencv_core.a(cmdparser.o)
"std::string::c_str() const", referenced from:
-[Decoder decode] in libHaloQRCode_i386.a(Decoder-A627F22AED9DDC64.o)
zxing::BitMatrix::description() in libHaloQRCode_i386.a(BitMatrix.o)
zxing::GridSampler::checkAndNudgePoints(zxing::Ref<zxing::BitMatrix>, std::vector<float, std::allocator<float> >&) in libHaloQRCode_i386.a(GridSampler.o)
zxing::GF256Poly::description() const in libHaloQRCode_i386.a(GF256Poly.o)
zxing::Exception::what() const in libHaloQRCode_i386.a(Exception.o)
zxing::qrcode::DecodedBitStreamParser::decodeByteSegment(zxing::Ref<zxing::BitSource>, std::string&, int) in libHaloQRCode_i386.a(DecodedBitStreamParser-6BA9D02C7E989675.o)
ld: warning: ignoring file /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libCardCut.a, file was built for archive which is not the architecture being linked (i386): /Users/youlu/WCard1.0/trunk/WCard/HaloFrameworks/Libs/libCardCut.a
Undefined symbols for architecture i386:
"std::string::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
split_string(std::string const&, std::string const&) in libopencv_core.a(cmdparser.o)
"std::string::find_first_of(char, unsigned long) const", referenced from:
zxing::oned::Code39Reader::decodeRow(int, zxing::Ref<zxing::BitArray>) in libHaloQRCode_i386.a(Code39Reader.o)
"std::string::find_first_not_of(char const*, unsigned long, unsigned long) const", referenced from:
split_string(std::string const&, std::string const&) in libopencv_core.a(cmdparser.o)
"std::string::find(char, unsigned long) const", referenced from:
cv::CommandLineParser::CommandLineParser(int, char const**) in libopencv_core.a(cmdparser.o)
"std::string::c_str() const", referenced from:
-[Decoder decode] in libHaloQRCode_i386.a(Decoder-A627F22AED9DDC64.o)
zxing::BitMatrix::description() in libHaloQRCode_i386.a(BitMatrix.o)
zxing::GridSampler::checkAndNudgePoints(zxing::Ref<zxing::BitMatrix>, std::vector<float, std::allocator<float> >&) in libHaloQRCode_i386.a(GridSampler.o)
zxing::GF256Poly::description() const in libHaloQRCode_i386.a(GF256Poly.o)
zxing::Exception::what() const in libHaloQRCode_i386.a(Exception.o)
zxing::qrcode::DecodedBitStreamParser::decodeByteSegment(zxing::Ref<zxing::BitSource>, std::string&, int) in libHaloQRCode_i386.a(DecodedBitStreamParser-6BA9D02C7E989675.o)
zxing::qrcode::DecodedBitStreamParser::decodeNumericSegment(zxing::Ref<zxing::BitSource>, std::string&, int) in libHaloQRCode_i386.a(DecodedBitStreamParser-6BA9D02C7E989675.o)
解决方法:
原因也不清楚- -