![]() |
|
#1
|
|||
|
|||
Unresolved ExternalI tried to program a game similar to space invaders in C++ using my broland 5.5 compiler, but when I compile I get the message
Quote:
|
|
#2
|
|||
|
|||
|
Quote:
i think you have declared that function as extern in your main file, and then when the linker tries to actually go look for it in one of your include files, it can't find it. sure you have it spelled same in both places? I haven't looked this error up or encountered it, but this is the first thing that came to my mind, so if it's not correct, my apologies |
|
#3
|
||||
|
||||
|
Quote:
This is actually a linker error that is caused by having substring defined but when the program is trying to link the obj files together it cannot find the implementation. If you are sure that the implementation is there, try to make sure that you have the exact same declarations as what your function is calling for. |
|
#4
|
||||
|
||||
|
This often happens to me when I am moving my function prototypes and function implementations around in my code to organize it or if I delete something in a function header and forget to rewrite it before I start the compile process. Check your function headers and make sure they're all there.
__________________
-Aaron |
|
#5
|
|||
|
|||
wow, dsmith is good...You guys were right, there were three functions that I had changed, and forgot to change the declarations. Thanks guys! I'll keep that in mind for next time!
|
Recent GIDBlog
US Elections and the ?Voter?s Responsibility? by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can somebody look at this and point out any errors to me | soulfly | C Programming Language | 7 | 31-Mar-2004 10:45 |
| MySQL Won't Work | trs2988 | C++ Forum | 6 | 31-Mar-2004 09:48 |
| including external libraries | kenbrilliant | C++ Forum | 1 | 15-Dec-2003 14:06 |
| External Stylesheet Question | JdS | Web Design Forum | 3 | 07-Sep-2001 17:48 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The