My first Compile for pandacoind and pandacoin-qt I did on an Rapsberry Pi was an 3.0.2 and works good.
The Actual Version seems to be 3.0.5
I try to compile the pandacoind (3.0.5) from
https://github.com/DigitalPandaCoin/PandaCoinand get the Following Error:
###################################################################################
miner.cpp: In function ‘CBlock* CreateNewBlock(CWallet*, bool, int64_t*)’:
miner.cpp:117:5: error: ‘unique_ptr’ was not declared in this scope
unique_ptr<CBlock> pblock(new CBlock());
^
miner.cpp:117:22: error: expected primary-expression before ‘>’ token
unique_ptr<CBlock> pblock(new CBlock());
^
miner.cpp:117:43: error: ‘pblock’ was not declared in this scope
unique_ptr<CBlock> pblock(new CBlock());
^
miner.cpp: In function ‘void StakeMiner(CWallet*)’:
miner.cpp:572:13: error: ‘unique_ptr’ was not declared in this scope
unique_ptr<CBlock> pblock(CreateNewBlock(pwallet, true, &nFees));
^
miner.cpp:572:30: error: expected primary-expression before ‘>’ token
unique_ptr<CBlock> pblock(CreateNewBlock(pwallet, true, &nFees));
^
miner.cpp:572:76: error: ‘pblock’ was not declared in this scope
unique_ptr<CBlock> pblock(CreateNewBlock(pwallet, true, &nFees));
^
miner.cpp: In function ‘CBlock* CreateNewBlock(CWallet*, bool, int64_t*)’:
miner.cpp:381:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
makefile.unix:202: recipe for target 'obj/miner.o' failed
make: *** [obj/miner.o] Error 1
#####################################################################################
Also I try to compile the pandacoin-qt from
https://github.com/DigitalPandaCoin/PandaCoinand get the Following Error:
#####################################################################################
src/qt/richtextdelegate.cpp: In member function ‘virtual void RichTextDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’:
src/qt/richtextdelegate.cpp:45:30: error: ‘class QStyleOptionViewItem’ has no member named ‘widget’
QStyle *style = optionV4.widget? optionV4.widget->style() : QApplication::style();
^
src/qt/richtextdelegate.cpp:45:47: error: ‘class QStyleOptionViewItem’ has no member named ‘widget’
QStyle *style = optionV4.widget? optionV4.widget->style() : QApplication::style();
^
src/qt/richtextdelegate.cpp:51:14: error: ‘class QStyleOptionViewItem’ has no member named ‘text’
optionV4.text = QString();
^
src/qt/richtextdelegate.cpp: In member function ‘virtual QSize RichTextDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’:
src/qt/richtextdelegate.cpp:107:26: error: ‘class QStyleOptionViewItem’ has no member named ‘text’
doc.setHtml(optionV4.text);
^
Makefile:1732: recipe for target 'build/richtextdelegate.o' failed
make: *** [build/richtextdelegate.o] Error 1
######################################################################################
Any Idea what the Problem could be?