
22 Nov
2010
22 Nov
'10
7:30 a.m.
uint32_t& c; string str("10); [...] c = lexical_cast
(str); I obtaing link error with VC 2010 (I use the code::blocks IDE):
error LNK2019: riferimento al simbolo esterno "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) non risolto nella funzione "unsigned int __cdecl boost::detail::lexical_cast
,0,char>(class std::basic_string const &,char *,unsigned int)" (??$lexical_cast@IV?$basic_string@DU?$char_LIBCMT.lib(wincrt0.obj)||error LNK2019: riferimento al simbolo esterno _WinMain@16 non risolto nella funzione ___tmainCRTStartup| LockFile.exe||fatal error LNK1120: 2 esterni non risolti
Do you compile with exception handling switched on (/GX compiler flag)?