Please help !!!
I''m trying to build directDraw game. I''m using Ddutil.h and Ddutil.cpp so i won''t need to dirt my hands to much.
I pass the compilation stage successfully, but the linker give me this message:
***********************************************************
Linking...
Ddex2.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12
Debug/DDEX2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
DDEX2.exe - 2 error(s), 0 warning(s)
************************************************************
what could i do ?
Go to the "Project" menu
Select "Add to project"
Select "Files..."
In the "Files of type:" field choose "Library Files (.lib)"
Browse to where you installed the DirectX SDK and go to the lib/ directory
Add "ddraw.lib" to the project
Done. Recompile now.
Select "Add to project"
Select "Files..."
In the "Files of type:" field choose "Library Files (.lib)"
Browse to where you installed the DirectX SDK and go to the lib/ directory
Add "ddraw.lib" to the project
Done. Recompile now.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement