LINK error in visual studio with boost date_time library -


I only created the date_time library and set the property page as follows:

  Linker & gt; Input & gt; Additional dependency: libboost_date_time-vc120-mt-gd-1_55.lib boost_date_time-vc120-mt-gd-1_55.lib;% (additional requirement) VC ++ Directories & gt; Library Directories: C: \ boost_1_55_0 \ stage \ lib; $ (LibraryPath) VC ++ Directories & gt; Include directories: C: \ boost_1_55_0; I get an error while running $ (include in)  

1> LINK: Fatal error LNK1104: Can not open file 'boost_date_time -vc120-mt-gd-1_55.lib.obj '

Linker * .obj file can not be found, I can not find it, where is needed * .obj file To see and once I get it, what do I have to do?

You should not specify additional dependencies Boost #pragma comment (Lib, "& lt; Libn name & gt; ") will automatically link libraries when you include their header, try to remove those obvious dependencies and rebuild.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -