Hello everyone! I am reading a book that is trying to teach me the basics of programming in c++(this is the first language I am trying to learn), and I am trying to build a simple application and I am running into a few errors. What I have built so far should be displaying an empty blue game window, and allowing it to stay open until the ESC key is pressed. Here is the start of the app:

Code:
#include <ClanLib/core.h>
#include <ClanLib/display.h>
#include <ClanLib/gl.h>
#include <ClanLib/application.h>

//Main App Class
class cClanLibApp : public CL_ClanApplication	
{
	public:
		cClanLibApp();
		~cClanLibApp();

		virtual int main(int, char **)
		{
			CL_SetupCore setup_core;
			CL_SetupDisplay setup_display;
			CL_SetupGL setup_gl;
			CL_SetupSound setup_sound;

			CL_DisplayWindow window("Test", 640, 480);

			//Enter game loop
			while(!CL_Keyboard::get_keycode(CL_KEY_ESCAPE))
			{
				CL_Display::clear(CL_Color(0, 0, 0, 255));
				UpdateFrames();
				CL_Display::flip();
				CL_System::sleep(10);
				CL_System::keep_alive();
			}
			return 0;
		}
}app;


And here are the errors that I am getting when I try to debug and build it:

1>.\My First App.cc(18) : error C2065: 'CL_SetupSound' : undeclared identifier
1>.\My First App.cc(18) : error C2146: syntax error : missing ';' before identifier 'setup_sound'
1>.\My First App.cc(18) : error C2065: 'setup_sound' : undeclared identifier
1>.\My First App.cc(23) : error C2653: 'CL_Keyboard' : is not a class or namespace name
1>.\My First App.cc(23) : error C3861: 'get_keycode': identifier not found
1>.\My First App.cc(25) : error C2039: 'clear' : is not a member of 'CL_Display'
1> c:\development\environment\include\clanlib\Display/display.h(49) : see declaration of 'CL_Display'
1>.\My First App.cc(25) : error C3861: 'clear': identifier not found
1>.\My First App.cc(26) : error C3861: 'UpdateFrames': identifier not found
1>.\My First App.cc(27) : error C2039: 'flip' : is not a member of 'CL_Display'
1> c:\development\environment\include\clanlib\Display/display.h(49) : see declaration of 'CL_Display'
1>.\My First App.cc(27) : error C3861: 'flip': identifier not found
1>.\My First App.cc(29) : error C2039: 'keep_alive' : is not a member of 'CL_System'
1> c:\development\environment\include\clanlib\core\sy stem\system.h(53) : see declaration of 'CL_System'
1>.\My First App.cc(29) : error C3861: 'keep_alive': identifier not found


Any idea what I am doing wrong. I know it is probably a rookie mistake, but that's exactly what I am so any help would be appreciated! Thanks!