brian112358 / avermore-miner

Optimized AMD miner for x16r / x16s
https://bitcointalk.org/index.php?topic=3330680.msg34813230
GNU General Public License v3.0
42 stars 25 forks source link

ulong error macOS #11

Open fabulouspanda opened 6 years ago

fabulouspanda commented 6 years ago

I can compile the project for macOS but when running it I get

ulong FAST_ROTL64_HI(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x.s10, x, 32 - (y - 32)))); }
      ^
error: invalid reinterpretation: sizes of 'ulong' (aka 'unsigned long') and 'int' must match
ulong FAST_ROTL64_HI(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x.s10, x, 32 - (y - 32)))); }
                                                           ^  [11:13:29] Failed

It seems to be down to not having a condition for the amd drivers being unavailable in xevan.cl and x16.cl

carlzimmerman commented 6 years ago

Same issue here.

nelsoncc commented 5 years ago

@fabulouspanda, @carlzimmerman could you please provide what were the steps you made to compile on macos? What are the dependencies I need to install?

Kind regards