Post
Topic
Board Mining (Altcoins)
Re: Gateless Gate: zawawa's open-source cross-platform OpenCL Zcash miner
by
zawawa
on 15/12/2016, 09:48:45 UTC
Gateless Gate is a cross-platform OpenCL Zcash miner.

Hi,

I couldn't compile it in linux:

Code:
main.c:1392:6: note: expected ‘struct _cl_mem **’ but argument is of type ‘uint8_t *’
 void mining_mode(cl_device_id *dev_id, cl_context ctx, cl_command_queue queue,
      ^
main.c:1479:3: error: too many arguments to function ‘mining_mode’
   mining_mode(*dev_id, program, ctx, queue, k_init_ht, k_rounds, k_sols, buf_ht,
   ^
main.c:1392:6: note: declared here
 void mining_mode(cl_device_id *dev_id, cl_context ctx, cl_command_queue queue,
      ^
: recipe for target 'main.o' failed

Do you have an idea, why compiler failed with "error: too many arguments to function ‘mining_mode’"?
Thank you.




That should be trivial to fix. Hold on.