Boost logo

Boost-Build :

Subject: [Boost-build] Link Library
From: EricTheRed01 (ericbel_2_at_[hidden])
Date: 2009-07-23 13:18:51


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."

My code is
#include<iostream>
#include<boost/filesystem/operations.hpp>
namespace bfs=boost::filesystem;
int main()
{
        bfs::path p("second.cpp");
        if(bfs::exists(p))
        std::cout<<p.leaf()<<std::endl;
}

Any ideas? Did I set my link library properly? Can Code blocks actually
associate the * as a wildcard for all libraries? And why is this DLL not in
the lib folder of installation path??

Any help would be greatly appreciated!

-- 
View this message in context: http://www.nabble.com/Link-Library-tp24630482p24630482.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