Boost logo

Boost Users :

Subject: [Boost-users] [Timer] unresolved external symbol boost::chrono::time_point
From: Aman Wardak (aman.wardak_at_[hidden])
Date: 2016-02-17 01:38:31

Env: Win7 32-bit running in VirtualBox on Macbook Pro
Compiler: MS Visual Studio 14

It's my first time working with Boost.

I've followed the instructions here:

I've compiled Boost successfully:
The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:


The following directory should be added to linker library paths:


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

I'm trying to compile the very first sample code at this link:

I get the following error:

   ------ Build started: Project: BoostExample, Configuration: Debug Win32
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_at_steady_clock
_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@23_at_XZ) referenced in function
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 ==========


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at