In addition to adding the paths to find the libraries, it sounds like the
project settings aren't set to use user32.lib and advapi32.lib.

Try:
* go to the project property pages (right click project, choose
properties)->linker->input->Additional Dependencies
* Add 'user32.lib' and 'advapi32.lib' to the list.
* Re-link.

On 2/17/07, somasundaram easwaramoorthy <[EMAIL PROTECTED]> wrote:

Thanks for your response. I already have "C:\Program Files\Microsoft
Platform SDK for Windows Server 2003 R2\Lib" in my "Tools >> Options >>
Projects and Solutions >> VC++ Directories >> Library Files" Is there more,
did I miss something?
regards,
Soma

*Andrzej Ciarkowski <[EMAIL PROTECTED]>* wrote:


Hi,
You probably need to add user32.lib and advapi32.lib to the list of
imported libraries.

Andrzej Ciarkowski

   >
 Hi,
 I am building sipxtapi.dll on windows xp machine using Visual C++ 2005
express edition. I am following the instructions in
http://sipx-wiki.calivia.com/index.php/SipXtapi_and_sipXezPhone_Build_Environment_for_Windows

I took code from http://scm.sipfoundry.org/rep/sipX/branches/sipXtapi

I am getting the following link error during build. Can someone help by
pointing to me what I am missing. Thanks
regards,
Soma

Linking...
sipxcalllib.lib(CallManager.obj) : warning LNK4075: ignoring
'/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
Creating library lib\sipXtapid.lib and object lib\sipXtapid.exp
sipxcalllib.lib(CallManager.obj) : error LNK2019: unresolved external
symbol [EMAIL PROTECTED] referenced in function "private: int __thiscall
CallManager::IsTroubleShootingModeEnabled(void)"
([EMAIL PROTECTED]@@AAEHXZ)
sipxportlib.lib(getWindowsDNSServers.obj) : error LNK2001: unresolved
external symbol [EMAIL PROTECTED]
sipxcalllib.lib(CallManager.obj) : error LNK2019: unresolved external
symbol [EMAIL PROTECTED] referenced in function "private: int
__thiscall CallManager::IsTroubleShootingModeEnabled(void)"
([EMAIL PROTECTED]@@AAEHXZ)
sipxportlib.lib(getWindowsDNSServers.obj) : error LNK2001: unresolved
external symbol [EMAIL PROTECTED]
sipxcalllib.lib(CallManager.obj) : error LNK2019: unresolved external
symbol [EMAIL PROTECTED] referenced in function "private: int
__thiscall CallManager::IsTroubleShootingModeEnabled(void)"
([EMAIL PROTECTED]@@AAEHXZ)
sipxportlib.lib(getWindowsDNSServers.obj) : error LNK2001: unresolved
external symbol [EMAIL PROTECTED]
sipxmedialib.lib(dmaTaskWnt.obj) : error LNK2019: unresolved external
symbol [EMAIL PROTECTED] referenced in function "void __cdecl
dmaShutdown(void)" (?dmaShutdown@@YAXXZ)
sipxmedialib.lib(SpeakerThreadWnt.obj) : error LNK2001: unresolved
external symbol [EMAIL PROTECTED]
sipxmedialib.lib(MicThreadWnt.obj) : error LNK2001: unresolved external
symbol [EMAIL PROTECTED]
sipxmedialib.lib(SpeakerThreadWnt.obj) : error LNK2019: unresolved
external symbol [EMAIL PROTECTED] referenced in function "void __cdecl
closeSpeakerDevices(void)" (?closeSpeakerDevices@@YAXXZ)
sipxmedialib.lib(MicThreadWnt.obj) : error LNK2001: unresolved external
symbol [EMAIL PROTECTED]
bin\sipXtapid.dll : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://c:\voiceicon\src\sipXtapi
\sipXcallLib\Debug_NoVideo\BuildLog.htm"
sipXtapi - 12 error(s), 235 warning(s)
========== Build: 7 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

------------------------------
We won't tell. Get more on shows you hate to 
love<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265>
(and love to hate): Yahoo! TV's Guilty Pleasures 
list.<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265>





------------------------------
Bored stiff? <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Loosen 
up...
Download and play hundreds of games for 
free<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>on Yahoo! Games.


_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/




--
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to