Bitcoin Forum
May 06, 2024, 12:57:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: debian 11/bullseye deps  (Read 187 times)
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
December 09, 2021, 11:54:29 AM
 #21

I forgot to mention also, I did need to modify 'cppForSwig/TxHashFilters.h', although perhaps you already noticed this? There's a call to a non-existant assignment constructor for struct TxHashHints on ln 560 of 'TxHashFilters.cpp', so I wrote the constructor in the header file.

Code:
TxHashHints hint{hash};

This line? Initializer list should build. I'm guessing your version of gcc is older than mine (11.1). Try this maybe:

Code:
TxHashHints hint = {hash};

This is tested here:

https://github.com/goatpig/BitcoinArmory/blob/dev/cppForSwig/gtest/UtilsTests.cpp#L6545

You may want to reduce the search space, this test can be cpu hungry. ("./configure --enable-tests" to build tests)

1714957077
Hero Member
*
Offline Offline

Posts: 1714957077

View Profile Personal Message (Offline)

Ignore
1714957077
Reply with quote  #2

1714957077
Report to moderator
1714957077
Hero Member
*
Offline Offline

Posts: 1714957077

View Profile Personal Message (Offline)

Ignore
1714957077
Reply with quote  #2

1714957077
Report to moderator
1714957077
Hero Member
*
Offline Offline

Posts: 1714957077

View Profile Personal Message (Offline)

Ignore
1714957077
Reply with quote  #2

1714957077
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Carlton Banks (OP)
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
December 09, 2021, 01:45:50 PM
 #22

Code:
TxHashHints hint{hash};

This line? Initializer list should build. I'm guessing your version of gcc is older than mine (11.1).


bullseye has 10.2, probably will get 10.3 in the end, if we're lucky


Try this maybe:

Code:
TxHashHints hint = {hash};

nope, gcc 10.2 won't eat it.

Vires in numeris
Pages: « 1 [2]  All
  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!