I'm trying to go through Boost tutorials, but I'm stuck in a link to a file system library.
I have Ubuntu 12.10. The installation was not so difficult
sudo apt-get install libboost-all-dev
This puts all the headers in / usr / local / include and the compiled sources in / usr / lib /
[--headers]
[--binaries]
I wrote this program [--program]. When I tried to compile it
g++ -g tut1.cpp -o tut1 -lboost_system -lboost_filesystem
received the following errors: [--errors].
After a little search http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html
I tried this:
g++ -g -I /usr/local/include/boost/ tut1.cpp -o tut1 -L /usr/lib/libboost_filesystem.a -lboost_system -lboost_filesystem
but no luck. I had the same mistakes.
Since I canβt post more than two links in a post, here are all the links
http://pastebin.com/DakVFn12
source share