bhamon / gpuPlotGenerator

GPU plot generator for Burst coin
Other
44 stars 27 forks source link

Trying to Build on Linux #31

Closed lthiery closed 6 years ago

lthiery commented 6 years ago

I'm trying to build for Ubuntu 16.04. I have CUDA and OpenCL both installed and working for other applications.

I'm getting the following error message:

gpuPlotGenerator/build/GenerationDevice.h:18:23: fatal error: constants.h: No such file or directory

All I've done so far is clone the repo, mkdir build within repo. Place myself in build directory and use the following commands

cmake .. -DOpenCL_LIBRARY=/opt/AMDAPPSDK-3.0/lib/x86_64/ -DOpenCL_INCLUDE_DIR=/opt/AMDAPPSDK-3.0/include make

lthiery commented 6 years ago

it seems that building in a build folder was the issue. Building in the repository root with the following command was good: cmake -DOpenCL_LIBRARY=/opt/AMDAPPSDK-3.0/lib/x86_64/sdk/libOpenCL.so -DOpenCL_INCLUDE_DIR=/opt/AMDAPPSDK-3.0/include