
14 Jun
2010
14 Jun
'10
11:11 p.m.
On Mon, 14 Jun 2010 15:56:26 -0700, Peng Yu
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
You may also need to specify the -L option if your boost libs are not in
the linkers default search path. Something like this:
g++ -o main.exe main.cpp -L