Linking...Error

Hello everybody.
I am new to OpenGL and C++. I tried to rebuild a Tutorial from GameTutorials.com. It is called “HeightMap4” and demonstrates GroundFog. Maybe somebody knows it. After rebuilding I get the following Linking Errors. Does anybody know what they mean? I am using VC++

[i]Linking…
Main.obj : error LNK2001: unresolved external symbol “public: __thiscall CCamera::CCamera(void)” (??0CCamera@@QAE@XZ)
Main.obj : error LNK2001: unresolved external symbol “public: void __thiscall CCamera::PositionCamera(float,float,float,float,float,float,float,float,float)” (?PositionCamera@CCamera@@QAEXMMMMMMMMM@Z)
Main.obj : error LNK2001: unresolved external symbol “bool __cdecl CreateTexture(unsigned int &,char *)” (?CreateTexture@@YA_NAAIPAD@Z)
Main.obj : error LNK2001: unresolved external symbol “void __cdecl LoadRawFile(char *,int,unsigned char *)” (?LoadRawFile@@YAXPADHPAE@Z)
Main.obj : error LNK2001: unresolved external symbol “void __cdecl InitializeOpenGL(int,int)” (?InitializeOpenGL@@YAXHH@Z)
Main.obj : error LNK2001: unresolved external symbol “void __cdecl DeInit(void)” (?DeInit@@YAXXZ)
Main.obj : error LNK2001: unresolved external symbol “public: void __thiscall CCamera::Update(void)” (?Update@CCamera@@QAEXXZ)
Main.obj : error LNK2001: unresolved external symbol “void __cdecl RenderHeightMap(unsigned char *)” (?RenderHeightMap@@YAXPAE@Z)
Main.obj : error LNK2001: unresolved external symbol “public: void __thiscall CCamera::Look(void)” (?Look@CCamera@@QAEXXZ)
Main.obj : error LNK2001: unresolved external symbol “int __cdecl Height(unsigned char *,int,int)” (?Height@@YAHPAEHH@Z)
Main.obj : error LNK2001: unresolved external symbol “void __cdecl SizeOpenGLScreen(int,int)” (?SizeOpenGLScreen@@YAXHH@Z)
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Main.exe : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.

Main.exe - 13 error(s), 0 warning(s)[/i]

Thank you for your patience
Greetings TheClick

The problem is that you don’t include all of your .cpp files in the compilation and later the linker cant find symbols defined in your compiled files. Probably what you are compiling is only main.cpp(although there are lot’s of variations). I know this doesnt help you much but the question is fundamental. Try to teach yourself C++ first and then go on with OpenGL.