Jump to content
  • Advertisement
Sign in to follow this  
Eric Poitras

C Linking errors

This topic is 4489 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know this might just be a stupid error on my part but I just can't figure it out. I'm trying to compile some C code with VC++ 6.0 but I get this link error message: SYSDEP.OBJ : error LNK2001: unresolved external symbol _srandom SYSDEP.OBJ : error LNK2001: unresolved external symbol _random SYSDEP.OBJ : error LNK2001: unresolved external symbol _clrscr SYSDEP.OBJ : error LNK2001: unresolved external symbol _gotoxy SYSDEP.OBJ : error LNK2001: unresolved external symbol _clreol SYSDEP.OBJ : error LNK2001: unresolved external symbol _textcolor now I think all that is part of conio.h but I really don't get why it's giving me unresolved externals... anyway let me know :)

Share this post


Link to post
Share on other sites
Advertisement
A Code example would be nice.

Usually you get unresolved external symbol errors if for example a function has been declared but not defined.
A case like that might happen if you use headers for DLLs, but didn't actually link the DLL with your project.

bye bye~,
MHOOO

Share this post


Link to post
Share on other sites
Ah, it appears those are non-standard functions specific to Borland. The code you have was written for Borland compilers and will not work with Visual C++ or anything else really.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!