{"id":332,"date":"2022-08-30T14:59:35","date_gmt":"2022-08-30T14:59:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/06\/opencv-merge-doesnt-link-collection-of-common-programming-errors\/"},"modified":"2022-08-30T14:59:35","modified_gmt":"2022-08-30T14:59:35","slug":"opencv-merge-doesnt-link-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/opencv-merge-doesnt-link-collection-of-common-programming-errors\/","title":{"rendered":"OpenCV merge() doesn&#39;t link-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m getting the following link error in my OpenCV program (using Mac OS, Xcode):<\/p>\n<blockquote>\n<p>Undefined symbols for architecture x86_64:<br \/>\n&#8220;cv::merge(std::vector &gt; const&amp;, cv::_OutputArray const&amp;)&#8221;, referenced from:<\/p>\n<\/blockquote>\n<p>My first reaction is that I&#8217;ve failed to link the correct library containing the merge() function. OpenCV documentation doesn&#8217;t really tell you what library files things are in. But I&#8217;ve tried adding every single library in my lib directory to the project, and I still get the same message. What else can cause this?<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-06 03:08:31. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m getting the following link error in my OpenCV program (using Mac OS, Xcode): Undefined symbols for architecture x86_64: &#8220;cv::merge(std::vector &gt; const&amp;, cv::_OutputArray const&amp;)&#8221;, referenced from: My first reaction is that I&#8217;ve failed to link the correct library containing the merge() function. OpenCV documentation doesn&#8217;t really tell you what library files things are in. But [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}