Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在架构x86_64的xcode未定义符号中运行代码时出错: 我在Visual C++中编写了代码,在Windows上运行良好。但当我试图在xcode mac中运行它时,它会给我以下各种错误。其中一项如下:_C++_Xcode_Macos - Fatal编程技术网

在架构x86_64的xcode未定义符号中运行代码时出错: 我在Visual C++中编写了代码,在Windows上运行良好。但当我试图在xcode mac中运行它时,它会给我以下各种错误。其中一项如下:

在架构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::

架构x86_64的未定义符号:


有谁能在这方面指导我。谢谢

看起来你没有在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