在架构x86_64的xcode未定义符号中运行代码时出错: 我在Visual C++中编写了代码,在Windows上运行良好。但当我试图在xcode mac中运行它时,它会给我以下各种错误。其中一项如下:
架构x86_64的未定义符号:在架构x86_64的xcode未定义符号中运行代码时出错: 我在Visual C++中编写了代码,在Windows上运行良好。但当我试图在xcode mac中运行它时,它会给我以下各种错误。其中一项如下:,c++,xcode,macos,C++,Xcode,Macos,架构x86_64的未定义符号: 有谁能在这方面指导我。谢谢看起来你没有在OpenCV库中链接?我想你是对的,让我检查一下,非常感谢,它成功了。如何使用xcode链接OpenCV库? "cv::_InputArray::_InputArray(cv::Mat const&)", referenced from: preprocessImage(cv::Mat const&, cv::Mat&) in main.o readingProcssingImages(std::
有谁能在这方面指导我。谢谢看起来你没有在OpenCV库中链接?我想你是对的,让我检查一下,非常感谢,它成功了。如何使用xcode链接OpenCV库?
"cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
preprocessImage(cv::Mat const&, cv::Mat&) in main.o
readingProcssingImages(std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >, std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > >&) in main.o
ErrorSensitivityOneToOne1D(std::__1::vector<std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > >, std::__1::allocator<std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > > > >&, std::__1::vector<double, std::__1::allocator<double> >, std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > >&, std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > >&, std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >&) in main.o
callToShowImages(std::__1::vector<std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > >, std::__1::allocator<std::__1::vector<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >, std::__1::allocator<std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> > > > > >&) in main.o