Boost logo

Boost Users :

From: Oliver Schoenborn (oliver.schoenborn_at_[hidden])
Date: 2005-05-24 11:00:16


> Dave Harrison
> Sent: May 24, 2005 3:43 AM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] Just can't get started with boost
> testing framework
>
> I've tried using both the unit_test_framework.hpp inclusion
> method, as well as linking against the built binary library,
> but I essentially keep hitting this problem :
>
> > g++ unit_test_example1.cpp
> unit_test_example1.cpp:10:55: error:
> boost/test/included/unit_test_framework.hpp: No such file or directory
>
> the only line in unit_test_example1.cpp is :
>
> #include <boost/test/included/unit_test_framework.hpp>
>
> In my code dir I've copied across the boost/test dir from the
> unzipped tar ball.

Have you tried

g++ -I. unit_test_example1.cpp

This assumes there is a folder called boost in the same folder that
unit_test_example1.cpp is in.

Oliver


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