In VS2010, all the Boost libraries under vclibs are of the gd-mt variety. I believe that means they are built with debug symbols, and they are meant to link with the multithreaded Win32 runtime libraries. However, I got smacked in the middle of linkage when it tried to find sgd-mt varieties, which additionally imply static linkage. I'm not entirely sure how this all happens in Boost, but I've seen it in the past intervene in ways that make it want a different linkage than what I had specified, and I am suspecting it is what happened here. Anyways, vclibs isn't including the sgd libraries, so it fails out. I have my own 1.52 builds of Boost that I am tempted to try in place there.
Generally I prefer to follow online steps and see what the developers recommend before going off on a tangent, and I am assuming most of the developers are not using a Microsoft toolchain, so I tried the mingw route. After plenty of shenanigans with accidentally picking a TDM distribution over mingw-stable, it finally started to compile, only again to get beaten up over another Boost library problem.
In this case:
Code: Select all
C:\coding\spring\mingwlibs\lib\libboost_thread-mt.a(thread.o):thread.cpp:(.text+0x3fbf): undefined reference to `boost::chrono::system_clock::now()'
collect2.exe: error: ld returned 1 exit status
Personally I'm hoping for help on the VS2010 but I'm not that picky. I tried my best to follow the build directions on the development section of the web page, but early on it already required some divergence. For both creating vclibs and mingwlibs, it says to create that directory, go into it, then do a git pull. That ends up with vclibs\vclibs and mingwlibs\minglibs, respectively, which isn't what the toolchain expects. So it's possible I ran off and messed something else up in the process under good intentions.