On Wed, 2011-02-16 at 01:17 +0800, Dean Michael Berris wrote:
> Hi Gregory,
>
> On Tue, Feb 15, 2011 at 11:42 PM, Gregory Symons
[snip]
> >
> > My boost has everything built as shared libraries, so I've tried adding
> > BOOST_TEST_DYN_LINK and BOOST_TEST_MAIN to CXXFLAGS, but that doesn't
> > seem to have an effect.
> >
> > Any ideas?
> >
>
> Actually, currently the unit tests require that Boost.Test be linked
> in statically.
>
> I haven't added in the capability for configuring the testing system
> through CMake to accept these or additional settings.
That would explain it. I'm not terribly familiar with CMake, and looking
through the FindBoost documentation, I didn't see an easy way to
determine that things should be dynamically linked. After hacking
CMakelists.txt to have the BOOST_TEST_DYN_LINK in the compile flags, I
was able to get everything to build. But I'm pretty sure that's not the
"right" way to do it.
Once they built, I had several test failures:
The following tests FAILED:
14 - cpp-netlib-hello_world (Failed)
15 - cpp-netlib-http_async_server (Failed)
16 - cpp-netlib-http_server_async_less_copy (Failed)
17 - mime-roundtrip (Failed)
Looking closely at the verbose test output, it looks like they all
failed because the address they were trying to bring up the server on
was still in use.
--
Gregory Symons <[email protected]>
Developer
DrillingInfo <http://www.drillinginfo.com>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel