Why didn't using boost regex library get unresolved external error? -
i playing regex library of boost. during build process, didn't specify location , library name , surprisingly got error :
link : fatal error lnk1104: cannot open file 'libboost_regex-vc100-mt-gd-1_47.lib'
i set boost libs , error disappeared! ( didn't name, libboost_regex-vc100-mt-gd-1_47.lib) when linked library project , forgot specify name , location got unresolved externals error. required specify library name along location, using boost not case more. what's reason? how can create library necessary include interface , specify location?
see auto-linking:
most windows compilers , linkers have so-called “auto-linking support,” eliminates sec challenge. special code in boost header files detects compiler options , uses info encode name of right library object files; linker selects library name directories you've told search.
boost
No comments:
Post a Comment