NeoRL
NeoRL copied to clipboard
compiling problem under Ubuntu 16.04 64bits
I have the following compiling errors: /usr/include/CL/cl2.hpp:1629:23: note: candidate: cl::detail::Wrapper<T>& cl::detail::Wrapper<T>::operator=(cl::detail::Wrapper<T>) [with T = _cl_sampler*] Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs) ^ In file included from /home/binh/RL/NeoRL/NeoRL/source/neo/../system/ComputeSystem.h:8:0, from /home/binh/RL/NeoRL/NeoRL/source/neo/Helpers.h:3, from /home/binh/RL/NeoRL/NeoRL/source/neo/SparsePredictor.h:3, from /home/binh/RL/NeoRL/NeoRL/source/neo/PredictiveHierarchy.h:3, from /home/binh/RL/NeoRL/NeoRL/source/SequenceRecall.cpp:3: /usr/include/CL/cl2.hpp: In member function ‘cl::Sampler& cl::Sampler::operator=(cl::Sampler)’: /usr/include/CL/cl2.hpp:5447:45: error: ‘move’ is not a member of ‘std’ detail::Wrapper<cl_type>::operator=(std::move(sam)); ^ /usr/include/CL/cl2.hpp:5447:55: error: ‘sam’ was not declared in this scope detail::Wrapper<cl_type>::operator=(std::move(sam)); ^ /usr/include/CL/cl2.hpp: At global scope: /usr/include/CL/cl2.hpp:5484:5: error: ‘size_type’ does not name a type
Could you pls help me? Thanks