thomasp85 / farver

High Performance Colourspace Manipulation in R
https://farver.data-imaginist.com
Other
128 stars 14 forks source link

An error when I tried to install farver #30

Open caodudu opened 2 years ago

caodudu commented 2 years ago

` installing source package 'farver' ... package 'farver' successfully unpacked and MD5 sums checked using staged installation libs In file included from ColorSpace.cpp:1: ColorSpace.h:19: error: ISO C++ forbids initialization of member 'valid' ColorSpace.h:19: error: making 'valid' static ColorSpace.h:19: error: ISO C++ forbids in-class initialization of non-const static member 'valid' make: [ColorSpace.o] Error 1 ERROR: compilation failed for package 'farver'

Can someone tell me how to solve it?