cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Newbie
Newbie
133 Views
Registered: ‎10-15-2020

Search for ethash_params in benchmark.cpp

Good day to everybody,

In tutorial article https://developer.xilinx.com/en/articles/part1-introduction-to-ethash.htm

I try to make Benchmark_FULL, I’m told that ethash_params in benchmark.cpp was not declared

########################

deeplearning@deep-learning-virtual-machine:~/ethash/test/c/build$ make Benchmark_FULL
[ 71%] Built target ethash
Scanning dependencies of target Benchmark_FULL
[ 85%] Building CXX object src/benchmark/CMakeFiles/Benchmark_FULL.dir/benchmark.cpp.o
/home/deeplearning/ethash/src/benchmark/benchmark.cpp: In function ‘int main()’:
/home/deeplearning/ethash/src/benchmark/benchmark.cpp:108:2: error: ‘ethash_params’ was not declared in this scope
ethash_params params;
^
/home/deeplearning/ethash/src/benchmark/benchmark.cpp:109:22: error: ‘params’ was not declared in this scope
ethash_params_init(&params, 0);

#############

Could you please advise ethash_params in benchmarl.cpp or give the working version of this file?

thanks a lot

Wolodimir

safe7@yandex.ua

0 Kudos
Reply
0 Replies