{"id":374,"date":"2022-08-30T15:00:17","date_gmt":"2022-08-30T15:00:17","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/06\/installing-opencv2-4-1-on-windows-7-x64-mingw-codeblocks-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:00:17","modified_gmt":"2022-08-30T15:00:17","slug":"installing-opencv2-4-1-on-windows-7-x64-mingw-codeblocks-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/installing-opencv2-4-1-on-windows-7-x64-mingw-codeblocks-collection-of-common-programming-errors\/","title":{"rendered":"Installing OpenCV2.4.1 on windows 7 x64 &#8211; Mingw &amp; codeblocks-Collection of common programming errors"},"content":{"rendered":"<p>Installing OpenCV2.4.1 on windows 7 x64 &#8211; Mingw &amp; codeblocks<\/p>\n<p>Hi, I followed this tutorial<\/p>\n<p>Getting started with OpenCV 2.4 and MinGW on Windows 7<\/p>\n<p>I configured the same except instead of x86, i put x64.<\/p>\n<p>This is the example<\/p>\n<pre><code>#include \"opencv2\/highgui\/highgui.hpp\"\n#include \n\nusing namespace cv;\nusing namespace std;\n\nint main(int argc, char** argv)\n{\nMat im = imread(argc == 2 ? argv[1] : \"lena.jpg\", 1);\nif (im.empty())\n{\ncout<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-11-06 03:31:13. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Installing OpenCV2.4.1 on windows 7 x64 &#8211; Mingw &amp; codeblocks Hi, I followed this tutorial Getting started with OpenCV 2.4 and MinGW on Windows 7 I configured the same except instead of x86, i put x64. This is the example #include &#8220;opencv2\/highgui\/highgui.hpp&#8221; #include using namespace cv; using namespace std; int main(int argc, char** argv) { [&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-374","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/374","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=374"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/374\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}