Open reppolice opened 7 years ago
Good question, I wish I had included the command in the README. I don't currently have access to the original working directory (it's somewhere on an old laptop) from which I might be able to glean it. One part of the puzzle is that the Jamroot has a reference to /home/tim/src/boost_1_55_0; I get further along in the process if I download and untar boost 1.55.0 and point Jamroot to it. I've also pushed some changes to the Jamroot file that specify c++11 compilation flags, and some minor code fixes. Now I can run "b2" and everything compiles, but I get a linker error involving "pthread_mutex_trylock". It goes away if I add the -lpthread flag, but then I get bad_alloc exceptions which I remember seeing before and are probably due to binary incompatibility between the system lpthread and whatever boost/thread expects. :-(
Ok, right after giving up I find out that I need -lboost_thread instead of -lpthread. Specifying project dependency on boost/thread doesn't do the trick, neither does passing --with-thread to b2. With the new Jamroot I just pushed, running "b2" succeeds to link the tests but not main, for some obscure reason.
Well, it looks like I cannot properly build 1.55 on my "latest" Ubuntu. Will keep looking into it
Hi and thanks for the code. Was this supposed to build with a simple "bjam"? I didn't have success with my Mac's boost, it looked like some boost incompatibility but I am not really a boost user so my troubleshooting is mostly trial and error.