1inch / profanity2

Vanity address generator for Ethereum
337 stars 91 forks source link

Unable to compile current master #8

Closed DefiDebauchery closed 1 year ago

DefiDebauchery commented 1 year ago

When attempting to test #5 with the new commits, I am now getting the following:

Dispatcher.cpp: In function ‘cl_ulong4 fromHex(const string&)’:
Dispatcher.cpp:16:32: error: ‘htonl’ was not declared in this scope
 #define htonll(x) ((((uint64_t)htonl(x)) << 32) | htonl((x) >> 32))
                                ^
Dispatcher.cpp:47:4: note: in expansion of macro ‘htonll’
    htonll(*(uint64_t *)(data + 24)),
    ^~~~~~
Dispatcher.cpp:16:32: note: suggested alternative: ‘htonll’
 #define htonll(x) ((((uint64_t)htonl(x)) << 32) | htonl((x) >> 32))
                                ^
Dispatcher.cpp:47:4: note: in expansion of macro ‘htonll’
    htonll(*(uint64_t *)(data + 24)),
    ^~~~~~
k06a commented 1 year ago

@DefiDebauchery thx, now should be fixed