HELP!!! I get this message when I try to compile 6.3 of "tricks.."
I'm not sure what is causing this, but when I try to compile it I get this. This goes with most of the code in the book.
compiling message:
demo6_3.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4
Debug/space.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Edited by - postulate on January 13, 2002 12:20:03 AM
Ahm, your C++ installation is damaged. Deinstall Windows and install it again. Then install DirectX (which is a sub-component of OpenGL) and then C++. Start C++ with the command line option: --use-vc6-compatible-mode --O3. Then it should work.
Kneelz
Kneelz
kneelz, i really hope that was sarcasm
yes once i got a message the said "syntax error missing ";" before...." so i re installed windows, but i still got it. then i upgraded to win ME and it worked fined......
postulate like anon said, you have to link to ddraw.lib
Edited by - yb legal on January 14, 2002 6:25:55 AM
yes once i got a message the said "syntax error missing ";" before...." so i re installed windows, but i still got it. then i upgraded to win ME and it worked fined......
postulate like anon said, you have to link to ddraw.lib
Edited by - yb legal on January 14, 2002 6:25:55 AM
Some people just get a kick from putting other people down. Just don''t listen to them.
Did you define INITGUID somewhere before you include DDraw.h ?
#define INIGUID
#include "ddraw.h"
If you don''t want to define it, you could as well link with "dxguid.lib". It contains all the symbols.
Did you define INITGUID somewhere before you include DDraw.h ?
#define INIGUID
#include "ddraw.h"
If you don''t want to define it, you could as well link with "dxguid.lib". It contains all the symbols.
Did you link with dxguid.lib also? Or #define INITGUID, wich does the same thing?
Askadar: oops, didn't notice your reply
Edited by - LNK2001 on January 14, 2002 4:18:11 PM
Askadar: oops, didn't notice your reply
Edited by - LNK2001 on January 14, 2002 4:18:11 PM
err i was reffering to kneelz- smart ass
if you thought i was putting you down, i wasnt. i just found kneelz "solution" amusing
if you thought i was putting you down, i wasnt. i just found kneelz "solution" amusing
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement