bhamon / gpuPlotGenerator

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

Issue Compiling fatal error: constants.h: No such file or directory #51

Closed TremerePuck closed 6 years ago

TremerePuck commented 6 years ago

When compiling in Debian Jessie with both the 4.1.3 and 4.1.4 I get the following error:

Scanning dependencies of target gpuPlotGenerator
[  4%] Building CXX object CMakeFiles/gpuPlotGenerator.dir/Command.cpp.o
[  9%] Building CXX object CMakeFiles/gpuPlotGenerator.dir/CommandGenerate.cpp.o
In file included from /root/gpuPlotGenerator-4.1.3/CommandGenerate.cpp:25:0:
/root/gpuPlotGenerator-4.1.3/build/GenerationDevice.h:18:23: fatal error: constants.h: No such file or directory
 #include "constants.h"
                       ^
compilation terminated.
CMakeFiles/gpuPlotGenerator.dir/build.make:86: recipe for target 'CMakeFiles/gpuPlotGenerator.dir/CommandGenerate.cpp.o' failed
make[2]: *** [CMakeFiles/gpuPlotGenerator.dir/CommandGenerate.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/gpuPlotGenerator.dir/all' failed
make[1]: *** [CMakeFiles/gpuPlotGenerator.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Any help is appreciated!

bhamon commented 6 years ago

@TremerePuck I can't reproduce your error. What is the content of your cloned repository after the cmake . call? The constants.h file isn't even rewritten by CMake so I don't really understand why it's not found.