|
From: | Rui Maia |
Subject: | Problems linking. Unresolved symbols |
Date: | Tue, 30 Sep 2003 11:49:39 +0100 |
I made something like this.
/**
Base-Class of all the execution threads */ class CAudimusThread: public Thread { unsigned short m_id; /**< Thread ID */ public:
CAudimusThread() {} void run() {} }; /**
Class for Endpoint execution */ class CAudimusEndpoint: public CAudimusThread, CAudimusIOControl { endpoint_struct *m_audio_s; /**< Config struct */ public: /** Constructor Memory allocation and config structures initializers */ CAudimusEndpoint();
/**
Execution function */ void run() { run_endpoint(m_audio_s); } }; std::list< CAudimusThread >
m_sub_blocos;
And when i try to compile and link...
Linking...
libaudimusd.lib(AudioIn.obj) : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ost::Thread::notify(class ost::Thread *)" (address@hidden@ost@@MAEXPAV12@@Z) libaudimusd.lib(AudioIn.obj) : error LNK2001: unresolved external symbol "protected: virtual void * __thiscall ost::Thread::getExtended(void)" (address@hidden@ost@@MAEPAXXZ) libaudimusd.lib(AudioIn.obj) : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ost::Thread::initial(void)" (address@hidden@ost@@MAEXXZ) libaudimusd.lib(AudioIn.obj) : error LNK2001: unresolved external symbol "protected: virtual void __thiscall ost::Thread::final(void)" (address@hidden@ost@@MAEXXZ) libaudimusd.lib(AudioIn.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall ost::Thread::Thread(int,unsigned int)" (address@hidden@@address@hidden@Z) libaudimusd.lib(AudioIn.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall ost::Thread::~Thread(void)" (address@hidden@@address@hidden) ..\audimus_exemplo.exe : fatal error LNK1120: 6 unresolved externals Error executing link.exe. Rui Maia
********** EMAIL: address@hidden address@hidden WEB: http://mega.ist.utl.pt/~rfpm ***************************************** |
[Prev in Thread] | Current Thread | [Next in Thread] |