I need help with the compilation this is my output when I run the last make instruction:
[ 6%] Building CXX object CMakeFiles/reaper.dir/AppOpenCL.cpp.o
/home/user/XPM/reaperprime/AppOpenCL.cpp: In member function void OpenCL::WriteBufferPattern(uint, std::string, size_t, void*, size_t):
/home/user/XPM/reaperprime/AppOpenCL.cpp:285:145: error: clEnqueueFillBuffer was not declared in this scope
cl_int status = clEnqueueFillBuffer(GPUstate.commandQueue, GPUstate.buffers[buffername], pattern, pattern_length, 0, data_length, 0, NULL, NULL);
^
make[2]: *** [CMakeFiles/reaper.dir/AppOpenCL.cpp.o] Error 1
make[1]: *** [CMakeFiles/reaper.dir/all] Error 2
make: *** [all] Error 2
Thanks
I have "solve" the error just comenting the 285 line from AppOpenCL.cpp...
Now I have exactly the same output as paulthetafy:
Awseome thanks for your help. Still not building though...
Linking CXX executable reaper
/usr/bin/ld: cannot find -lblkmaker-0.1
/usr/bin/ld: cannot find -lblkmaker_jansson-0.1
paulthetafy, didn't you have the same problem previously about clEnqueueFillBuffer as me?
Thanks,
you need to download libblkmaker (link in build.txt) and build it. make sure you do autogen, configure, make clean, make