1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

about errors

Discussion in 'C' started by hoda, Jul 12, 2009.

  1. hoda

    hoda New Member

    Joined:
    Feb 17, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    can anybody tell me why this error happen??
    fatal error LNK1120: 1 unresolved externals
    error LNK2001: unresolved external symbol ...
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    If that's the exact error then your linker is broken because it should tell you what symbol is missing so that you can find it.

    OTOH if you've just removed the symbol name for some reason then what this means is that the linker has looked through all the libraries you've specificed and not been able to find the symbol. So you need to find out what library defines that symbol and add it to the link line.
     

Share This Page