問題描述
編者注: 類似The procedure error point _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_
could not be found in the dynamic link library libstdc++-6.dll
的錯(cuò)誤信息>" 具有相同的原因并且適用相同的解決方案.
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 中運(yùn)行我的 Irrlicht C++ 控制臺(tái)應(yīng)用程序,我會(huì)不斷收到此錯(cuò)誤:
I keep getting this error if I want to run my Irrlicht C++ Console Application in Windows:
在動(dòng)態(tài)鏈接庫(kù)libstdc++-6.dll中找不到過程入口點(diǎn)__gxx_personality_v0
我將 CodeBlocks v12.11 與 MinGW 和 Irrlicht v1.8 引擎一起使用.我設(shè)置正確.在我的電腦上還有一個(gè)安裝了 MinGW 的 Qt.會(huì)不會(huì)有沖突?
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
之外,每個(gè)文件(設(shè)置中都有顯示)都位于 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?
自動(dòng)檢測(cè)"按鈕還建議上述路徑.
The Auto-detect button also suggests the path above.
推薦答案
我也遇到了這個(gè)問題.這為我修復(fù)了它:
I had this problem as well. This fixed it for me:
- 轉(zhuǎn)到您的 MinGW 文件夾(應(yīng)該是 C:MinGW)
- 打開 bin 文件夾.
- 應(yīng)該有一個(gè)名為 libstdc++-6.dll 的文件
- 將其復(fù)制到與可執(zhí)行文件相同的目錄中.
那應(yīng)該可以...
這篇關(guān)于無法找到過程入口點(diǎn) __gxx_personality_v0的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!