|
Boost Users : |
Subject: Re: [Boost-users] boost filesystem library files can not be linked
From: Peng Yu (pengyu.ut_at_[hidden])
Date: 2010-06-14 18:56:26
> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net