
14 Jun
2010
14 Jun
'10
10:56 p.m.
In addition to the boost_filesystem lib, you also need to link against the boost_system lib. I believe this should solve your problem.
If I use g++, I should compile it like this, right? g++ -o main.exe main.cpp -lboost_filesystem -lboost_system -- Regards, Peng