|
Boost : |
From: Andreas Löffler (a.loeffler_at_[hidden])
Date: 2005-01-21 05:06:50
Hi there,
I'm getting linker errors when I'm trying to compile my application with
VS.2003 and boost-1.32. The application uses a DLL which doesn't
use parts of the STL or boost, only the application itself and a static
library (which contains the major parts of the code) are using boost,
STL and MFC code.
mfcie error LNK2019: Nicht aufgelöstes externes Symbol '"class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@ABV?$basic_str
ing_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@0@@Z)', verwiesen in Funktion
'"public: class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall MemoryInfo::getTotalRam(void)const "
(?getTotalRam_at_MemoryInfo@@QBE?AV?$basic_string_at_DU?$char_traits_at_D@std@@V?$all
ocator_at_D@2@@std@@XZ)'
mfcie error LNK2001: Nichtaufgelöstes externes Symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@ABV?$basic_str
ing_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@0@@Z)
mfcie error LNK2001: Nichtaufgelöstes externes Symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@ABV?$basic_str
ing_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@0@@Z)
mfcie error LNK2019: Nicht aufgelöstes externes Symbol
'"__declspec(dllimport) class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,char const *)"
(__imp_??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z)',
verwiesen in Funktion '"public: virtual void __thiscall
DriveInfo::determineDriveInfo(unsigned int const &)"
(?determineDriveInfo_at_DriveInfo@@UAEXABI_at_Z)'
mfcie error LNK2001: Nichtaufgelöstes externes Symbol "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,char const *)"
(__imp_??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z)
mfcie error LNK2019: Nicht aufgelöstes externes Symbol
'"__declspec(dllimport) class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,char const *)"
(__imp_??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z)',
verwiesen in Funktion '"protected: virtual void __thiscall
OSInfo::determineOSInfo(void)" (?determineOSInfo_at_OSInfo@@MAEXXZ)'
mfcie error LNK2001: Nichtaufgelöstes externes Symbol "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,char const *)"
(__imp_??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z)
mfcie error LNK2019: Nicht aufgelöstes externes Symbol
'"__declspec(dllimport) class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,char)"
(__imp_??6std@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@D_at_Z)',
verwiesen in Funktion '"public: virtual void __thiscall
DriveInfo::determineDriveInfo(unsigned int const &)"
(?determineDriveInfo_at_DriveInfo@@UAEXABI_at_Z)'
mfcie error LNK2019: Nicht aufgelöstes externes Symbol
'"__declspec(dllimport) bool __cdecl std::operator==(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(__imp_??8std@@YA_NABV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2
@@0_at_0@Z)', verwiesen in Funktion '"public: enum CpuStats::e_CPUVENDORS
__thiscall CpuStats::getVendor(void)const "
(?getVendor_at_CpuStats@@QBE?AW4e_CPUVENDORS_at_1@XZ)'
mfcie fatal error LNK1120: 4 unaufgelöste externe Verweise
Any ideas?
Greetings
Andrew
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk