Subject: Re: [Boost-build] Link Library
From: EricTheRed01 (ericbel_2_at_[hidden])
Date: 2009-07-23 15:13:41
> I'm using Code Blocks and I set my Project->Build Options.. -> Linker
> Settings -> link libaries -> Add:
> and I added "boost_*-mgw34-mt-1_37". However, when I compile my simple
> project (below) I get, a windows popup box with this message.
> "This application has failed to start because
> boost_filesystem-mgw34-mt-1_37.dll was not found. Re-installing the
> application may fix this problem."
This means you don't have that library in PATH environment variable.
> My code is
> namespace bfs=boost::filesystem;
> int main()
> bfs::path p("second.cpp");
> Any ideas? Did I set my link library properly? Can Code blocks actually
> associate the * as a wildcard for all libraries?
I don't know -- I expect Code Blocks support team might be more appropriate
to asnwer this question.
> And why is this DLL not in the lib folder of installation path??
What is installation path and what is lib folder thereof? I am pretty
sure that if you have built Boost using getting started guide, all
the right libraries are in the right places. You need to either set
PATH, or copy dlls into a location already in PATH.
Thanks I used this tip of setting my PATH and it worked! The tutorial didn't
say anything about setting the lib path...
-- View this message in context: http://www.nabble.com/Link-Library-tp24630482p24632457.html Sent from the Boost - Build mailing list archive at Nabble.com.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk