cryptonotefoundation / cryptonote

CryptoNote protocol implementation. This is the reference repository for starting a new CryptoNote currency. See /src/cryptonote_config.h
https://cryptonote.org/
991 stars 6.1k forks source link

StreamTools.cpp.o: plugin needed to handle lto object #292

Open ZF7724 opened 6 years ago

ZF7724 commented 6 years ago

Can you please go to https://pastebin.com/rDrL5Q8J. My code stops compiling at 62%. I don't know what to do. This occurs when I run make on my ubuntu instances. (I got the genesis block and everything, just stuck on compiling them on my instances)

SoraKohaku commented 6 years ago

this old code

On Mon, Aug 13, 2018 at 10:22 PM Assit1 notifications@github.com wrote:

Can you please go to https://pastebin.com/rDrL5Q8J. My code stops compiling at 62%. I don't know what to do.

— 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/292, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tS6gD3Ga05z-KVPvULRj8NffmYPSks5uQX2zgaJpZM4V6fvn .

-- Nur1Labs©2013


Site Info -> Here http://nur1labs.com/

Easy Transaction MoneyBookers https://www.moneybookers.com/app/?rid=17274145

ghost commented 5 years ago

just change that line in src/CMakeFile.txt : target_link_libraries(ConnectivityTool CryptoNoteCore Common Logging Crypto P2P Rpc Http Serialization System ${Boost_LIBRARIES})

by this one : target_link_libraries(ConnectivityTool CryptoNoteCore Logging Crypto P2P Rpc Http Serialization Common System ${Boost_LIBRARIES})

JoshuaPaulBarnard commented 8 months ago

How to Compile a CryptoNote Coin on Windows 10/11

There 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.
You can also check for any updates to this guide at my blog: https://joshuapaulbarnard.tech.blog/2023/10/04/how-to-compile-a-cryptonote-coin-on-windows-10-11/

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 CRYPTONOTE

We are going to build for 64-bit Windows.

Download the Build Tools for Visual Studio 2019 Installer When it opens up select C++ build tools, it automatically selects the needed parts. Make sure MSVC v141 Build Tools is selected. Install Boost v1.71.0. Select the appropriate version for your system. Boost 64-bit

COMPILING CRYPTONOTE ON WINDOWS WITH VS2019

From the start menu, open Developer Command Prompt for VS 2019. cd mkdir build cd build cmake -G "Visual Studio 16 2019" -A x64 .. -DBOOST_ROOT=B:/local/boost_1_71_0 MSBuild CryptoNote.sln /p:Configuration=Release /p:PlatformToolset=v141 /m