|
-
August 25th, 2007, 12:21 AM
#1
[RESOLVED] undefined symbol
i've been doing some c/c++ exercises concerning graphics manipulation.
when i compiled it error appeared. saying undefined symbol initgraph, setcolor,rectangle,etc..
this is the first time i encountered such problem of course i have been using different cp then.
i'm using turbo c++ ide 3.0..
silentwings
-
August 25th, 2007, 01:01 AM
#2
Re: undefined symbol
You probably failed to link to some of your object files or a library.
-
August 26th, 2007, 06:05 PM
#3
Re: undefined symbol
Hi there silentwings.
Probably the best way to get some assistance is to post the code that you've having trouble compiling. Try to isolate it down to just a few lines if you can and then post it here wrapped in code tags.
Undefined symbol is often due to forgetting to include a header file.
-
August 26th, 2007, 09:41 PM
#4
Re: undefined symbol
Undefined symbol errors also come up a lot when you don't link the libraries to your program, or if you forget to add one of your .cpp files when you compile. What are the errors you are getting? You might have to change your compiler settings to include the graphics libraries you are trying to use.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|