Boost logo

Boost Users :

From: adam_speight (adam_speight_at_[hidden])
Date: 2003-03-15 14:17:26


I have a general question about finnishing the install process for
boost. I have built boost on Cygwin/Gcc3.x/winXP and now have many
versions of various libraries in a deep directory tree. Now,
suppose I want to compile something, say random_test.cpp from

http://www.boost.org/libs/random/index.html

I get the following compiler error

/cygdrive/c/DOCUME~1/aspeight/LOCALS~1/Temp/ccQGyqEq.o
(.text$_Z8validateIN5boost6rand48EEvRKSsRKT_+0x103):random_test.cpp:
undefined reference to
`boost::test_toolbox::detail::test_and_continue_impl(bool,
boost::test_toolbox::detail::wrapstrstream const&, char const*, int,
bool, boost::unit_test_framework::report_level)'

Clearly, I need to link to one of the boost::test library. How
should I be linking to this library? All libraries that were built
have a .lib extention and are spread over a huge directory
structure. How can I tell which library I need?

Is there a way to finnish the build process so that all of the
statically-linked debug libraries are in one place? If somebody
would send me a make file or let me know what is a good approach to
building applications with boost, I'd appreciate it.

Thanks,

Adam


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