14 Sep
2004
14 Sep
'04
3:38 a.m.
In my program, I used regex library. When I build the program to the release version, everything is ok. But when I build the debug version, some link error occurs: --------------------------------------------------------------- error LNK2001: unresolved external symbol "void * __cdecl boost::re_detail::get_mem_block(void)" (?get_mem_block@re_detail@boost@@YAPAXXZ) error LNK2001: unresolved external symbol "void __cdecl boost::re_detail::put_mem_block(void *)" (?put_mem_block@re_detail@boost@@YAXPAX@Z) --------------------------------------------------------------- the tools I use: VC6 + sp5 boost_1_31_0 the regex build process: nmake -fvc6.mak nmake -fvc6.mak install Why the link error occurs? How can I fix it? --