Linker error

Started by
4 comments, last by _Sigma 18 years, 5 months ago
Alright, what tends to cause linker errors? I get this
cDirectDraw.obj : error LNK2019: unresolved external symbol _DirectDrawCreateEx@16 referenced in function "public: void __thiscall CDirectDraw::Load(void)" (?Load@CDirectDraw@@QAEXXZ)
Where should I look to fix this bloody error? Cheers
Advertisement
Seems like you are not linking in the library that is responsible for that method.

ace
did you include the directx library? thats one reason it would start
Bring more Pain
hm...afaik I am...I went to project properties, and added the libs to the search path...ah shit, you need to add the libs to the project too eh? damnit.
if you are using visual studio you could use #pragma comment(lib, "ddraw.lib") i think that is correct for direct draw library but check your lib directory.
Bring more Pain
Yup, that was that. damnit, i'm dumb. Appreciate the help there guys

This topic is closed to new replies.

Advertisement