Archived

This topic is now archived and is closed to further replies.

HELP!!! I get this message when I try to compile 6.3 of "tricks.."

This topic is 5810 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'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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Kneelz: Hilarious. Really. (moan)

postulate: Link with ddraw.lib

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites