Posted by John on July 31, 2000 at 05:22:04:
In Reply to: linker errors??? posted by charms on July 31, 2000 at 04:41:14:
: Linking...
: options.obj : error LNK2005: "void __cdecl Initialize(unsigned int &)" (?Initialize@@YAXAAI@Z) already defined in main.obj
OK, the way to find the problem here is to look in options.h and option.cpp and check if the classes in there match up, both the definition and declaration, especially your function called
Initialize()
: options.obj : error LNK2001: unresolved external symbol "public: void __thiscall flightlistclass::LoadFromDisk(class std::basic_string Here, check you class called flightlistclass and make sure that all you definitions and declarations match up for your class, especilly LoadFromDisk() : _string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) This remaining stuff is just the compiler complaining about mismatches when it tries to link everything together. This is just a generalization but it looks like a clean compile but somethings are not matching up. Just check your classes to make sure things are matching. John Guanzon
: Debug/PROJECT2.exe : fatal error LNK1120: 1 unresolved externals
: Error executing link.exe.
: ???
jguanzon@vt.edu