Dev-cpp Linker Error Glut
Contents |
4 Reference Pages OpenGL 3.3 Reference Pages OpenGL 2.1 Reference Pages OS/Platform Implementations OpenGL Books Coding Resources OpenGL SDK FAQs Sample Code & Tutorials GLUT & Utility Libraries Programming Language Bindings Benchmarks Mailing Lists & dev c++ linker error News Groups Archived Resources Wiki Forums About OpenGL Contact Us OpenGL logo Advertise dev c++ linker error undefined reference to on OpenGL Jobs Register Help Remember Me? What's New? Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick dev c++ linker error undefined reference to winmain@16' Links Today's Posts View Site Leaders Khronos Forums COLLADA forums OpenGL: Getting Started Advanced Search Forum DEVELOPERS OpenGL coding: beginners linker error about glut in dev C++ First time visitors, please read
Glfwinit Undefined
our FAQ and our Forum Rules and Guidelines. You must register before you can post. Results 1 to 4 of 4 Thread: linker error about glut in dev C++ Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 04-13-2005,11:45 AM #1 Chiyu Wang View Profile View Forum Posts Private Message Junior Member Newbie Join Date Apr undefined reference to glfwinit codeblocks 2005 Location SWEDEN Posts 2 linker error about glut in dev C++ [Linker error] undefined reference to `glClear@4' [Linker error] undefined reference to `glColor3f@12' I had the code: #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 Business Learn more about hiring undefined reference to glfwinit' g++ developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Undefined Reference To `glfwinit Eclipse
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
Undefined Reference To Glfwinit Linux
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 error] undefined reference to `__glutCreateMenuWithExit@8' [Linker error] undefined reference https://www.opengl.org/discussion_boards/showthread.php/126947-linker-error-about-glut-in-dev-C 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 at 14:54 Also, please read this: stackoverflow.com/questions/469150/… –Kent Fredric Mar 24 '09 http://stackoverflow.com/questions/677714/linker-errors-with-glut-h 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 times active 4 years ago Linked 2 What does this OpenGL compilation error mean? Related 2What does this OpenGL compilation error mean?0How can I resolve linker i
9:14:48 AM by phate666 Magazine Feedback Your turn 2667 33400 10/9/08 8:21:53 AM by David Hollingworth Website Feedback http://archive.atomicmpc.com.au/forums.asp?s=2&c=10&t=1098 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 http://chortle.ccsu.edu/bloodshed/howtogl.html Last Post Trademart eBuy and sell it here 17745 168807 10/9/08 9:14:17 AM by eat_the_flag Direct Deals Top shop deals, direct to you 13 311 4/9/08 6:10:54 PM by rankor undefined reference 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 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 undefined reference to 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 pass 516 5135 6/9/08 10:54:51 AM by Alien Intercourse Graphic Design Art, tools and inspiration 3715 29772 9/9/08 4:03:47 PM by Atlantian 3D Design Models, worlds, engines, everything 91 791 2/9/08 5:55:20 PM by fabricator Web Design Build a better web page 362 3477 9/9/08 11
is a free C++ compiler and development environment for Windows operating systems. Like most C++ compilers, it also can be used to compile ANSI C. By installing the GLUT header and library files, it can be used to write programs that use OpenGL. This is needed to run programs for Edward Angel's textbook, Interactive Computer Graphics 5th edition and possibly other computer graphics texts. These notes do not explain how to compile OpenGL with C++ . The 6th edition of Angel's book uses C++ which will not work with these notes. These instructions have been tested on a small variety of Windows 2000 and Windows XP systems. These systems come with the files needed for OpenGL, but not the files needed for GLUT. Dev-C++ does not work well with Microsoft's Vista. The problem, and a possible fix, is discussed here: http://aresio.blogspot.com/2007/06/vista-and-dev-cpp.html but I have not tested this information. I. Download Dev-C++ from http://www.bloodshed.net/dev/devcpp.html and install it. Details: Get Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2 Although this is a "beta" version, it works perfectly fine. Click on SourceForge to go to a list of download sites and pick one. The file will be something like devcpp4.9.9.2_setup.exe. Save this file in a place like C:\Temp. When the download is complete, click on the "open" button to start the installation process. (Or go to C:\Temp andDouble click on devcpp4.9.9.2_setup.exe). You will see a few screens that ask you to pick a language (English) and to agree to the license terms. Choose a "typical" installation. Accept the suggested destination for the installation: Many subdirectories and files are extracted to the destintion: Answer "yes" when it asks if you wish to install Dev-cpp for all users. Note: if the installation fails, re-install and try "no" for this. A screen says the installation is complete: Keep the check mark in the box. Click on "Finish". A first-time configuration screen appears: Pick "English" and "New Look". In the next several screens, hit "Yes" for its suggestions. Eventually you are done. Click "OK". II. DEV-C++ starts up. Try out the installation with a simple C program. Details: The program starts up automatically. Click File/New/Project. Pick a name for the project (such as "myProject"). Click "C Project". Click on "Empty Project". Click "OK". In "Create New Project", click "save" (later on you will probably want to create separate subdirectories for your various projects.). Click "File/New/Source File" and in "Add source file to current project" click "Yes". You now g