getting error while compiling boost.compute file

60 views
Skip to first unread message

ritwik singh

unread,
Apr 20, 2018, 5:01:05 AM4/20/18
to boost-compute
Hi community,

I just started using boost.compute.So, for tutorial i was using the code provided in tutorial section.But i give me some error which i am unable to solve.

ERROR:
ritwik@ritwik-UX430UQ ~/Desktop $ g++ boost.cpp -lOpenCL
In file included from /usr/include/boost/compute/detail/sha1.hpp:16:0,
                 from /usr/include/boost/compute/detail/meta_kernel.hpp:39,
                 from /usr/include/boost/compute/algorithm/reduce.hpp:18,
                 from /usr/include/boost/compute/algorithm/accumulate.hpp:19,
                 from /usr/include/boost/compute/algorithm.hpp:18,
                 from /usr/include/boost/compute.hpp:14,
                 from boost.cpp:4:
/usr/include/boost/uuid/sha1.hpp:13:97: note: #pragma message: This header is implementation detail and provided for backwards compatibility.
 his header is implementation detail and provided for backwards compatibility.")
                                                                               ^
I have even installed the open CL multiple times but this error is coming every time.


can anyone help me?
thanks in advance
Ritwik Singh

Jakub Szuppe

unread,
Apr 20, 2018, 5:07:44 AM4/20/18
to boost-compute
See https://github.com/boostorg/compute/pull/762. Required changes are in develop branch and wasn't merged into master yet.
Reply all
Reply to author
Forward
0 new messages