Jump to content

  • Log In with Google      Sign In   
  • Create Account

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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
10 replies to this topic

#1 postulate   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 January 2002 - 04:17 PM

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

Sponsor:

#2 Kneelz   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 January 2002 - 08:00 PM

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


#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 13 January 2002 - 10:06 PM

Kneelz: Hilarious. Really. (moan)

postulate: Link with ddraw.lib

#4 yb legal   Members   -  Reputation: 126

Like
Likes
Like

Posted 13 January 2002 - 10:46 PM

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

#5 postulate   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 January 2002 - 08:42 AM

hilarious... already fucking linked it smart ass.

#6 Askadar   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 January 2002 - 09:05 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.


#7 LNK2001   Members   -  Reputation: 218

Like
Likes
Like

Posted 14 January 2002 - 09:08 AM

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

#8 Askadar   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 January 2002 - 09:19 AM

Well, when I look at your name, I have to admit it was your job...

#9 postulate   Members   -  Reputation: 122

Like
Likes
Like

Posted 14 January 2002 - 03:54 PM

thanks dxguid.lib solved my problem. I much appreciate the help.

#10 yb legal   Members   -  Reputation: 126

Like
Likes
Like

Posted 15 January 2002 - 12:05 AM

err i was reffering to kneelz- smart ass

if you thought i was putting you down, i wasnt. i just found kneelz "solution" amusing

#11 postulate   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 January 2002 - 08:16 PM

awesome




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS