Open Seymour-w opened 5 years ago
Hi, You missed omnilib.you need build it and copy it to right path.
git clone https://github.com/HcashOrg/hcOMNI.git cd hcOMNI $ chmod 777 autogen.sh $ chmod 777 share/genbuild.sh
$ sudo apt-get install make pkg-config autoconf libtool $ sudo apt-get install libboost-all-dev libssl-dev libevent-dev libdb-dev libdb++-dev
$ ./autogen.sh $ ./configure --with-incompatible-bdb --disable-tests --disable-bench $ make clean $ make
cd src ar rc libomnicored.a omnicored-bitcoind.o omnicored-omnicoreApi.o cp univalue/.libs/libunivalue.a . cp crypto/libbitcoin_crypto.a . cp leveldb/libleveldb.a . cp leveldb/libmemenv.a . cp secp256k1/.libs/libsecp256k1.a .
hcwallet and hcd cp *.a $GOPATH/src/github.com/HcashOrg/hcwallet/omnilib
https://github.com/HcashOrg/hcOMNI
Seymour-w notifications@github.com 于2019年4月3日周三 下午2:45写道:
github.com/HcashOrg/hcwallet/omnilib
/usr/bin/ld: cannot find -lomnicored /usr/bin/ld: cannot find -lbitcoin_server /usr/bin/ld: cannot find -lbitcoin_common /usr/bin/ld: cannot find -lunivalue /usr/bin/ld: cannot find -lbitcoin_util /usr/bin/ld: cannot find -lbitcoin_wallet /usr/bin/ld: cannot find -lbitcoin_consensus /usr/bin/ld: cannot find -lbitcoin_crypto /usr/bin/ld: cannot find -lleveldb /usr/bin/ld: cannot find -lmemenv /usr/bin/ld: cannot find -lsecp256k1 collect2: error: ld returned 1 exit status i use go1.9 version
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HcashOrg/hcwallet/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AHkpZb7XGRQP1dn8f7GJs9TYNFXeQlKhks5vdE4AgaJpZM4cZvGd .
Thx! Is the code unverified?
undefined reference to `event_enable_debug_logging' and qt/splashscreen.cpp:10:2: error: #endif without #if
I've already annotated it. But the compilation still fails
omnilib/libbitcoin_server.a(libbitcoin_server_a-init.o): In function AppInit2(boost::thread_group&, CScheduler&)': /home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/init.cpp:1264: undefined reference to
CZMQNotificationInterface::CreateWithArguments(std::map<std::cxx11::basic_string<char, std::char_traitsThreadMapPort()': /home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1385: undefined reference to
upnpDiscover'
/home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1396: undefined reference to UPNP_GetValidIGD' /home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1401: undefined reference to
UPNP_GetExternalIPAddress'
/home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1431: undefined reference to strupnperror' /home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1426: undefined reference to
UPNP_AddPortMapping'
/home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1449: undefined reference to freeUPNPDevlist' /home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1441: undefined reference to
UPNP_DeletePortMapping'
/home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1443: undefined reference to freeUPNPDevlist' /home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1444: undefined reference to
FreeUPNPUrls'
/home/btcpool/hcash/src/github.com/HcashOrg/hcOMNI/src/net.cpp:1451: undefined reference to `FreeUPNPUrls'
collect2: error: ld returned 1 exit status
hi coolsnady Hcwallet could not be compiled. Where can I download the binaries?
github.com/HcashOrg/hcwallet/omnilib
/usr/bin/ld: cannot find -lomnicored /usr/bin/ld: cannot find -lbitcoin_server /usr/bin/ld: cannot find -lbitcoin_common /usr/bin/ld: cannot find -lunivalue /usr/bin/ld: cannot find -lbitcoin_util /usr/bin/ld: cannot find -lbitcoin_wallet /usr/bin/ld: cannot find -lbitcoin_consensus /usr/bin/ld: cannot find -lbitcoin_crypto /usr/bin/ld: cannot find -lleveldb /usr/bin/ld: cannot find -lmemenv /usr/bin/ld: cannot find -lsecp256k1 collect2: error: ld returned 1 exit status i use go1.9 version