init.cpp: In function 'std::__cxx11::string LicenseInfo()':
init.cpp:514:91: error: no matching function for call to 'format(std::__cxx11::string)'
raph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core Developers"))) + "\n" +
^
In file included from chain.h:11:0,
from main.h:17,
from masternode.h:12,
from activemasternode.h:11,
from init.cpp:15:
tinyformat.h:895:6: note: candidate: template void tinyformat::format(std::ostream&, const char*, const T1&, const Args& ...)
void format(std::ostream& out, const char* fmt, const T1& v1, const Args&... ar
^
tinyformat.h:895:6: note: template argument deduction/substitution failed:
init.cpp:514:39: note: cannot convert '_(const char*)()' (type 'std::__cxx11::string {aka std::__cxx11::basic_string}') to type 'std::ostream& {aka std::basic_ostream&}'
FormatParagraph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core D
^
In file included from chain.h:11:0,
from main.h:17,
from masternode.h:12,
from activemasternode.h:11,
from init.cpp:15:
tinyformat.h:902:13: note: candidate: template std::__cxx11::string tinyformat::format(const char*, const T1&, const Args& ...)
std::string format(const char* fmt, const T1& v1, const Args&... args)
^
tinyformat.h:902:13: note: template argument deduction/substitution failed:
init.cpp:514:39: note: cannot convert '_(const char*)()' (type 'std::__cxx11::string {aka std::__cxx11::basic_string}') to type 'const char*'
FormatParagraph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core D
^
In file included from chain.h:11:0,
from main.h:17,
from masternode.h:12,
from activemasternode.h:11,
from init.cpp:15:
tinyformat.h:910:13: note: candidate: template std::__cxx11::string tinyformat::format(const string&, const T1&, const Args& ...)
std::string format(const std::string& fmt, const T1& v1, const Args&... args)
^
tinyformat.h:910:13: note: template argument deduction/substitution failed:
init.cpp:514:91: note: candidate expects at least 2 arguments, 1 provided
raph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core Developers"))) + "\n" +
^
Makefile:3866: recipe for target 'libbitcoin_server_a-init.o' failed
make[2]: *** [libbitcoin_server_a-init.o] Error 1
make[2]: Leaving directory '/root/MagnaCoin/src'
Makefile:7033: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/MagnaCoin/src'
Makefile:595: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Get this error?
I also have errors when compiling
init.cpp: In function ‘std::string LicenseInfo()’:
init.cpp:514:91: error: no matching function for call to ‘format(std::string)’
FormatParagraph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core Developers"))) + "\n" +
^
init.cpp:514:91: note: candidates are:
In file included from chain.h:11:0,
from main.h:17,
from masternode.h:12,
from activemasternode.h:11,
from init.cpp:15:
tinyformat.h:895:6: note: template void tinyformat::format(std::ostream&, const char*, const T1&, const Args& ...)
void format(std::ostream& out, const char* fmt, const T1& v1, const Args&... args)
^
tinyformat.h:895:6: note: template argument deduction/substitution failed:
init.cpp:514:91: note: cannot convert ‘_(const char*)()’ (type ‘std::string {aka std::basic_string}’) to type ‘std::ostream& {aka std::basic_ostream&}’
FormatParagraph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core Developers"))) + "\n" +
^
In file included from chain.h:11:0,
from main.h:17,
from masternode.h:12,
from activemasternode.h:11,
from init.cpp:15:
tinyformat.h:902:13: note: template std::string tinyformat::format(const char*, const T1&, const Args& ...)
std::string format(const char* fmt, const T1& v1, const Args&... args)
^
tinyformat.h:902:13: note: template argument deduction/substitution failed:
init.cpp:514:91: note: cannot convert ‘_(const char*)()’ (type ‘std::string {aka std::basic_string}’) to type ‘const char*’
FormatParagraph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core Developers"))) + "\n" +
^
In file included from chain.h:11:0,
from main.h:17,
from masternode.h:12,
from activemasternode.h:11,
from init.cpp:15:
tinyformat.h:910:13: note: template std::string tinyformat::format(const string&, const T1&, const Args& ...)
std::string format(const std::string& fmt, const T1& v1, const Args&... args)
^
tinyformat.h:910:13: note: template argument deduction/substitution failed:
init.cpp:514:91: note: candidate expects 3 arguments, 1 provided
FormatParagraph(strprintf(_("Copyright (C) 2017 The MagnaCoin Core Developers"))) + "\n" +
^
init.cpp:522:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^