Re: [OpenSIPStack] Linker Problem with respect to OSSPhone!!
Brought to you by:
joegenbaclor
From: Ilian J. C. P. <ip...@so...> - 2008-02-15 07:25:50
|
Hi, The MFC solution file should be in atlsip\OSSPhone\vc80-mfc - Ilian Koushik jaikishan wrote: > Hi Ilian, > > Thanks for the suggestions.. > > I am afraid i couldnt get the problem solved inspite > of trying all the solutions you advised excpet for the > last one where i need to set the Additional > dependencies for input. i couldnt get the procedure > there... Opensipstack SLN doesnt compile into any exe > or dll.. it just produces the binary.. do you want me > to write each and every binary file name into it?? or > else am i getting something worng here?? > > And to everybody's notice i didnt see any .sln file in > OSSPhone directory which resides under ATLSIP > directory. if any body can send me the .sln file which > has every property set.. then i can cross compare it > with what i have and try to make it work... > > thanks in advance.. > > cheers, > Jay > > > > > --- "Ilian Jeri C. Pinzon" <ip...@so...> > wrote: > > >> Hi, >> >> I'm assuming you're using Visual C++ 2005. >> >> Try opening the solution file instead of the project >> file, the settings >> should already be set up for you. If for some reason >> this doesn't work >> try the following: >> >> 1. Add the OpenSIPStack project in your solution >> 2. Right click OSSPhone and set OpenSIPStack as a >> Project Dependency >> >> Or if for some bizarre reason this still doesn't >> work, set the following >> Linker properties to their appropriate values: >> >> OSSPhone Properties -> Linker -> General -> >> Additional Library >> Directories (set OpenSIPStack output directory here) >> OSSPhone Properties -> Linker -> Input -> Additional >> Dependencies (set >> OpenSIPStack output binary here) >> >> Regards, >> Ilian >> >> Koushik jaikishan wrote: >> >>> Hi Guys, >>> >>> I am new to this forum and i am excited to be >>> >> here. >> >>> i have a very naive question to start off with.. >>> >>> i have downloaded all the required sdk from >>> opensipstack.org, but incidentally i have come >>> >> across >> >>> a problem where i am not able to get the MFC >>> >> version >> >>> of OSSSoftPhone linked to some of the files in >>> OpenSipStack Folder.. i have included this in >>> Additional Include directories entry but still i >>> receive around 160 linker errors... below is the >>> >> trace >> >>> of the same.. >>> >>> I believe this can be solved very easily.. lending >>> >> an >> >>> helping hand on this would provide a great deal >>> >> input >> >>> in solving this simple problem.. >>> >>> thanks in advance.. >>> >>> cheers, >>> Jay >>> >>> >>> >>> //////////////////////LINKER ERROR >>> //////////////////// >>> >>> ------ Build started: Project: OSSPhone (MFC), >>> Configuration: Release Win32 ------ >>> Linking... >>> nafxcw.lib(afxmem.obj) : warning LNK4006: "void * >>> __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) >>> already defined in libcmt.lib(new.obj); second >>> definition ignored >>> nafxcw.lib(afxmem.obj) : warning LNK4006: "void >>> __cdecl operator delete(void *)" (??3@YAXPAX@Z) >>> already defined in libcmt.lib(delete.obj); second >>> definition ignored >>> nafxcw.lib(afxmem.obj) : warning LNK4006: "void >>> __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) >>> already defined in libcmt.lib(delete2.obj); second >>> definition ignored >>> OSSPhone.obj : error LNK2019: unresolved external >>> symbol "public: __thiscall PProcess::PProcess(char >>> const *,char const *,unsigned short,unsigned >>> short,enum PProcess::CodeStatus,unsigned short)" >>> (??0PProcess@@QAE@PBD0GGW4CodeStatus@0@G@Z) >>> >> referenced >> >>> in function "public: __thiscall >>> COSSPhoneMFCApp::PWLibProcess::PWLibProcess(void)" >>> (??0PWLibProcess@COSSPhoneMFCApp@@QAE@XZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual enum PObject::Comparison >>> __thiscall PProcess::Compare(class PObject const >>> &)const " >>> >>> > (?Compare@PProcess@@UBE?AW4Comparison@PObject@@ABV3@@Z) > >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PThread::PrintOn(class >>> >> std::basic_ostream<char,struct >> >>> std::char_traits<char> > &)const " >>> >>> > (?PrintOn@PThread@@UBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) > >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PObject::ReadFrom(class >>> >> std::basic_istream<char,struct >> >>> std::char_traits<char> > &)" >>> >>> > (?ReadFrom@PObject@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z) > >>> OSSPhoneDlg.obj : error LNK2001: unresolved >>> >> external >> >>> symbol "public: virtual void __thiscall >>> PObject::ReadFrom(class >>> >> std::basic_istream<char,struct >> >>> std::char_traits<char> > &)" >>> >>> > (?ReadFrom@PObject@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z) > >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual class PObject * __thiscall >>> PObject::Clone(void)const " >>> (?Clone@PObject@@UBEPAV1@XZ) >>> OSSPhoneDlg.obj : error LNK2001: unresolved >>> >> external >> >>> symbol "public: virtual class PObject * __thiscall >>> PObject::Clone(void)const " >>> (?Clone@PObject@@UBEPAV1@XZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual int __thiscall >>> PObject::HashFunction(void)const " >>> (?HashFunction@PObject@@UBEHXZ) >>> OSSPhoneDlg.obj : error LNK2001: unresolved >>> >> external >> >>> symbol "public: virtual int __thiscall >>> PObject::HashFunction(void)const " >>> (?HashFunction@PObject@@UBEHXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PObject::OnGCCollect(void)" >>> (?OnGCCollect@PObject@@UAEXXZ) >>> OSSPhoneDlg.obj : error LNK2001: unresolved >>> >> external >> >>> symbol "public: virtual void __thiscall >>> PObject::OnGCCollect(void)" >>> (?OnGCCollect@PObject@@UAEXXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PThread::Restart(void)" (?Restart@PThread@@UAEXXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PProcess::Terminate(void)" >>> (?Terminate@PProcess@@UAEXXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual int __thiscall >>> PThread::IsTerminated(void)const " >>> (?IsTerminated@PThread@@UBEHXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PThread::Suspend(int)" (?Suspend@PThread@@UAEXH@Z) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PThread::Resume(void)" (?Resume@PThread@@UAEXXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual int __thiscall >>> PThread::IsSuspended(void)const " >>> (?IsSuspended@PThread@@UBEHXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PThread::SetPriority(enum PThread::Priority)" >>> (?SetPriority@PThread@@UAEXW4Priority@1@@Z) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual enum PThread::Priority >>> __thiscall PThread::GetPriority(void)const " >>> (?GetPriority@PThread@@UBE?AW4Priority@1@XZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PThread::SetAutoDelete(enum >>> >> PThread::AutoDeleteFlag)" >> >> (?SetAutoDelete@PThread@@UAEXW4AutoDeleteFlag@1@@Z) >> >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual class PString __thiscall >>> PProcess::GetThreadName(void)const " >>> (?GetThreadName@PProcess@@UBE?AVPString@@XZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual void __thiscall >>> PProcess::SetThreadName(class PString const &)" >>> (?SetThreadName@PProcess@@UAEXABVPString@@@Z) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual unsigned long __thiscall >>> PThread::GetThreadId(void)const " >>> (?GetThreadId@PThread@@UBEKXZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual class PString const & >>> __thiscall PProcess::GetManufacturer(void)const " >>> (?GetManufacturer@PProcess@@UBEABVPString@@XZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual class PString const & >>> __thiscall PProcess::GetName(void)const " >>> (?GetName@PProcess@@UBEABVPString@@XZ) >>> OSSPhone.obj : error LNK2001: unresolved external >>> symbol "public: virtual class PString __thiscall >>> PProcess::GetVersion(int)const " >>> (?GetVersion@PProcess@@UBE?AVPString@@H@Z) >>> > === message truncated === > > > > Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |