Skip to content

how to run tests on Ubuntu/Debian #1

Description

@radarsat1

Hi, I have installed libboost-dev, libboost-tools-dev, and libatlas-base-dev (libatlas-dev on Ubuntu) so I have the b2 tool available. In the numeric_bindings folder I run the following,

$ cd numeric_bindings
$ env BOOST_ROOT=`pwd` sh -c "cd libs/numeric/bindings/blas/test; b2"

And the tests begin to run! However, some of them do not compile. I just want to make sure, is this the right way to run the tests?

e.g.

blas1.cpp:176:17: error: ‘copy_vector’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
      copy_vector(w);
      ~~~~~~~~~~~^~~

I tried also downloading the full boost sources and pointing BOOST_ROOT to the root of it, but I get similar errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions