Skip to content

Error on build: Use of deleted function #7

Description

@sakjain92

When I run the following command:
$ cmake -H. -Brelease
-Ddriver=nouveau
-Duser=ON
-Druntime=ON
-Dusched=OFF
-Duse_as=OFF
-DCMAKE_BUILD_TYPE=Release
$ make -C release
I get the following error:

$ dev/cuda/runtime/ocelot/analysis/implementation/ControlTree.cpp:878:21: error: use of deleted function ‘void boost::ref(const T&&) [with T = analysis::ControlTree*]’
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/ref.hpp:15:0,
from /usr/include/boost/bind/bind.hpp:25,
from /usr/include/boost/bind.hpp:22,
from gdev/cuda/runtime/ocelot/analysis/implementation/ControlTree.cpp:22:
/usr/include/boost/core/ref.hpp:174:24: note: declared here
template void ref(T const&&) BOOST_REF_DELETE;

I have "libboost1.58-dev" installed (I am using Ubuntu 16.04). Are you using a different version for your test build?

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