Title: How can know mgw version of my ubuntu Post by: linz on December 13, 2020, 03:37:25 PM I compile by make wallet qt file
get error as follow /usr/bin/ld: cannot find -lboost_system-mgw49-mt-sd-1_55 /usr/bin/ld: cannot find -lboost_filesystem-mgw49-mt-sd-1_55 /usr/bin/ld: cannot find -lboost_program_options-mgw49-mt-sd-1_55 /usr/bin/ld: cannot find -lboost_thread-mgw49-mt-sd-1_55 collect2: error: ld returned 1 exit status Makefile:532: recipe for target 'monix-qt' failed I think it is problem with version of mgw49-mt-sd-1_55 here is qt file codes Code: # for boost 1.37, add -mt to the boost libraries Code: BOOST_LIB_SUFFIX=-mgw49-mt-sd-1_55 this problem will gone what is the mgw version of gcc 9.2 version Please help me. Title: Re: How can know mgw version of my ubuntu Post by: NotATether on December 13, 2020, 09:14:32 PM You're trying to compile bitcoin core inside MinGW on Windows, instead of Ubuntu. Or are you running Ubuntu inside Windows Subsystem for Linux? ???
Either way, you're missing the Boost libraries and that's why the compilation is failing. On Ubuntu you can install them with apt-get install libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev. But MinGW does not have apt, so are you sure you're not actually compiling Core from inside WSL Ubuntu? ??? Title: Re: How can know mgw version of my ubuntu Post by: linz on December 14, 2020, 06:23:18 AM You're trying to compile bitcoin core inside MinGW on Windows, instead of Ubuntu. Or are you running Ubuntu inside Windows Subsystem for Linux? ??? Either way, you're missing the Boost libraries and that's why the compilation is failing. On Ubuntu you can install them with apt-get install libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev. But MinGW does not have apt, so are you sure you're not actually compiling Core from inside WSL Ubuntu? ??? I use digitalocean droplet server with ubuntu18.04 to compile this. cd MCOIN when I try to command make this error happen I try to command make -mt error gone but I dont know it is correct answer ot not. I already install Install the required dependencies. sudo apt-get install build-essential libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libdb-dev libdb++-dev libminiupnpc-dev libssl1.0-dev Required dependencies to compile the QT wallet. sudo apt-get install libboost-all-dev qt5-default libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev from link https://www.walletbuilders.com/learning-center/article/how-do-i-compile-a-daemon-for-ubuntu-server-1804-scrypt-powpos Thanks your reply. help for more solution |