Devcpp 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 glfwinit undefined About Us Learn more about Stack Overflow the company Business Learn more about undefined reference to glfwinit codeblocks hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
Undefined Reference To Glfwinit' G++
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 Linker error in Dev C++:
Undefined Reference To `glfwinit Eclipse
undefined reference to 'glfwInit' [duplicate] up vote 0 down vote favorite This question already has an answer here: What is an undefined reference/unresolved external symbol error and how do I fix it? 25 answers I'm trying to follow this tutorial for OpenGL. I originally copied the code by hand, but that wasn't working, so I've copy-pasted the code straight from the website. I keep getting undefined reference to glfwinit linux this error: [Linker error] undefined reference to 'glfwInit' from this code (which feels longer than necessary): //C++ standard headers #include
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
Glfwwindowhint
Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs undefined reference to `glfwwindowhint' Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just libglfw3 a 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 error] undefined reference to `__glutCreateWindowWithExit@8' [Linker http://stackoverflow.com/questions/33028662/linker-error-in-dev-c-undefined-reference-to-glfwinit 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.4k83776 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 http://stackoverflow.com/questions/677714/linker-errors-with-glut-h 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? Browse other questions tagged opengl glut dev-c++ or ask your own question. asked 7 years ago viewed 1191
9:14:48 AM by phate666 Magazine Feedback Your turn 2667 33400 http://archive.atomicmpc.com.au/forums.asp?s=2&c=10&t=1098 10/9/08 8:21:53 AM by David Hollingworth Website Feedback Your turn online 3891 55830 10/9/08 9:12:23 AM by plebsmacker Community Events IRL adventure and activity center 2367 85342 10/9/08 8:13:24 AM by Charcoal BUYING AND SELLING Category Threads Posts Last Post Trademart eBuy and sell it here 17745 168807 10/9/08 9:14:17 AM by eat_the_flag undefined reference Direct Deals Top shop deals, direct to you 13 311 4/9/08 6:10:54 PM by rankor THE MACHINE Category Threads Posts Last Post Tech Talk Express your silicon love, hate and curiosity 15809 158555 10/9/08 7:55:59 AM by mohawk Graphic Hardware Words about images 12175 155122 10/9/08 8:53:49 AM by osama_bin_athlon Audio Come on undefined reference to feel the noise 1383 13943 10/9/08 7:16:28 AM by Electra CPUs and Cooling Central processing discussion 11974 162126 10/9/08 7:10:10 AM by nesquick Overclocking Juicing the box 508 7653 10/9/08 9:01:42 AM by bnew Motherboards and RAM The foundations upon which great things grow 890 7965 10/9/08 3:53:20 AM by Lazzarus2nd Building and Trouble Shooting Got borked? Get and give help sweet help 20923 187924 10/9/08 9:06:59 AM by Garband Modding Got rice? Custom bits, tricks and techniques 4550 60779 10/9/08 8:14:09 AM by Khirareq Systems and peripherals Pre-built boxes and plug-in bits 1662 21511 10/9/08 9:02:17 AM by m4rx>> Windows OS Tweak, tune and take command 2324 22038 9/9/08 11:16:59 PM by c2006 Open Source OS D.I.Y and do it right 4829 44006 10/9/08 8:39:47 AM by spielentwickler Networking Get connected 5737 43738 10/9/08 5:26:34 AM by spielentwickler Programming For hobbyists, professionals, and the curious 4575 38329 10/9/08 2:29:14 AM by freespace Security They shall not p