Just add OpenSBCDaemon.h, OpenSBCDaemon.cxx, UpperRegistrar.h, UpperRegistration.h, UpperRegistrar.cxx and UpperRegistration.cxx to the SBC project or use the OpenSBC.vcproj attached.
> Date: Tue, 9 Sep 2008 09:27:37 -0400
> From: opensipstack-devel@opensourcesip.org
> To: opensipstack-devel@lists.sourceforge.net
> Subject:
OpenSIPStack opensip stack giving compile error on win2k3
>
> just today i downloaded the latest CVS, thats on 9th sept and tried to compile using visual studio 2005 (8) sp1 and i get the following errors:
>
> 2>Generating Code...
> 2>Linking...
> 2>Main.obj : error LNK2019: unresolved external symbol \"public: __thiscall OpenSBCDaemon::OpenSBCDaemon(void)\" (??0OpenSBCDaemon@@QAE@XZ) referenced in function _WinMain@16
> 2>Main.obj : error LNK2019: unresolved external symbol \"public: virtual __thiscall OpenSBCDaemon::~OpenSBCDaemon(void)\" (??1OpenSBCDaemon@@UAE@XZ) referenced in function \"protected: static ?? :: ?? ::YAXXZ:: ?? `WinMain\'::`2\'::`dynamic atexit destructor for \'instance\'\'\" (??__Finstance@?1??WinMain@@9@16@YAXXZ)
> 2>SBCTrunk.obj : error LNK2019: unresolved external symbol \"public: class SBCTrunk * __thiscall OpenSBCDaemon::OnCreateTrunk(class SBCTrunkProcess *)\" (?OnCreateTrunk@OpenSBCDaemon@@QAEPAVSBCTrunk@@PAVSBCTrunkProcess@@@Z) referenced in function \"public: virtual class SBCTrunk * __thiscall SBCTrunkManager::OnCreateTrunk(class SBCTrunkProcess *)\" (?OnCreateTrunk@SBCTrunkManager@@UAEPAVSBCTrunk@@PAVSBCTrunkProcess@@@Z)
> 2>Registrar.obj : error LNK2019: unresolved external symbol \"public: __thiscall REGISTRAR::UpperRegistrar::UpperRegistrar(class SIP::SIPUserAgent &,class REGISTRAR::Registrar *)\" (??0UpperRegistrar@REGISTRAR@@QAE@AAVSIPUserAgent@SIP@@PAVRegistrar@1@@Z) referenced in function \"public: __thiscall REGISTRAR::Registrar::Registrar(class SIP::SIPUserAgent &,int)\" (??0Registrar@REGISTRAR@@QAE@AAVSIPUserAgent@SIP@@H@Z)
> 2>Release/OpenSBC.exe : fatal error LNK1120: 4 unresolved externals
> 2>Build log was saved at \"file://d:
New Folder\\opensbc\\Release\\BuildLog.htm\"
> 2>OpenSBC - 5 error(s), 0 warning(s)
> ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>
>
> opensipstack compiles fine
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
>
http://moblin-contest.org/redirect.php?banner_id=100&url=/> _______________________________________________
> opensipstack-devel mailing list
> opensipstack-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/opensipstack-develDescargá ya gratis y viví la experiencia Windows Live.
Descubre Windows Live