Jump to content

  • Log In with Google      Sign In   
  • Create Account

Linking Errors??


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
2 replies to this topic

#1 kaiel090x   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 August 2001 - 04:39 PM

I was compiling my code, which is a sample form the book "OpenGL Game Programming" I just got two days ago. I fixed all the errors I had with it, between two compilers: VC++ 6.0 and Code Warrior.I think the problems with the header files: #include #include #include #include In code warrior, it says it cant find the header files, yet, I have them in my header file folder, and i have them in a sub folder called gl. In visual C++ i got linking erros with glRotate() and other functions, probably because VisualC++ cant find them either. I dont know what the hell the problem is, it compiles, it just wont link. "He who fights monsters should look to it that he himself does not become a monster... when you gaze long into the abyss, the abyss also gazes into you."~Friedrich Nietzsche

Sponsor:

#2 Khawk   Senior Staff   -  Reputation: 1362

Like
Likes
Like

Posted 16 August 2001 - 06:12 PM

Project->Settings->Link

You need to link opengl32.lib, glu32.lib, and possibly glaux.lib depending on the example. This is explained somewhere in the book, but I can''t remember where. Check the Introduction or somewhere else near the beginning.

Kevin

#3 kaiel090x   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 August 2001 - 06:29 PM

I am only on the second chapter, it is the sample code of the red spinning triangle. I read through the chapter meany times to try to find the answers, it may tell somewhere in the summary, or somewhere else in the book. Thank you for responding to this post.

quote:
Original post by Khawk
Project->Settings->Link

You need to link opengl32.lib, glu32.lib, and possibly glaux.lib depending on the example. This is explained somewhere in the book, but I can''t remember where. Check the Introduction or somewhere else near the beginning.

Kevin




"He who fights monsters should look to it that he himself does not become a monster... when you gaze long into the abyss, the abyss also gazes into you."~Friedrich Nietzsche




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