By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

LNK2019 Error

P: 1
------ Build started: Project: space, Configuration: Debug Win32 ------

Linking...
Gpdumb1.obj : error LNK2019: unresolved external symbol _DirectDrawCreateEx@16 referenced in function "int __cdecl DD_Init(int,int,int)" (?DD_Init@@YAHHHH@Z)
Debug/space.exe : fatal error LNK1120: 1 unresolved externals

Build log was saved at "file://c:\Documents and Settings\Owner\My Documents\space\Debug\BuildLog.htm"
space - 2 error(s), 0 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped
I am using Visual C++ .net edition for my compiler. I keep getting this same error.
Apr 15 '06 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
An unresolved external is a symbol (function or data) that is used without being defined. Examples include
  • Calling a function that has not been implemented
  • Referencing a variable that has not been declared
  • Putting code in new source files but forgetting to add those source files to the build so they don't get compiled and linked
  • Calling a function from a third party library but not including the library in the link

I would say that you have done the 4th one of these
Apr 18 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.