weird error

This is a discussion on weird error within the C++ Programming forums, part of the General Programming Boards category; Main.obj : error LNK2001: unresolved external symbol "void __cdecl LoadClasses(void)" (?LoadClasses@@YAXXZ) C:\Documents and Settings\eng\My Documents\Visual Studio 2008\Projects\Project1\Helios RPG - Beta\Release\Helios ...

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    84

    weird error

    Main.obj : error LNK2001: unresolved external symbol "void __cdecl LoadClasses(void)" (?LoadClasses@@YAXXZ)
    C:\Documents and Settings\eng\My Documents\Visual Studio 2008\Projects\Project1\Helios RPG - Beta\Release\Helios RPG - Beta.exe : fatal error LNK1120: 1 unresolved externals
    Build log was saved at "file://c:\Documents and Settings\eng\My Documents\Visual Studio 2008\Projects\Project1\Helios RPG - Beta\Helios RPG - Beta\Release\BuildLog.htm"
    Helios RPG - Beta - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    what does this error mean, i have a function that does excatly the same thing and it doesn't give me any errors

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    It means the function "LoadClasses(void)" doesn't exist. So write it.

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    84
    Quote Originally Posted by tabstop View Post
    It means the function "LoadClasses(void)" doesn't exist. So write it.
    u think i won't check the function before posting an error?

  4. #4
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    If the function existed in the current project, then you wouldn't get this error. I can't say what you've done wrong, all I know is that you don't have a function of that name. (You might have a function called LoadClasses that takes an argument, you might have it in a different file that wasn't included in this project, I don't know.)

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    84
    Quote Originally Posted by tabstop View Post
    If the function existed in the current project, then you wouldn't get this error. I can't say what you've done wrong, all I know is that you don't have a function of that name. (You might have a function called LoadClasses that takes an argument, you might have it in a different file that wasn't included in this project, I don't know.)
    u were right, my header files name got all messed up.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 04:35 PM
  2. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 02:29 PM
  3. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 11:17 AM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 10:33 AM
  5. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 08:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21