-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while make Crypto chacha8.h #328
Comments
it's on algorithm. you need tweak on simple think. what you used OS atm?
…On Sun, Mar 8, 2020 at 11:46 PM markxoe ***@***.***> wrote:
/home/mark/toastbrotcoin/src/crypto/chacha8.h: In function ‘void
Crypto::generate_chacha8_key(Crypto::cn_context&, const string&,
Crypto::chacha8_key&)’:
/home/mark/toastbrotcoin/src/crypto/chacha8.h:48:40: error: ‘void*
memcpy(void*, const void*, size_t)’ writing to an object of non-trivially
copyable type ‘struct Crypto::chacha8_key’; use copy-assignment or
copy-initialization instead [-Werror=class-memaccess] 48 | memcpy(&key,
&pwd_hash, sizeof(key)); | ^
/home/mark/toastbrotcoin/src/crypto/chacha8.h:23:10: note: ‘struct
Crypto::chacha8_key’ declared here 23 | struct chacha8_key { | ^~~~~~~~~~~
Hello,
I tried to solve the problem with reinstalling gcc...
I installed boost with sudo apt install libboost-all-dev
Can anyone help me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#328?email_source=notifications&email_token=ACXHLNN6K4P4AMLFVZH6VBTRGPDXBA5CNFSM4LD26S52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITMM2TQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXHLNN5TKNN253IHOORB7TRGPDXBANCNFSM4LD26S5Q>
.
--
Nur1Labs©2010
______________________________
Site Info -> Here <https://nur1labs.com/>
AriA : amf8a9ondahtxisA3GWLK8jvhhjnNBR9bk
BVOne : bDo2U4UEoM9gayRf1GyZ3zZo5B8nUSDBbm
|
It is Linux.... |
No version is not name like ubuntu 16.x
…On Tue, Mar 10, 2020, 01:15 markxoe ***@***.***> wrote:
It is Linux....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#328?email_source=notifications&email_token=ACXHLNICN5D27QSEL324RJDRGUW4XA5CNFSM4LD26S52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOINORY#issuecomment-596694855>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXHLNL7JZINVXKOKNV4C4TRGUW4XANCNFSM4LD26S5Q>
.
|
Downgrade to Ubuntu 16.X Also, in some circumstances the code in CMakeLists.txt is outdated. In that cases reference @ghost s post here: #292 In short, in CMakeLists.txt change: to target_link_libraries(ConnectivityTool CryptoNoteCore Logging Crypto P2P Rpc Http Serialization Common System ${Boost_LIBRARIES}) Sorry if this is a dead thread but this worked for me! |
How to Compile a CryptoNote Coin on Windows 10/11There has been an active issue for over 5 years now when trying to build the source on modern compilers. Here is how I was able to compile my CryptoNote Coin using Windows 10. I made this guide on Windows 10 in October, 2023. If you need help compiling on Linux, then you can check my Ubuntu 14/16 guide. WINDOWS DEPENDENCIES FOR CRYPTONOTEWe are going to build for 64-bit Windows. Download the Build Tools for Visual Studio 2019 Installer COMPILING CRYPTONOTE ON WINDOWS WITH VS2019From the start menu, open Developer Command Prompt for VS 2019. |
/home/mark/toastbrotcoin/src/crypto/chacha8.h: In function ‘void Crypto::generate_chacha8_key(Crypto::cn_context&, const string&, Crypto::chacha8_key&)’: /home/mark/toastbrotcoin/src/crypto/chacha8.h:48:40: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Crypto::chacha8_key’; use copy-assignment or copy-initialization instead [-Werror=class-memaccess] 48 | memcpy(&key, &pwd_hash, sizeof(key)); | ^ /home/mark/toastbrotcoin/src/crypto/chacha8.h:23:10: note: ‘struct Crypto::chacha8_key’ declared here 23 | struct chacha8_key { | ^~~~~~~~~~~
Hello,
I tried to solve the problem with reinstalling gcc...
I installed boost with sudo apt install libboost-all-dev
Can anyone help me?
The text was updated successfully, but these errors were encountered: