
please wait
|
|
1>Compiling... 1>Main.cpp 1>Linking... 1>Main.obj : error LNK2019: unresolved external symbol "public: __thiscall Shape::Shape(void)" (??0Shape@@QAE@XZ) referenced in function "public: __thiscall I_Shape::I_Shape(int,int)" (??0I_Shape@@QAE@HH@Z) 1>Debug\Dark GDK - tetris.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://h:\ SCHOOL\ Spring 2012\COMSC-048\tetris code\tetris\Dark GDK - tetris\Dark GDK - tetris\Debug\BuildLog.htm" 1>Dark GDK - tetris - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
|
|
1>Main.obj : error LNK2019: unresolved external symbol "public: __thiscall Shape::Shape(void)" (??0Shape@@QAE@XZ) referenced in function "public: __thiscall I_Shape::I_Shape(int,int)" (??0I_Shape@@QAE@HH@Z) |
I_Shape
constructor is initializing it's base class with the call to Shape()
. Line 72, Shape()
has been declared, but not defined (given a body) anywhere in your code.move_shape()
, clear_shape()
, draw_shape()
are also undefined, you'll probably wish to declare them virtual as well if you intend to override the base class.
|
|
int pos[8];
1>------ Build started: Project: Dark GDK - tetris, Configuration: Debug Win32 ------ 1>Compiling... 1>Main.cpp 1>h:\ school\ spring 2012\comsc-048\tetris code\tetris code\tetris code\tetris\dark gdk - tetris\dark gdk - tetris\main.cpp(89) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>h:\ school\ spring 2012\comsc-048\tetris code\tetris code\tetris code\tetris\dark gdk - tetris\dark gdk - tetris\main.cpp(89) : warning C4183: 'make_shape': missing return type; assumed to be a member function returning 'int' 1>h:\ school\ spring 2012\comsc-048\tetris code\tetris code\tetris code\tetris\dark gdk - tetris\dark gdk - tetris\main.cpp(101) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>h:\ school\ spring 2012\comsc-048\tetris code\tetris code\tetris code\tetris\dark gdk - tetris\dark gdk - tetris\main.cpp(152) : error C2660: 'Shape::make_shape' : function does not take 2 arguments 1>Build log was saved at "file://h:\ SCHOOL\ Spring 2012\COMSC-048\tetris code\tetris code\tetris code\tetris\Dark GDK - tetris\Dark GDK - tetris\Debug\BuildLog.htm" 1>Dark GDK - tetris - 3 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
|
|
|
|