Glut Linker Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack undefined reference to __glutinitwithexit' Overflow the company Business Learn more about hiring developers or posting ads with us Stack freeglut mingw Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Undefined Reference To Glclear
of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Linker errors with glut.h up vote 0 down vote favorite [Linker error] undefined reference to `__glutInitWithExit@12' [Linker
Cannot Find
error] undefined reference to `__glutCreateWindowWithExit@8' [Linker error] undefined reference to `__glutCreateMenuWithExit@8' [Linker error] undefined reference to `glutSolidSphere@16' the problem above came out if i include glut.h header.. why? i cant use glutSolidSphere() without it.. im using DEV C++ btw.. opengl glut dev-c++ share|improve this question edited May 3 '12 at 14:58 genpfault 35.5k83776 asked Mar 24 '09 at 14:45 noob88 1071715 Duplicate of stackoverflow.com/questions/677547/… . Please post one question for a given problem. –Kent Fredric Mar 24 '09 at 14:54 Also, please read this: stackoverflow.com/questions/469150/… –Kent Fredric Mar 24 '09 at 14:55 voting to close after Kent's update. –dirkgently Mar 24 '09 at 14:58 that actually was another question that i change this one just after i got the answer.. –noob88 Mar 24 '09 at 15:15 Please mark the question as answered. –monksy Oct 9 '09 at 2:24 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote The glut.h header just declares the functions. You need to link with the library that implements them, which should be described in the glut documentation. share|improve this answer answered Mar 24 '09 at 14:52 anon stackoverflow.com/questions/677547/… # Original Question. –Kent Fredric Mar 24 '09 at 14:56 the linker is correct.. –noob88 Mar 24 '09 at 15:11 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up GLUT program link error up vote 2 down vote favorite 1 I want to compile a http://stackoverflow.com/questions/677714/linker-errors-with-glut-h GLUT program #include
topic ForumsMembersHelp Files Developer Journals Gallery Calendar Downloads Resources Store Classifieds Tracker Links Home For Beginners Articles All Articles Post an Article Technical Game Programming General Programming Graphics Programming and http://www.gamedev.net/topic/355106-another-glut-simple-dev-c-error/ Theory DirectX and XNA OpenGL and Vulkan Multiplayer and Network Programming Artificial Intelligence http://www.gamedev.net/topic/201019-what-the--glut-linker-errors/ Math and Physics Mobile Development Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Music and Sound Visual Arts Business Breaking into the Industry Production and Management Interviews Business and Law Event Coverage Forums All Forums Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL & Vulkan Multiplayer and undefined reference Network Programming Artificial Intelligence Math and Physics Mobile & Console Development Build Systems & Source Control Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Writing For Games Music and Sound Visual Arts Gallery Business Breaking into the Industry Business & Law Production & Management Community GDNet Lounge Coding Horrors Article Writing Comments, Suggestions and Ideas Your Announcements Hobby Project Classifieds Indie Project Showcase Community Developer Journals undefined reference to Gallery Classifieds Jobs Freelancers Hobby Projects GDNet+ Membership Store Marketplace Newsletter » Home » Forums » The Technical Side » OpenGL and Vulkan Chat Watched Content New Content 0 Another Glut Simple DEV C++ Error Started by Mad_Koder, Oct 30 2005 09:45 AM 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 6 replies to this topic #1 Mad_Koder Members -Reputation: 100 Like 0Likes Like Posted 30 October 2005 - 09:45 AM Okay , I have redone some stuff, and now I get these errors,I had more related to -lglu32 and -lopengl32 when I didnt include them in the linker, but when I added them and the -glut32 file in the linker, I still get errors. I am using DEV C++ v 4.9.9.2 ____________________________________ Here is the code for the glut program: #include
topic ForumsMembersHelp Files Developer Journals Gallery Calendar Downloads Resources Store Classifieds Tracker Links Home For Beginners Articles All Articles Post an Article Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL and Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile Development Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Music and Sound Visual Arts Business Breaking into the Industry Production and Management Interviews Business and Law Event Coverage Forums All Forums Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL & Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile & Console Development Build Systems & Source Control Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Writing For Games Music and Sound Visual Arts Gallery Business Breaking into the Industry Business & Law Production & Management Community GDNet Lounge Coding Horrors Article Writing Comments, Suggestions and Ideas Your Announcements Hobby Project Classifieds Indie Project Showcase Community Developer Journals Gallery Classifieds Jobs Freelancers Hobby Projects GDNet+ Membership Store Marketplace Newsletter » Home » Forums » The Technical Side » OpenGL and Vulkan Chat Watched Content New Content What The ?: Glut Linker Errors Started by Leiarchy9, Jan 11 2004 01:49 PM 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 9 replies to this topic #1 Leiarchy9 Banned -Reputation: 100 Like Likes Like Posted 11 January 2004 - 01:49 PM [Linker error] undefined reference to `__glutInitWithExit@12'' [Linker error] undefined reference to `__glutCreateWindowWithExit@8'' [Linker error] undefined reference to `_