--- Log opened Fri Jan 24 00:00:19 2020 01:39 -!- jonatack [~jon@213.152.161.138] has quit [Ping timeout: 265 seconds] 02:14 -!- wumpus [~ircclient@pdpc/supporter/professional/wumpus] has quit [Read error: Connection reset by peer] 02:41 -!- wumpus [~ircclient@pdpc/supporter/professional/wumpus] has joined #bitcoin-builds 02:52 -!- jonatack [~jon@109.202.107.15] has joined #bitcoin-builds 03:04 -!- Anastasia23Stros [~Anastasia@ns334669.ip-5-196-64.eu] has joined #bitcoin-builds 05:25 -!- jonatack [~jon@109.202.107.15] has quit [Quit: jonatack] 07:43 -!- gertjaap [sid322815@gateway/web/irccloud.com/x-mennlwgkyhveruam] has quit [] 07:44 -!- gertjaap [sid322815@gateway/web/irccloud.com/x-xbxbvsqvdxbfnsmc] has joined #bitcoin-builds 08:12 -!- Anastasia23Stros [~Anastasia@ns334669.ip-5-196-64.eu] has quit [Ping timeout: 260 seconds] 08:57 -!- fanquake [sid369002@gateway/web/irccloud.com/x-zkuwftvtortbmdik] has quit [] 08:57 -!- fanquake [sid369002@gateway/web/irccloud.com/x-zwtgccesrfcajxon] has joined #bitcoin-builds 09:06 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #bitcoin-builds 10:59 -!- gtklocker [~gtklocker@snf-9719.ok-kno.grnetcloud.net] has joined #bitcoin-builds 11:00 < gtklocker> I'm trying to use a method from src/outputtype.cpp (GetAllDestinationsForKey) from outside the bitcoin tree but I can't find a good way to link 11:01 < gtklocker> and I can't find much about using functions from bitcoin other than libbitcoinconsensus 11:01 < gtklocker> however this doesn't exist in libbitcoinconsensus 11:02 < gtklocker> maybe there's an easy way to get this done with automake but I'm not so well versed in it :/ 11:03 < gtklocker> structure of my project is: my file is in src/main.cpp and the bitcoin tree is in third_party/bitcoin/... 11:13 < ryanofsky> can you just link against libbitcoin_common.a instead of libbitcoin_consensus.a? 11:19 < gtklocker> that's what I tried but still no luck 11:19 < gtklocker> I get undefined reference to `GetAllDestinationsForKey` 11:20 < gtklocker> for the record this is the monstrosity of a command I have ended up constructing 11:20 < gtklocker> g++ -Ithird_party/ -Ithird_party/bitcoin/src -levent_pthreads -levent -lpthread third_party/bitcoin/src/libbitcoin_consensus.a third_party/bitcoin/src/libbitcoin_common.a src/main.cpp 11:21 < gtklocker> I have consensus too because I want the CPubKey too 11:30 < ryanofsky> you may need to change the order of the command line to put libraries after main. you have to put library dependencies after the things that depend on them 12:00 < gtklocker> this was really helpful thanks 12:00 < gtklocker> I managed to do it thank you very much :) --- Log closed Sat Jan 25 00:00:20 2020