|
Boost-Build : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-07-25 11:35:26
Csaba Zsolnai wrote:
> Helo,
>
> when i try to compile my program:
>
> **************************************
> #include <boost/filesystem.hpp>
>
> int main()
> {}
> *************************************
> I get these errors:
>
> obj\Debug\main.o||In function `_Z41__static_initialization_and_destruction_0ii':|
> C:\CodeBlocks\include\boost-1_35\boost\system\error_code.hpp|204|undefined reference to `boost::system::get_system_category()'|
> C:\CodeBlocks\include\boost-1_35\boost\system\error_code.hpp|205|undefined reference to `boost::system::get_posix_category()'|
> C:\CodeBlocks\include\boost-1_35\boost\system\error_code.hpp|209|undefined reference to `boost::system::get_posix_category()'|
> C:\CodeBlocks\include\boost-1_35\boost\system\error_code.hpp|210|undefined reference to `boost::system::get_system_category()'|
>
> What could be the problem?
You don't link to boost.system?
Markus
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