Linking Errors

I know I have posted a couple of messages on here about debugging and errors, but I really am struggling at the moment with the compiling of my console application. Each of the individual subroutines compile with no errors but now when I try to compile the entire application I have the following errors:

Linking...
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library
display.obj : error LNK2001: unresolved external symbol _clreol
measure.obj : error LNK2001: unresolved external symbol _clreol
schema.obj : error LNK2001: unresolved external symbol _clreol
display.obj : error LNK2001: unresolved external symbol _gotoxy
display.obj : error LNK2001: unresolved external symbol _clrscr
Debug/setup.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

setup.exe - 6 error(s), 1 warning(s)

I don't really have a clue how to proceed from here so does anyone have any advice

Thanks

Alan Homer




Answer this question

Linking Errors

  • Eric Y.

    Thanks alot, the application seems to compile now with the inclusion of that function.

  • Mookey

    Seams that you have code that used a special library for screen operations. There are no standard functions like clreol, clrscr and gotoxy in the standard libraries.

    Here is an implementation for this functions:

    http://www.c-plus-plus-archiv.de/archiv/files/TOOL.H



  • Linking Errors