I\'m trying to run program, using sample code of boost::filesystem on Ubuntu 12.10, but it doesn\'t want to build.
#include #include
The solution that worked for me is to compile with "-c" and then create the executable like this:
g++ -c -o main.o main.cpp g++ -o my_prog main.o -lboost_system -lboost_filesystem