在ARToolkit上编译simpleVRML项目

时间:2014-12-15 18:58:26

标签: c++ artoolkit

我正在编译artoolkit库,所以我可以在我的项目中使用它。 artoolkit(http://sourceforge.net/projects/artoolkit/files/artoolkit/2.72.1/)上的所有28个项目都可以编译,但我在编译使用openVRML库的simpleVRML项目时遇到问题(也在同一个链接中)它总是有一个错误看起来像这样:

错误225错误LNK2019:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const &,char const *)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ PBD @ Z)函数__ehhandler $ ?? 0sentry @?$ basic_ostream @ DU?$ char_traits @ D @ std @@@ std @@ QAE @ AAV12 @@ ZC:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ antlr.lib(Parser.obj) 错误226错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, char const *)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ PBD @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(browser.obj) 错误227错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, char const *)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ PBD @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(script.obj) 错误228错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, char const *)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ PBD @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(vrml97node.obj) 错误229错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, char const *)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ PBD @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(doc.obj) 错误230错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, class std :: basic_string,class std :: allocator> const&)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ 0 @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(doc.obj) 错误231错误LNK2019:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, class std :: basic_string,class std :: allocator> const&)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d函数" public中引用的@ 2 @@ 0 @ 0 @ Z):__ thiscall antlr :: BaseAST :: BaseAST(void)" (?? 0BaseAST @ antlr @@ QAE @ XZ)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ antlr.lib(BaseAST.obj) 错误232错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, class std :: basic_string,class std :: allocator> const&)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ 0 @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(browser.obj) 错误233错误LNK2001:未解析的外部符号" __ declspec(dllimport)bool __cdecl std :: operator ==,class std :: allocator>(class std :: basic_string,class std :: allocator> const&, class std :: basic_string,class std :: allocator> const&)" (__imp _ ?? $?8DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ @@ 1 STD @@ YA_NABV?$ basic_string的@ DU?$ char_traits @ d @ @@ STD V'$分配器@ d @ 2 @@ 0 @ 0 @ Z)C:\ Users \ John Paulo \ Documents \ Photorealistic Rendering \ Prototype \ MK-1.1.2 \ examples \ simpleVRML \ openvrml.lib(node.obj)

这是我在编译simpleVRML项目时遇到的所有错误的捕获图像(请忽略GLObjViewer项目)。 https://drive.google.com/file/d/0B6bkSbCQZ46zY3BpMjY2NmN2cTA/view?usp=sharing

我希望有人能帮助我解决这个问题我真的需要这个工具来学习。

1 个答案:

答案 0 :(得分:0)

我在编写simpleVRML时遇到了类似的问题,我通过以下3个视频教程解决了这个问题,特别是最后一个:

Video 1: http://youtu.be/9R52rrlDKpo

Video 2: http://youtu.be/i0igyI6qocY

Video 3: http://youtu.be/hXPFT4dqzu4

在那里,他们展示了您必须修改的代码行,以便ARToolKit在较新版本的Visual Studio中进行编译。请记住,ARToolKit已经停产,它可以在Visual Studio 2005中使用。

相关问题