Linker Error Undefined Symbol _closegraph
Contents |
module It means that you have not enabled the graphics library for linking. By default this setting is
Linker Error Undefined Symbol _printf In Module
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.
a Question Need help? Post your question and get tips & solutions from a community of 418,582 IT Pros & Developers. It's quick & easy. Linker Error: Undefined symbol _closegraph in module GRAPHEX.cpp P: n/a nicholas.fodor I get the
Bgi Error Graphics Not Initialized
above message 9 times when I'm trying to run my graphics code. I get it for: how to remove linker error in c _closegraph _outtextxy _drawpoly _sector _line _ellipse _rectange _circle _initgraph I do have the graphics.h properly included, and directed too and the .h is c++ linker error undefined symbol in module in it's proper location. Any ideas? Feb 10 '06 #1 Post Reply Share this Question 5 Replies P: n/a Default User ni************@gmail.com wrote: I get the above message 9 times when I'm trying to run my graphics code. I http://www.softwareandfinance.com/Turbo_C/Graphics_initgraph.html get it for: I do have the graphics.h properly included, and directed too and the .h is in it's proper location. Any ideas? Header files don't provide implementation (usually). You are missing one or more libraries that need to be included in your build. The specific libraries and how they are included are off-topic here. Brian -- Please quote enough of the previous message for context. To do so from Google, click "show options" and use the Reply shown https://bytes.com/topic/c/answers/455865-linker-error-undefined-symbol-_closegraph-module-graphex-cpp in the expanded header. Feb 10 '06 #2 P: n/a nicholas.fodor I have my graphics.lib and my Egavga.bgi both properly directed to in C:\TC\LIB and C:\TC\BGI respectively. Stil the same error messages. Have tried both on my Windows 95 laptop and WIndows XP pc. No help. Feb 10 '06 #3 P: n/a Victor Bazarov ni************@gmail.com wrote: I get the above message 9 times when I'm trying to run my graphics code. I get it for: _closegraph _outtextxy _drawpoly _sector _line _ellipse _rectange _circle _initgraph I do have the graphics.h properly included, and directed too and the .h is in it's proper location. Any ideas? Have you tried adding the library where all those functions are to the linker command line? No, I don't know how to do that, and neither does anyone else here. Please ask in the newsgroup dedicated to your compiler. V -- Please remove capital As from my address when replying by mail Feb 10 '06 #4 P: n/a Default User ni************@gmail.com wrote: I have my graphics.lib and my Egavga.bgi both properly directed to in C:\TC\LIB and C:\TC\BGI respectively. Stil the same error messages. Have tried both on my Windows 95 laptop and WIndows XP pc. No help. Did you miss the part about it being off-topic here? You need a newsgroup dedicated to your platform, looks like something in the Borland hierarchy. Also read the info in my .si
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions http://www.codeproject.com/Questions/264025/Linker-error-in-c-program View All Questions... C# questions Linux questions ASP.NET questions SQL questions fabric questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design http://www.cplusplus.com/forum/general/89685/ and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java linker error .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General linker error undefined Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Linker error in c program Rate this: Please Sign up or sign in to vote. See more: C I am the beginner for c program... what is mean by Linker Error: undefined symbol print in module anyone explain Posted 4-Oct-11 5:24am kschandru371 Add a Solution 4 solutions Top Rated Most Recent Rate this: Please Sign up or sign in to vote. Solution 2 Accept Solution Reject Solution Did you mis-spell printf? Permalink Posted 4-Oct-11 7:19am Richard MacCutchan573.4K Comments Simon Bang Terkildsen 4-Oct-11 13:23pm hehe, most likely Rate this: Please Sign up or sign in to vote. Solution 1 Accept Solution Reject Solution The linker error in question means that you have used a function print but the linker cannot find that function in any of the libraries that you have added to the linker. Please read some more books before working with C as it is very u