{"id":1597,"date":"2022-08-30T15:17:51","date_gmt":"2022-08-30T15:17:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/trying-to-use-the-basic-tutorial-for-ogre-in-codeblocks-produces-undefined-references-to-__unwind_resume-and-__gxx_personality_v0-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:17:51","modified_gmt":"2022-08-30T15:17:51","slug":"trying-to-use-the-basic-tutorial-for-ogre-in-codeblocks-produces-undefined-references-to-__unwind_resume-and-__gxx_personality_v0-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/trying-to-use-the-basic-tutorial-for-ogre-in-codeblocks-produces-undefined-references-to-__unwind_resume-and-__gxx_personality_v0-collection-of-common-programming-errors\/","title":{"rendered":"trying to use the basic tutorial for ogre in code::blocks produces undefined references to &#39;__unwind_resume&#39; and &#39;__gxx_personality_v0&#39;-Collection of common programming errors"},"content":{"rendered":"<p>I found part of the solution, I got the compiler to create an executable file, but it currently throws OGRE::filenotfoundexception and terminates. I did this by downloading boost_1_53_0 and building libboost_system-mgw47-mt-1-53.a and linking to that instead of the other one, then it gave me the error on startup &#8220;the procedure entry point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll.&#8221; So to work around that I went to orwell&#8217;s mingw folder and found that libstdc++-6.dll in that folder was around 800 KB in size and the one codeblocks was using was 5 mb, I switched them out to see if it worked and it got the executable running now but it throws said exception and terminates.<\/p>\n<p>EDIT1: Strangely enough simply adding a blank file called resources.cfg (the file that caused the exception) causes the program to run but now an Ogre windows appears asking for a rendering system<\/p>\n<p>EDIT2: After realizing I&#8217;m supposed to copy everything from ogre&#8217;s bin\/release directory to my executable files directory (and the media directory to 2 folders up from my executables directory) I did that and everything finally worked perfectly!<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-27 12:00:32. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I found part of the solution, I got the compiler to create an executable file, but it currently throws OGRE::filenotfoundexception and terminates. I did this by downloading boost_1_53_0 and building libboost_system-mgw47-mt-1-53.a and linking to that instead of the other one, then it gave me the error on startup &#8220;the procedure entry point __gxx_personality_v0 could not [&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-1597","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1597","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=1597"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1597\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}