Jump to content
  • Advertisement
Sign in to follow this  
phil67rpg

linker error

This topic is 3671 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am getting this error. Any help please. SoftNet error LNK2019: unresolved external symbol "public: virtual __thiscall CDlgAdvOptions::~CDlgAdvOptions(void)" (??1CDlgAdvOptions@@UAE@XZ) referenced in function "protected: void __thiscall CRoutesFrm::OnFileOptions(void)" (?OnFileOptions@CRoutesFrm@@IAEXXZ) SoftNet error LNK2019: unresolved external symbol "public: __thiscall CDlgAdvOptions::CDlgAdvOptions(void)" (??0CDlgAdvOptions@@QAE@XZ) referenced in function "protected: void __thiscall CRoutesFrm::OnFileOptions(void)" (?OnFileOptions@CRoutesFrm@@IAEXXZ) SoftNet error LNK2019: unresolved external symbol "public: __thiscall CSpeech::CSpeech(void)" (??0CSpeech@@QAE@XZ) referenced in function "unsigned int __cdecl StartSpeechThread(void *)" (?StartSpeechThread@@YAIPAX@Z) SoftNet error LNK2019: unresolved external symbol "public: virtual __thiscall CSpeech::~CSpeech(void)" (??1CSpeech@@UAE@XZ) referenced in function "unsigned int __cdecl StartSpeechThread(void *)" (?StartSpeechThread@@YAIPAX@Z) SoftNet error LNK2019: unresolved external symbol "public: void __thiscall CNetProApp::Talk(char const *)" (?Talk@CNetProApp@@QAEXPBD@Z) referenced in function "protected: void __thiscall CRoutesFrm::SelectPrevRoute(void)" (?SelectPrevRoute@CRoutesFrm@@IAEXXZ) SoftNet error LNK2019: unresolved external symbol "public: void __thiscall CNetProApp::VoiceRecognition(void)" (?VoiceRecognition@CNetProApp@@QAEXXZ) referenced in function "public: bool __thiscall CNetProApp::Init(void)" (?Init@CNetProApp@@QAE_NXZ) SoftNet error LNK2019: unresolved external symbol "public: void __thiscall CSpeech::Run(void)" (?Run@CSpeech@@QAEXXZ) referenced in function "unsigned int __cdecl StartSpeechThread(void *)" (?StartSpeechThread@@YAIPAX@Z) SoftNet fatal error LNK1120: 7 unresolved externals

Share this post


Link to post
Share on other sites
Advertisement
All this means is that the listed functions could not be found -- that usually means you either did not define them, misspelled a definition, or defined them but managed to exclude the file containing the definition from compilation.

The functions in question are:

CDlgAdvOptions::CDlgAdvOptions
CDlgAdvOptions::~CDlgAdvOptions
CSpeech::CSpeech
CSpeech::~CSpeech
CNetProApp::Talk
CNetProApp::VoiceRecognition
CSpeech::Run


Do you have definitions for those functions? If so, show us.

Share this post


Link to post
Share on other sites
Quote:
Original post by phil67rpg
I am getting this error. Any help please.

SoftNet error LNK2019: unresolved external symbol "public: virtual __thiscall CDlgAdvOptions::~CDlgAdvOptions(void)" (??1CDlgAdvOptions@@UAE@XZ) referenced in function "protected: void __thiscall CRoutesFrm::OnFileOptions(void)" (?OnFileOptions@CRoutesFrm@@IAEXXZ)
SoftNet error LNK2019: unresolved external symbol "public: __thiscall CDlgAdvOptions::CDlgAdvOptions(void)" (??0CDlgAdvOptions@@QAE@XZ) referenced in function "protected: void __thiscall CRoutesFrm::OnFileOptions(void)" (?OnFileOptions@CRoutesFrm@@IAEXXZ)
SoftNet error LNK2019: unresolved external symbol "public: __thiscall CSpeech::CSpeech(void)" (??0CSpeech@@QAE@XZ) referenced in function "unsigned int __cdecl StartSpeechThread(void *)" (?StartSpeechThread@@YAIPAX@Z)
SoftNet error LNK2019: unresolved external symbol "public: virtual __thiscall CSpeech::~CSpeech(void)" (??1CSpeech@@UAE@XZ) referenced in function "unsigned int __cdecl StartSpeechThread(void *)" (?StartSpeechThread@@YAIPAX@Z)
SoftNet error LNK2019: unresolved external symbol "public: void __thiscall CNetProApp::Talk(char const *)" (?Talk@CNetProApp@@QAEXPBD@Z) referenced in function "protected: void __thiscall CRoutesFrm::SelectPrevRoute(void)" (?SelectPrevRoute@CRoutesFrm@@IAEXXZ)
SoftNet error LNK2019: unresolved external symbol "public: void __thiscall CNetProApp::VoiceRecognition(void)" (?VoiceRecognition@CNetProApp@@QAEXXZ) referenced in function "public: bool __thiscall CNetProApp::Init(void)" (?Init@CNetProApp@@QAE_NXZ)
SoftNet error LNK2019: unresolved external symbol "public: void __thiscall CSpeech::Run(void)" (?Run@CSpeech@@QAEXXZ) referenced in function "unsigned int __cdecl StartSpeechThread(void *)" (?StartSpeechThread@@YAIPAX@Z)
SoftNet fatal error LNK1120: 7 unresolved externals


Um, yes? There's not much anyone of us can add to this.
The linker can't find the symbols mentioned.
Cleaning them up a bit, a few of them seem to be:
CSpeech::CSpeech()
CDlgAdvOptions::CDlgAdvOptions(void)
CSpeech::CSpeech(void)

I know linker errors look scary, but they can be deciphered, and there's no magic in them. It simply states the symbols that some of your object files reference, but which it can't find definitions of.

Since I have absolutely no clue what your CSpeech class does, much less how it is defined, or how you call the compiler, I can't tell you how to fix it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!