what is meaning of this? (MS VC++ .NET)
----------------------
Linking...
machine.obj : error LNK2001: unresolved external symbol "private: static class std::vector<str uct GessoidMachine: :Resolution,cla ss
std::allocator< struct GessoidMachine: :Resolution> > GessoidMachine: :Machine::resol ution"
(?resolution@Ma chine@GessoidMa chine@@0V?$vect or@UResolution@ GessoidMachine@ @V?$allocator@U Resolution@Gess oidMachine@@@st d@@@std@@A)
machine.obj : error LNK2001: unresolved external symbol "private: static struct SDL_Surface * GessoidMachine: :Machine::scree n"
(?screen@Machin e@GessoidMachin e@@0PAUSDL_Surf ace@@A)
machine.obj : error LNK2001: unresolved external symbol "private: static int GessoidMachine: :Machine::resol ution_index"
(?resolution_in dex@Machine@Ges soidMachine@@0H A)
..\Debug/main.exe : fatal error LNK1120: 3 unresolved externals
----------------------
The error is in this code: (All member functions & data are static because I want only one instance of "Machine" in my project and I
want access in any data member without this->
----------------------
class Machine {
public:
static member1(arg1, arg2);
static member2();
.......
private:
// handle all resolutions supported from system
static vector <Resolution> resolution;
static int resolution_inde x;
static SDL_Surface *screen;
};
----------------------