Post
Topic
Board Announcements (Altcoins)
Re: Vertcoin - 1 | ASIC - 0 | Lyra2RE | Decentralised | GPU Mineable | Open Source
by
feldenthorne
on 06/11/2015, 22:20:10 UTC

hi , i'm trying to compile an OSX qt but have hit an error.

i've tried qt creator 5.2.1 5.3.2 and 5.5.0

the deps in the vertcoin-qt.pro say boost 1.52
i've tried 1.54 and 1.55
macports was playing silly buggers else i would've tried 1.52 as well, but apparently 0.8.6.2 updated code to 1.55 so i figure it's probalby not boost ?


my error is a tad excessive
http://pastebin.com/PASA0H4p

but here's the tail end ....
Code:
      std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) in libleveldb.a(env_posix.o)
      std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libmemenv.a(memenv.o)
ld: symbol(s) not found for architecture x86_64

Why is it using leveldb to compile? Shouldn't you be using berkeley db for bitcoin-esque coins, particularly bdb 4.8, and if you're using another version you have to configure using --with-incompatible-bdb flag?

Because leveldb is part of the sources.

To answer the original question, it looks like QT Creator isn't compiling leveldb for you, so it's probably easiest to pop open your terminal, navigate to vertcoin/src/leveldb, and run a make all.