when i compile this code i get 13 errors and 2 warnings, can someone point me where i am going wrong?
Code:
#include <tyfc.h>
#include "graphics.h"


namespace GL = GraphicsLibrary;

class MyApp : public TYFCApp {
public:
	MyApp() : TYFCApp("Graphics", 300, 200)
	{}
	void Initialize();
};
static MyApp app;

void MyApp::Initialize()
{
	static GL::Line<MyApp> line(app, 5, 5, 260, 160);
	addshape(line);
	static GL::Rectangle<MyApp> rect(app, 25, 30, 75, 100);
	addshape(rect);
	static GL::Circle<MyApp> circle(app, 200, 85, 60);
	addshape(circle);
}
Now the errors
Code:
--------------------Configuration: Cpp10 - Win32 Debug--------------------
Compiling...
Cpp10.cpp
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(6) : error C2878: 'GraphicsLibrary' : a namespace or class of this name does not exist
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(18) : error C2653: 'GL' : is not a class or namespace name
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(18) : warning C4091: 'static ' : ignored on left of 'class Line' when no variable is declared
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(18) : error C2143: syntax error : missing ';' before '<'
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(18) : error C2143: syntax error : missing ';' before '<'
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(19) : error C2065: 'line' : undeclared identifier
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(20) : error C2653: 'GL' : is not a class or namespace name
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(20) : error C2143: syntax error : missing ';' before '<'
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(20) : error C2143: syntax error : missing ';' before '<'
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(21) : error C2065: 'rect' : undeclared identifier
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(22) : error C2653: 'GL' : is not a class or namespace name
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(22) : warning C4091: 'static ' : ignored on left of 'class Circle' when no variable is declared
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(22) : error C2143: syntax error : missing ';' before '<'
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(22) : error C2143: syntax error : missing ';' before '<'
c:\documents and settings\administrator\desktop\c++trash\cpp10.cpp(23) : error C2065: 'circle' : undeclared identifier
Error executing cl.exe.

Cpp10.obj - 13 error(s), 2 warning(s)
I think the first error is making all the other erors happen.