Hello! I'm trying to install the openassets-js with npm install openassets command
I'm getting this error:
make: Entering directory `/home/mario/projects/git/tuminium/node_modules/openassets/node_modules/bitcore/node_modules/bignum/build'
CXX(target) Release/obj.target/bignum/bignum.o
../bignum.cc:172:27: error: expected class-name before ‘{’ token
class BigNum : ObjectWrap {
^
../bignum.cc:189:34: error: ‘Arguments’ does not name a type
static Handle New(const Arguments& args);
^
../bignum.cc:189:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle New(const Arguments& args);
^
../bignum.cc:190:39: error: ‘Arguments’ does not name a type
static Handle ToString(const Arguments& args);
^
../bignum.cc:190:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle ToString(const Arguments& args);
^
../bignum.cc:191:35: error: ‘Arguments’ does not name a type
static Handle Badd(const Arguments& args);
^
../bignum.cc:191:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Badd(const Arguments& args);
^
../bignum.cc:192:35: error: ‘Arguments’ does not name a type
static Handle Bsub(const Arguments& args);
^
../bignum.cc:192:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bsub(const Arguments& args);
^
../bignum.cc:193:35: error: ‘Arguments’ does not name a type
static Handle Bmul(const Arguments& args);
^
../bignum.cc:193:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bmul(const Arguments& args);
^
../bignum.cc:194:35: error: ‘Arguments’ does not name a type
static Handle Bdiv(const Arguments& args);
^
../bignum.cc:194:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bdiv(const Arguments& args);
^
../bignum.cc:195:35: error: ‘Arguments’ does not name a type
static Handle Uadd(const Arguments& args);
^
../bignum.cc:195:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Uadd(const Arguments& args);
^
../bignum.cc:196:35: error: ‘Arguments’ does not name a type
static Handle Usub(const Arguments& args);
^
../bignum.cc:196:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Usub(const Arguments& args);
^
../bignum.cc:197:35: error: ‘Arguments’ does not name a type
static Handle Umul(const Arguments& args);
^
../bignum.cc:197:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Umul(const Arguments& args);
^
../bignum.cc:198:35: error: ‘Arguments’ does not name a type
static Handle Udiv(const Arguments& args);
^
../bignum.cc:198:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Udiv(const Arguments& args);
^
../bignum.cc:199:40: error: ‘Arguments’ does not name a type
static Handle Umul_2exp(const Arguments& args);
^
../bignum.cc:199:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Umul_2exp(const Arguments& args);
^
../bignum.cc:200:40: error: ‘Arguments’ does not name a type
static Handle Udiv_2exp(const Arguments& args);
^
../bignum.cc:200:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Udiv_2exp(const Arguments& args);
^
../bignum.cc:201:35: error: ‘Arguments’ does not name a type
static Handle Babs(const Arguments& args);
^
../bignum.cc:201:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Babs(const Arguments& args);
^
../bignum.cc:202:35: error: ‘Arguments’ does not name a type
static Handle Bneg(const Arguments& args);
^
../bignum.cc:202:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bneg(const Arguments& args);
^
../bignum.cc:203:35: error: ‘Arguments’ does not name a type
static Handle Bmod(const Arguments& args);
^
../bignum.cc:203:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bmod(const Arguments& args);
^
../bignum.cc:204:35: error: ‘Arguments’ does not name a type
static Handle Umod(const Arguments& args);
^
../bignum.cc:204:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Umod(const Arguments& args);
^
../bignum.cc:205:36: error: ‘Arguments’ does not name a type
static Handle Bpowm(const Arguments& args);
^
../bignum.cc:205:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bpowm(const Arguments& args);
^
../bignum.cc:206:36: error: ‘Arguments’ does not name a type
static Handle Upowm(const Arguments& args);
^
../bignum.cc:206:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Upowm(const Arguments& args);
^
../bignum.cc:207:35: error: ‘Arguments’ does not name a type
static Handle Upow(const Arguments& args);
^
../bignum.cc:207:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Upow(const Arguments& args);
^
../bignum.cc:208:36: error: ‘Arguments’ does not name a type
static Handle Uupow(const Arguments& args);
^
../bignum.cc:208:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Uupow(const Arguments& args);
^
../bignum.cc:209:37: error: ‘Arguments’ does not name a type
static Handle Brand0(const Arguments& args);
^
../bignum.cc:209:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Brand0(const Arguments& args);
^
../bignum.cc:210:38: error: ‘Arguments’ does not name a type
static Handle Uprime0(const Arguments& args);
^
../bignum.cc:210:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Uprime0(const Arguments& args);
^
../bignum.cc:211:40: error: ‘Arguments’ does not name a type
static Handle Probprime(const Arguments& args);
^
../bignum.cc:211:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Probprime(const Arguments& args);
^
../bignum.cc:212:39: error: ‘Arguments’ does not name a type
static Handle Bcompare(const Arguments& args);
^
../bignum.cc:212:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bcompare(const Arguments& args);
^
../bignum.cc:213:39: error: ‘Arguments’ does not name a type
static Handle Scompare(const Arguments& args);
^
../bignum.cc:213:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Scompare(const Arguments& args);
^
../bignum.cc:214:39: error: ‘Arguments’ does not name a type
static Handle Ucompare(const Arguments& args);
^
../bignum.cc:214:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Ucompare(const Arguments& args);
^
../bignum.cc:215:34: error: ‘Arguments’ does not name a type
static Handle Bop(const Arguments& args, int op);
^
../bignum.cc:215:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bop(const Arguments& args, int op);
^
../bignum.cc:216:35: error: ‘Arguments’ does not name a type
static Handle Band(const Arguments& args);
^
../bignum.cc:216:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Band(const Arguments& args);
^
../bignum.cc:217:34: error: ‘Arguments’ does not name a type
static Handle Bor(const Arguments& args);
^
../bignum.cc:217:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bor(const Arguments& args);
^
../bignum.cc:218:35: error: ‘Arguments’ does not name a type
static Handle Bxor(const Arguments& args);
^
../bignum.cc:218:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bxor(const Arguments& args);
^
../bignum.cc:219:39: error: ‘Arguments’ does not name a type
static Handle Binvertm(const Arguments& args);
^
../bignum.cc:219:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Binvertm(const Arguments& args);
^
../bignum.cc:220:36: error: ‘Arguments’ does not name a type
static Handle Bsqrt(const Arguments& args);
^
../bignum.cc:220:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bsqrt(const Arguments& args);
^
../bignum.cc:221:36: error: ‘Arguments’ does not name a type
static Handle Broot(const Arguments& args);
^
../bignum.cc:221:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Broot(const Arguments& args);
^
../bignum.cc:222:40: error: ‘Arguments’ does not name a type
static Handle BitLength(const Arguments& args);
^
../bignum.cc:222:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle BitLength(const Arguments& args);
^
../bignum.cc:223:35: error: ‘Arguments’ does not name a type
static Handle Bgcd(const Arguments& args);
^
../bignum.cc:223:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bgcd(const Arguments& args);
^
^
../bignum.cc:224:38: error: ‘Arguments’ does not name a type
static Handle Bjacobi(const Arguments& args);
^
../bignum.cc:224:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bjacobi(const Arguments& args);
^
In file included from ../bignum.cc:8:0:
...
Hello! I'm trying to install the openassets-js with npm install openassets command
I'm getting this error:
make: Entering directory `/home/mario/projects/git/tuminium/node_modules/openassets/node_modules/bitcore/node_modules/bignum/build' CXX(target) Release/obj.target/bignum/bignum.o ../bignum.cc:172:27: error: expected class-name before ‘{’ token class BigNum : ObjectWrap { ^ ../bignum.cc:189:34: error: ‘Arguments’ does not name a type static Handle New(const Arguments& args);
^
../bignum.cc:189:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle New(const Arguments& args);
^
../bignum.cc:190:39: error: ‘Arguments’ does not name a type
static Handle ToString(const Arguments& args);
^
../bignum.cc:190:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle ToString(const Arguments& args);
^
../bignum.cc:191:35: error: ‘Arguments’ does not name a type
static Handle Badd(const Arguments& args);
^
../bignum.cc:191:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Badd(const Arguments& args);
^
../bignum.cc:192:35: error: ‘Arguments’ does not name a type
static Handle Bsub(const Arguments& args);
^
../bignum.cc:192:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bsub(const Arguments& args);
^
../bignum.cc:193:35: error: ‘Arguments’ does not name a type
static Handle Bmul(const Arguments& args);
^
../bignum.cc:193:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bmul(const Arguments& args);
^
../bignum.cc:194:35: error: ‘Arguments’ does not name a type
static Handle Bdiv(const Arguments& args);
^
../bignum.cc:194:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bdiv(const Arguments& args);
^
../bignum.cc:195:35: error: ‘Arguments’ does not name a type
static Handle Uadd(const Arguments& args);
^
../bignum.cc:195:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Uadd(const Arguments& args);
^
../bignum.cc:196:35: error: ‘Arguments’ does not name a type
static Handle Usub(const Arguments& args);
^
../bignum.cc:196:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Usub(const Arguments& args);
^
../bignum.cc:197:35: error: ‘Arguments’ does not name a type
static Handle Umul(const Arguments& args);
^
../bignum.cc:197:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Umul(const Arguments& args);
^
../bignum.cc:198:35: error: ‘Arguments’ does not name a type
static Handle Udiv(const Arguments& args);
^
../bignum.cc:198:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Udiv(const Arguments& args);
^
../bignum.cc:199:40: error: ‘Arguments’ does not name a type
static Handle Umul_2exp(const Arguments& args);
^
../bignum.cc:199:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Umul_2exp(const Arguments& args);
^
../bignum.cc:200:40: error: ‘Arguments’ does not name a type
static Handle Udiv_2exp(const Arguments& args);
^
../bignum.cc:200:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Udiv_2exp(const Arguments& args);
^
../bignum.cc:201:35: error: ‘Arguments’ does not name a type
static Handle Babs(const Arguments& args);
^
../bignum.cc:201:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Babs(const Arguments& args);
^
../bignum.cc:202:35: error: ‘Arguments’ does not name a type
static Handle Bneg(const Arguments& args);
^
../bignum.cc:202:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bneg(const Arguments& args);
^
../bignum.cc:203:35: error: ‘Arguments’ does not name a type
static Handle Bmod(const Arguments& args);
^
../bignum.cc:203:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bmod(const Arguments& args);
^
../bignum.cc:204:35: error: ‘Arguments’ does not name a type
static Handle Umod(const Arguments& args);
^
../bignum.cc:204:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Umod(const Arguments& args);
^
../bignum.cc:205:36: error: ‘Arguments’ does not name a type
static Handle Bpowm(const Arguments& args);
^
../bignum.cc:205:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bpowm(const Arguments& args);
^
../bignum.cc:206:36: error: ‘Arguments’ does not name a type
static Handle Upowm(const Arguments& args);
^
../bignum.cc:206:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Upowm(const Arguments& args);
^
../bignum.cc:207:35: error: ‘Arguments’ does not name a type
static Handle Upow(const Arguments& args);
^
../bignum.cc:207:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Upow(const Arguments& args);
^
../bignum.cc:208:36: error: ‘Arguments’ does not name a type
static Handle Uupow(const Arguments& args);
^
../bignum.cc:208:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Uupow(const Arguments& args);
^
../bignum.cc:209:37: error: ‘Arguments’ does not name a type
static Handle Brand0(const Arguments& args);
^
../bignum.cc:209:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Brand0(const Arguments& args);
^
../bignum.cc:210:38: error: ‘Arguments’ does not name a type
static Handle Uprime0(const Arguments& args);
^
../bignum.cc:210:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Uprime0(const Arguments& args);
^
../bignum.cc:211:40: error: ‘Arguments’ does not name a type
static Handle Probprime(const Arguments& args);
^
../bignum.cc:211:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Probprime(const Arguments& args);
^
../bignum.cc:212:39: error: ‘Arguments’ does not name a type
static Handle Bcompare(const Arguments& args);
^
../bignum.cc:212:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bcompare(const Arguments& args);
^
../bignum.cc:213:39: error: ‘Arguments’ does not name a type
static Handle Scompare(const Arguments& args);
^
../bignum.cc:213:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Scompare(const Arguments& args);
^
../bignum.cc:214:39: error: ‘Arguments’ does not name a type
static Handle Ucompare(const Arguments& args);
^
../bignum.cc:214:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Ucompare(const Arguments& args);
^
../bignum.cc:215:34: error: ‘Arguments’ does not name a type
static Handle Bop(const Arguments& args, int op);
^
../bignum.cc:215:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bop(const Arguments& args, int op);
^
../bignum.cc:216:35: error: ‘Arguments’ does not name a type
static Handle Band(const Arguments& args);
^
../bignum.cc:216:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Band(const Arguments& args);
^
../bignum.cc:217:34: error: ‘Arguments’ does not name a type
static Handle Bor(const Arguments& args);
^
../bignum.cc:217:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bor(const Arguments& args);
^
../bignum.cc:218:35: error: ‘Arguments’ does not name a type
static Handle Bxor(const Arguments& args);
^
../bignum.cc:218:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bxor(const Arguments& args);
^
../bignum.cc:219:39: error: ‘Arguments’ does not name a type
static Handle Binvertm(const Arguments& args);
^
../bignum.cc:219:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Binvertm(const Arguments& args);
^
../bignum.cc:220:36: error: ‘Arguments’ does not name a type
static Handle Bsqrt(const Arguments& args);
^
../bignum.cc:220:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bsqrt(const Arguments& args);
^
../bignum.cc:221:36: error: ‘Arguments’ does not name a type
static Handle Broot(const Arguments& args);
^
../bignum.cc:221:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Broot(const Arguments& args);
^
../bignum.cc:222:40: error: ‘Arguments’ does not name a type
static Handle BitLength(const Arguments& args);
^
../bignum.cc:222:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle BitLength(const Arguments& args);
^
../bignum.cc:223:35: error: ‘Arguments’ does not name a type
static Handle Bgcd(const Arguments& args);
^
../bignum.cc:223:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bgcd(const Arguments& args);
^
^
../bignum.cc:224:38: error: ‘Arguments’ does not name a type
static Handle Bjacobi(const Arguments& args);
^
../bignum.cc:224:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle Bjacobi(const Arguments& args);
^
In file included from ../bignum.cc:8:0:
...
and continues.
Does I need to have special compiler?