I came here to ask for a fix that disappointed me. Lot. First of all, I am on Windows, I use MinGW as a compiler (C ++).
I am having trouble getting a program to work using cpp-netlib and SSL (trying to POST to the https site). I believe that everything is in order, except for this one mistake, which evades me.
C:\boost_1_50_0\boost_1_50_0\stage\lib\libboost_thread-mgw46-mt-1_50.a(thread.o):thread.cpp|| undefined reference to 'boost::chrono::system_clock::now()'
I am sure that I am associated with the cron, as well as with all .a libs in BOOST_ROOT/stage/lib . I tried reordering so that chrono was connected before the stream. Nothing helped. I tried to define BOOST_CHRONO_INLINED in my IDE settings and some conf.hpp to make it only a header, which didn't help.
I am sure this is a newbie question, and I hope someone can give me a quick solution. I wrote it in a hurry because I have to be somewhere, but if you need more information, tell me about it, and I can write it more carefully when I get home. Thanks!
Jishaxe
source share