Open colonizingmyownbrain opened 7 years ago
Thanks to this SO answer, I was able to modify the crypto.cpp file at line 326 like this:
return sizeof(rs_comm) + pubs_count * sizeof(((rs_comm*)0)->ab[0]);
Pull request #42 is dealing with this issue.
The actual location in the code is the problem and not the actual code line. Especially in the tcip for linux section.
But if it's a typo type thing? Then that seems like it should work.
sometimes need look PR for this but i think fixed by you #closed
On Feb 1, 2018 2:45 PM, "PHFirecoin" notifications@github.com wrote:
But if it's a typo type thing? Then that seems like it should work.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/34#issuecomment-362165181, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tcv-b2Q_2EtPcNpPS38qBxjaeUfzks5tQU-HgaJpZM4Nh8aO .
when compiling before genesis block generation I get error below, I have tried each workaround listed but to no avail... help please.
[ 22%] Built target Common make[3]: Entering directory '/media/root/Acer/aaa/cryptonote-master/build/release' make[3]: Leaving directory '/media/root/Acer/aaa/cryptonote-master/build/release' make[3]: Entering directory '/media/root/Acer/aaa/cryptonote-master/build/release' [ 23%] Building CXX object src/CMakeFiles/Crypto.dir/crypto/crypto.cpp.o /media/root/Acer/aaa/cryptonote-master/src/crypto/crypto.cpp: In function ‘size_t Crypto::rs_comm_size(size_t)’: /media/root/Acer/aaa/cryptonote-master/src/crypto/crypto.cpp:326:58: error: value-initialization of incomplete type ‘Crypto::rs_comm:: []’
return sizeof(rs_comm) + pubs_count * sizeof(rs_comm().ab[0]);
^*
src/CMakeFiles/Crypto.dir/build.make:158: recipe for target 'src/CMakeFiles/Crypto.dir/crypto/crypto.cpp.o' failed
make[3]: [src/CMakeFiles/Crypto.dir/crypto/crypto.cpp.o] Error 1
make[3]: Leaving directory '/media/root/Acer/aaa/cryptonote-master/build/release'
CMakeFiles/Makefile2:528: recipe for target 'src/CMakeFiles/Crypto.dir/all' failed
make[2]: [src/CMakeFiles/Crypto.dir/all] Error 2
make[2]: Leaving directory '/media/root/Acer/aaa/cryptonote-master/build/release'
Makefile:94: recipe for target 'all' failed
make[1]: [all] Error 2
make[1]: Leaving directory '/media/root/Acer/aaa/cryptonote-master/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2