Ok, sorry for not clearly documenting it. I've made a minimized version of the code, that gives me the error.
The Colorlight.h file
#ifndef ColorLight_h
#define ColorLight_h
#include "WProgram.h"
class ColourPalette
{
public:
ColourPalette();
int** rybWheel;
};
#endif
The ColorLight.cpp file
#include "WProgram.h"
#include "ColorLight.h"
int _rybWheel[25][3] =
{ { 0 , 255, 255 }, // 0
{ 12 , 255, 255 }, // 15
{ 24 , 255, 255 }, // 30
{ 30 , 255, 255 }, // 45
{ 36 , 255, 255 }, // 60
{ 42 , 255, 255 }, // 75
{ 48 , 255, 255 }, // 90
{ 54 , 255, 255 }, // 105
{ 60 , 255, 255 }, // 120
{ 72 , 255, 255 }, // 135
{ 84 , 255, 255 }, // 150
{ 108, 255, 255 }, // 165
{ 120, 255, 255 }, // 180
{ 154, 255, 255 }, // 195
{ 180, 255, 255 }, // 210
{ 206, 255, 255 }, // 225
{ 225, 255, 255 }, // 240
{ 240, 255, 255 }, // 255
{ 260, 255, 255 }, // 270
{ 265, 255, 255 }, // 285
{ 280, 255, 255 }, // 300
{ 300, 255, 255 }, // 315
{ 315, 255, 255 }, // 330
{ 333, 255, 255 }, // 345
{ 360, 255, 255 } // 360
};
ColourPalette::ColourPalette()
{
rybWheel = _rybWheel;
}
This will give the error below:
/Users/macbook/Dropbox/code/_arduino/libraries/ColorLight/ColorLight.cpp: In constructor 'ColourPalette::ColourPalette()':
/Users/macbook/Dropbox/code/_arduino/libraries/ColorLight/ColorLight.cpp:37: error: cannot convert 'int [25][3]' to 'int**' in assignment
Line 37 is rybWheel = _rybWheel;