craksy
Member
|
inventory tutorial giving errors? :S
ok i tried to compile the "Inventory" tutorial, but i got the following errors:
Quote:1>Item.obj : error LNK2001: unresolved external symbol "struct EE::Game::Obj * Lit" (?Lit@@3PAUObj@Game@EE@@A)
1>Player.obj : error LNK2019: unresolved external symbol "struct EE::Game::Obj * Lit" (?Lit@@3PAUObj@Game@EE@@A) referenced in function "public: virtual void __thiscall Player::itemRemoved(void)" (?itemRemoved@Player@@UAEXXZ)
1>Main.obj : error LNK2001: unresolved external symbol "struct EE::State StateIntro" (?StateIntro@@3UState@EE@@A)
1>Tutorials.exe : fatal error LNK1120: 2 unresolved externals
what could be the reason for this?
I hope you can help me
thanks in advance
-Craksy
|
|
10-11-2009 05:42 PM |
|
Esenthel
Administrator
|
Re: inventory tutorial giving errors? :S
please include all CPP files from the inventory tutorial folder to the project, and then press Rebuild in Visual Studio
|
|
10-11-2009 07:36 PM |
|
craksy
Member
|
Re: inventory tutorial giving errors? :S
weird :S
i already included all the files, but rebuild solved the problem ...
Tak
|
|
10-11-2009 08:24 PM |
|