I've compiled Boost successfully:
============================
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
C:\Users\IEUser\Documents\boost_1_60_0
The following directory should be added to linker library paths:
C:\Users\IEUser\Documents\boost_1_60_0\stage\lib
==============================================
I've
added the above paths in Visual Studio and was able to run the test in
step 6 of the instructions linked above to verify my environment is set
up correctly.
MY PROBLEM:
I'm trying to compile the very first sample code at this link:
http://www.boost.org/doc/libs/1_60_0/libs/timer/doc/cpu_timers.htmlI get the following error:
------ Build started: Project: BoostExample, Configuration: Debug Win32 ------
Source.cpp
libboost_timer-vc140-mt-gd-1_60.lib(cpu_timer.obj) : error LNK2019: unresolved external symbol "public: static class boost::chrono::time_point<class boost::chrono::steady_clock,class boost::chrono::duration<__int64,class boost::ratio<1,1000000000> > > __cdecl boost::chrono::steady_clock::now(void)" (?now@steady_clock@chrono@boost@@SA?AV?$time_point@Vsteady_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@23@XZ) referenced in function __catch$??1auto_cpu_timer@timer@boost@@QAE@XZ$0
C:\Users\IEUser\Documents\Visual Studio 2015\Projects\CS2370\Debug\BoostExample.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========