Unresolved External в Msvc

Тема в разделе "C и С++ FAQ", создана пользователем -, 29 янв 2006.

Наш партнер Genesis Hackspace
Статус темы:
Закрыта.
  1. Гость

    Здравствуйте.

    MS VC .NET, однопоточное GUI приложение, UNICODE. Используются "либы" STL, WTL и TinyXML. (TinyXML не как библиотека. Я включил исходники в проект). DEBUG вариант - всё ok. При компилировании в Release-варианте выдаются ошибки:

    Код (Text):
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@[email protected]@@QBEXXZ)
    XMLSettings error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@[email protected]@@QBEXXZ) referenced in function "private: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@[email protected][email protected]@std@@[email protected]@2@@std@@[email protected])
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@[email protected]@@QBEXXZ)
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@[email protected]@@QBEXXZ)
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@[email protected]@@QBEXXZ)
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@[email protected]@@QBEXXZ)
    XMLSettings error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@[email protected]@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@[email protected][email protected]@std@@[email protected]@2@@std@@[email protected]@Z)
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@[email protected]@@QBEXXZ)
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@[email protected]@@QBEXXZ)
    XMLSettings error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@[email protected]@@QBEXXZ)
    XMLSettings error LNK2019: unresolved external symbol "__int64 std::_Fpz" ([email protected]@@3_JA) referenced in function "protected: virtual class std::fpos<int> __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::seekoff(long,int,int)" (?seekoff@[email protected][email protected]@std@@@std@@[email protected]@[email protected]@Z)
    XMLSettings error LNK2019: unresolved external symbol "long const std::_BADOFF" ([email protected]@@3JB) referenced in function "protected: virtual class std::fpos<int> __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::seekoff(long,int,int)" (?seekoff@[email protected][email protected]@std@@@std@@[email protected]@[email protected]@Z)
    XMLSettings error LNK2019: unresolved external symbol "public: void __thiscall std::ios_base::_Addstd(void)" ([email protected][email protected]@@QAEXXZ) referenced in function "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@[email protected][email protected]@std@@@std@@[email protected][email protected]@std@@@2@[email protected])
    XMLSettings error LNK2019: unresolved external symbol "public: void __thiscall std::locale::facet::_Register(void)" ([email protected]@[email protected]@@QAEXXZ) referenced in function "?use_facet@[email protected][email protected]@std@@@std@@[email protected]@[email protected]@1@@Z" (?use_facet@[email protected][email protected]@std@@@std@@[email protected]@[email protected]@1@@Z)
    XMLSettings error LNK2019: unresolved external symbol "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const " ([email protected]@std@@[email protected]@[email protected]) referenced in function "?use_facet@[email protected][email protected]@std@@@std@@[email protected]@[email protected]@1@@Z" (?use_facet@[email protected][email protected]@std@@@std@@[email protected]@[email protected]@1@@Z)
    XMLSettings fatal error LNK1120: 7 unresolved externals
    В чём может быть проблема?
     
Загрузка...
Похожие Темы - Unresolved External Msvc
  1. mibin
    Ответов:
    3
    Просмотров:
    2.417
  2. mibin
    Ответов:
    0
    Просмотров:
    1.384
  3. Xalet
    Ответов:
    25
    Просмотров:
    10.069
Статус темы:
Закрыта.

Поделиться этой страницей