|
-
Dec 23rd, 2001, 02:31 PM
#1
Thread Starter
Lively Member
Uresolved exernals:(
I have a main.cpp and a main.h. I have most of my ints/doubles in the main.h, and when I compile my main.cpp, it compiles fine. But when I try to run my program, I get this:
--------------------Configuration: Maze - Win32 Debug--------------------
Linking...
Main.obj : error LNK2001: unresolved external symbol "double angle" (?angle@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double vectorz" (?vectorz@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double vectorx" (?vectorx@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double posx" (?posx@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double posz" (?posz@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double viewx" (?viewx@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double viewz" (?viewz@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double upx" (?upx@@3NA)
Main.obj : error LNK2001: unresolved external symbol "double upz" (?upz@@3NA)
Debug/Maze.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.
Anyone know whats wrong?
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
|