How To Solve Linker Error In C Graphics Program
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 Overflow the company Business Learn more about hiring developers or posting linker error in c undefined symbol ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
How To Remove Linking Error In C
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 what is linker error in c language minute: Sign up Linker error in C. while using
Linker Error Unable To Open File Tclass Lib
3 You need to link against graphics.lib, and you should probably consider switching to a more recent compiler –Andreas Fester Jan 14 '14 at 10:27 Please edit the title and add Turbo C to it. –adrin Jan 14 '14 at 10:31 thankyou. editted –MELWIN Jan 14 '14 at 10:36 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted If you are using Turbo C .. just need to check one option: Go to Options->Linker->Libraries and check the Graphics Library option share|improve this answer edited Oct 7 '15 at 16:22 Morgan Thrapp 5,61121946 answered Jan 14 '14 at 10:26 Digital_Reality 3,1221916 3 hahahaha, love that you remember this, lol. Apparently people still use TC, Borland should be proud :P –adrin Jan 14 '14 at 10:31 @adrin yeah.. stopped using this now but I know I too got trouble using it :D –Digital_Reality Jan 14 '14 at 10:32 @Digital_Reality:sad no one find this question useful... :( thank you for the answer sir :) –MELWIN Jan 14 '14 at 10:39 @Digital_Reality sir in output i got the message " Graphics not initialized use ('initgraph') . What should I do ??? –MELWIN Jan 14 '14 at 10:43 @MELWIN Err.. time changes buddy! :) We have to stick to it.. Anyway when are you moving to new compiler? :D –Digital_Reality Jan 14 '14 at 10:44 | show 1 more
module It means that you have not enabled the graphics library for linking. By default this setting is http://www.softwareandfinance.com/Turbo_C/Graphics_initgraph.html OFF when you install Turbo C++ version 3.0. All you need to do is, from turbo c++ menu, goto Options -> Linker -> Libraries... and check the Graphics Library option Disclaimer: This web site is for educational and informational purposes only. Click here to read the Disclaimer. Content copyright 2010-2015. Betelgeuse LLC. All rights reserved.
Article List Editors Picks Members Notable Members Current Visitors Recent Activity Top Contributors Your name or email address: Password: Forgot your password? Stay logged in Log in with Facebook Log in with Google Menu Home Home Quick Links Search https://www.techenclave.com/community/threads/link-error-undefined-symbol-for-all-c-graphics-programs.13465/ Forums Recent Posts Popular Content Forums Forums Quick Links Search Forums Recent Posts Popular Content Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only https://in.answers.yahoo.com/question/index?qid=20100703080429AAaaTtI Display results as threads More... Useful Searches Recent Posts Gallery Gallery Quick Links Categories Explore User's Albums New Albums New Photos New Videos Collections Locations Cameras Streams Cloud Guides Guides Quick Links Category List Article linker error List Editors Picks Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts Top Contributors Menu Log in Sign up TechEnclave - Indian Technology Community Forums > Computer Software > Programming > Link Error : Undefined Symbol for all C Graphics Programs Discussion in 'Programming' started by Quad Master, Apr 23, 2006. Quad Master Well-Known Member Veteran Joined: Apr 17, 2005 Messages: 5,454 Likes Received: 241 Hi Guys error in c Have my Computer Graphics Prac's on 28th of this month and BorlandC V3 aint working on all my comps [2 Desktop + Dads lappy] I have used the same install earlier and it had worked fine. Not only me many of my friends in college are facing the same issue. I am not able to practice the programs. My BGI folder has all the files i even added graphics.h file to all the folders so that it could be found some where , I am really fed up and am finding no solution to this problem. I even specified the path properly as "C:\\BORLANDC\\BGI" All my Graphics programs are getting compiled but none of them run they give me a "Link Error and all the functions where i am using inbulit graphics funtions for eg putpixel etc.... i am getting an error called undefined symbol" Please do let me know if there is any solution to this. The same programs work in my college without any flaw. #1 Quad Master, Apr 23, 2006 KingKrool New Member Adept Joined: Mar 16, 2005 Messages: 3,576 Likes Received: 71 Are the library paths specified correctly? BTW there is a known error with these BGI thingies... I forget what, because I have as far
& Humanities Beauty & Style Business & Finance Cars & Transportation Computers & Internet Consumer Electronics Dining Out Education & Reference Entertainment & Music Environment Family & Relationships Food & Drink Games & Recreation Health Home & Garden Local Businesses News & Events Pets Politics & Government Pregnancy & Parenting Science & Mathematics Social Science Society & Culture Sports Travel Yahoo Products International Argentina Australia Brazil Canada France Germany Indonesia Italy Malaysia Mexico New Zealand Philippines Quebec Singapore Taiwan Hong Kong Spain Thailand UK & Ireland United States Vietnam Espanol About About Answers Community Guidelines Leaderboard Knowledge Partners Points & Levels Blog Safety Tips Computers & Internet Programming & Design Next How to solve a linker error in C Programming? C Programming Follow 2 answers 2 Report Abuse Are you sure that you want to delete this answer? Yes No Sorry, something has gone wrong. Trending Now Answers Best Answer: Linker Errors These can often be more frustrating because they aren't necessarily the result of something written in your program. I You may have issues with how you set up your compiler. For instance, even if you include the correct header files for all of your functions, you still need to provide your linker with the correct path to the library that has the actual implementation. Otherwise, you will get "undefined function" error messages. Be careful that your compiler doesn't actually support these functions at all (this could happen if you include your own declaration of a function to get around a compile-time error). If your compiler should support the function, then fixing this problem usually requires compiler-specific settings. You'll generally want to look for how to tell the compiler where to look for libraries and make sure that the libraries were actually installed correctly. Linker errors can also come about in functions that you have declared and defined if you fail to include all of the necessary object files in the linking process. For example, if you write your class definition in myClass.cc, and your main function is in myMain.cc, your compiler will create two object files, myClass.o and myMain.o, and the linker will need both of them to finish the creation of the new program. If you leave out myClass.o, then it w