无法找到过程入口点 __gxx_personality_v0

the procedure entry point __gxx_personality_v0 could not be located(无法找到过程入口点 __gxx_personality_v0)
本文介绍了无法找到过程入口点 __gxx_personality_v0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

编者注: 类似The procedure error point _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_ could not be found in the dynamic link library libstdc++-6.dll 的错误信息>" 具有相同的原因并且适用相同的解决方案.

Editor's Note: Error messages similar to "The procedure error point _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_ could not be located in the dynamic link library libstdc++-6.dll" have the same cause and the same solutions apply.

如果我想在 Windows 中运行我的 Irrlicht C++ 控制台应用程序,我会不断收到此错误:

I keep getting this error if I want to run my Irrlicht C++ Console Application in Windows:

在动态链接库libstdc++-6.dll中找不到过程入口点__gxx_personality_v0

我将 CodeBlocks v12.11 与 MinGW 和 Irrlicht v1.8 引擎一起使用.我设置正确.在我的电脑上还有一个安装了 MinGW 的 Qt.会不会有冲突?

I am using CodeBlocks v12.11 with MinGW and the Irrlicht v1.8 engine. I set it up correctly. On my computer there is also a Qt installed with MinGW. Is it possible that there is a conflict?

这是源代码:

#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;

int main() {
    IrrlichtDevice *device = createDevice( video::EDT_OPENGL);

    if (!device)
        return 1;

    IVideoDriver* driver = device->getVideoDriver();
    ISceneManager* smgr = device->getSceneManager();
    IGUIEnvironment* guienv = device->getGUIEnvironment();

    guienv->addStaticText(L"Hello World", core::recti(10, 10, 100, 30));
    device->setWindowCaption(L"Hello World! - Irrlicht Engine Demo");

    while(device->run()) {
        driver->beginScene(true, true, SColor(250, 190, 1, 2));
        smgr->drawAll();
        guienv->drawAll();
        driver->endScene();
    }

    device->drop();
    return 0;
}

我将编译器配置为 C:CodeBlocksMinGW.除了 make.exe 之外,每个文件(设置中都有显示)都位于 bin 下.正常吗?

I configured the Compiler to C:CodeBlocksMinGW. Every file (there are some shown in the Settings) is located under bin, except make.exe. Is that normal?

自动检测"按钮还建议上述路径.

The Auto-detect button also suggests the path above.

推荐答案

我也遇到了这个问题.这为我修复了它:

I had this problem as well. This fixed it for me:

  1. 转到您的 MinGW 文件夹(应该是 C:MinGW)
  2. 打开 bin 文件夹.
  3. 应该有一个名为 libstdc++-6.dll 的文件
  4. 将其复制到与可执行文件相同的目录中.

那应该可以...

这篇关于无法找到过程入口点 __gxx_personality_v0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to enable C++11 in Qt Creator?(如何在 Qt Creator 中启用 C++11?)
How to convert QString to std::string?(如何将 QString 转换为 std::string?)
Qt: can#39;t find -lGL error(Qt:找不到 -lGL 错误)
Serialization with Qt(使用 Qt 进行序列化)
Non-blocking worker - interrupt file copy(非阻塞工作者 - 中断文件复制)
How to link opencv in QtCreator and use Qt library(如何在 QtCreator 中链接 opencv 并使用 Qt 库)