8 Feb
2013
8 Feb
'13
4:20 p.m.
Thank you so much, Mr. Loskot, for spending your precious time to help a C++ dingbat like me.
I followed your instructions to link the libraries, with the "-lboost_filesystem -lboost_system" sequence of linking the aforementioned Boost C++ libraries.
However, I cannot resolve the linking error. I have included a snippet from my Terminal session below.
Go Bears >make all g++ -L/usr/lib -lboost_filesystem -lboost_system get_sys_info.cpp
It is a quirk of GCC that the libraries used by a source file must appear *after* the source file. Nothing to do with Boost really... John.