Need help to fix library - error undefined reference to

Hello,

I create a small library to access a SPI 25LC1024 memory chip (see GVI25LC1024.zip)

My code is as follow

#include <SPI.h>
#include <GVI25LC1024.h>
#include "Structure.h"

#define arrSize 30
byte idx;
void setup()
{
	Serial.begin(19200);
	DDRC |= B00001110; //Set pins 1-3 as output
	StarsMem.Init();
}

void loop()
{

}

When i try to compile i get

LoadStarsToMemory.cpp.o: In function `setup':
D:\Arduionos\arduino-1.0.4/LoadStarsToMemory.ino:619: undefined reference to `StarsMem'
D:\Arduionos\arduino-1.0.4/LoadStarsToMemory.ino:619: undefined reference to `StarsMem'

i have look for this error but the results did not help me to solve it.

Can some one help?

GVI25LC1024.zip (2.88 KB)

finaly, i forgot to add in cpp

GVI25LC1024 StarsMem;

Thanks :smiley: