[Timer] unresolved external symbol boost::chrono::time_point
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:
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html
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.html
I 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
participants (1)
-
Aman Wardak