:@ Hi every body, i tried recently to compile some old C++ codes but regardless of the compiler i use i get the same error message when i want to link the *.obj file. i even tried it with Tlinker and macrolinker but with no success, if any one could help I'll be grateful, and it's kind of emergency.
these are the error messages:
Error: Undefined symbol _COUT in module CHESS.CPP
Error: Undefined symbol istream::operator >>(char near*) in module CHESS.CPP
Error: Undefined symbol _CIN in module CHESS.CPP
Error: Undefined symbol _RECTANGLE in module CHESS.CPP
Error: Undefined symbol _GETMAXX in module CHESS.CPP
Error: Undefined symbol _CLEARDEVICE in module CHESS.CPP
Error: Undefined symbol _NOSOUND in module CHESS.CPP
Error: Undefined symbol _DELAY in module CHESS.CPP
Error: Undefined symbol _SOUND in module CHESS.CPP
Error: Undefined symbol _vector_new_(void near*,unsigned int,unsigned int,unsigned int,...) in module CHESS.CPP
Error: Undefined symbol ostream::outstr(const char near*,const char near*) in module CHESS.CPP
Error: Undefined symbol _INSTALLUSERFONT in module CHESS.CPP
Error: Undefined symbol _EXIT in module CHESS.CPP
Error: Undefined symbol _GETCH in module CHESS.CPP
Error: Undefined symbol _GRAPHERRORMSG in module CHESS.CPP
Error: Undefined symbol _GRAPHRESULT in module CHESS.CPP
Error: Undefined symbol _INITGRAPH in module CHESS.CPP
Error: Undefined symbol _CLRSCR in module CHESS.CPP
Error: Undefined symbol operator new(unsigned int) in module CHESS.CPP
Error: Undefined symbol operator delete(void near*) in module CHESS.CPP
Error: Undefined symbol _CLOSEGRAPH in module CHESS.CPP
Error: Undefined symbol _OUTTEXTXY in module CHESS.CPP
Error: Undefined symbol _SETCOLOR in module CHESS.CPP
Error: Undefined symbol _SETTEXTSTYLE in module CHESS.CPP
Error: Undefined symbol _GETMAXY in module CHESS.CPP
Error: Undefined symbol _BAR3D in module CHESS.CPP
Error: Undefined symbol _SETFILLSTYLE in module CHESS.CPP
Error: Undefined symbol _LINE in module CHESS.CPP
Error: Undefined symbol _BAR in module CHESS.CPP
DeathEater
0
Light Poster
Recommended Answers
Jump to PostPost at least the list of header fies included in your program and the user created header files, particularly the CHESS.H and CHESS.CPP file. Looks like there are some dependency issues with lack of necessary header files. Also indicate what compiler and OS you are using.
All 4 Replies
Lerner
582
Nearly a Posting Maven
DeathEater
0
Light Poster
DeathEater
0
Light Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.