Bitcoin Forum
June 21, 2024, 01:19:46 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can know mgw version of my ubuntu  (Read 94 times)
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
December 13, 2020, 03:37:25 PM
 #1

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
# use: qmake BOOST_LIB_SUFFIX=-mt
# for boost thread win32 with _win32 sufix
# use: BOOST_THREAD_LIB_SUFFIX=_win32-...
# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8
Code:
BOOST_LIB_SUFFIX=-mgw49-mt-sd-1_55
BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1j/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1j
MINIUPNPC_LIB_SUFFIX=-miniupnpc
MINIUPNPC_INCLUDE_PATH=C:/deps/miniupnpc
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
I think if change version match by my install packages .
this problem will gone
 what is the mgw version of gcc 9.2 version

Please help me.
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6905


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 13, 2020, 09:14:32 PM
 #2

You're trying to compile bitcoin core inside MinGW on Windows, instead of Ubuntu. Or are you running Ubuntu inside Windows Subsystem for Linux?  Huh

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?  Huh

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
December 14, 2020, 06:23:18 AM
 #3

You're trying to compile bitcoin core inside MinGW on Windows, instead of Ubuntu. Or are you running Ubuntu inside Windows Subsystem for Linux?  Huh

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?  Huh

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!