Probleme lors utilise jrtplib sour Visual C++ 6, j'en peut plus!!!

Signaler
Messages postés
2
Date d'inscription
jeudi 1 décembre 2005
Statut
Membre
Dernière intervention
20 août 2007
-
Messages postés
755
Date d'inscription
samedi 15 mai 2004
Statut
Membre
Dernière intervention
30 janvier 2011
-
J'ai bien compilé la lib, et j'ai bien installé sp6, les sdk, bien indiqué le chemin de lib, src, mais vc++6 me dit :
example2.obj : error LNK2001: unresolved external symbol __imp__WSACleanup@0
example2.obj : error LNK2001: unresolved external symbol __imp__WSAStartup@8
jrtplib.lib(rtpsession.obj) : error LNK2001: unresolved external symbol "public: __thiscall JMutex::~JMutex(void)" (??1JMutex@@QAE@XZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: __thiscall JMutex::~JMutex(void)" (??1JMutex@@QAE@XZ)
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol "public: __thiscall JMutex::~JMutex(void)" (??1JMutex@@QAE@XZ)
jrtplib.lib(rtpsession.obj) : error LNK2001: unresolved external symbol "public: __thiscall JMutex::JMutex(void)" (??0JMutex@@QAE@XZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: __thiscall JMutex::JMutex(void)" (??0JMutex@@QAE@XZ)
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol "public: __thiscall JMutex::JMutex(void)" (??0JMutex@@QAE@XZ)
jrtplib.lib(rtpsession.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Init(void)" (?Init@JMutex@@QAEHXZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Init(void)" (?Init@JMutex@@QAEHXZ)
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Init(void)" (?Init@JMutex@@QAEHXZ)
jrtplib.lib(rtpsession.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Unlock(void)" (?Unlock@JMutex@@QAEHXZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Unlock(void)" (?Unlock@JMutex@@QAEHXZ)
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Unlock(void)" (?Unlock@JMutex@@QAEHXZ)
jrtplib.lib(rtpsession.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Lock(void)" (?Lock@JMutex@@QAEHXZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Lock(void)" (?Lock@JMutex@@QAEHXZ)
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JMutex::Lock(void)" (?Lock@JMutex@@QAEHXZ)
jrtplib.lib(rtpsession.obj) : error LNK2001: unresolved external symbol __imp__gethostname@8
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__gethostname@8
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall JThread::~JThread(void)" (??1JThread@@UAE@XZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: __thiscall JThread::JThread(void)" (??0JThread@@QAE@XZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JThread::Start(void)" (?Start@JThread@@QAEHXZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall JThread::IsRunning(void)" (?IsRunning@JThread@@QAE_NXZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "public: int __thiscall JThread::Kill(void)" (?Kill@JThread@@QAEHXZ)
jrtplib.lib(rtppollthread.obj) : error LNK2001: unresolved external symbol "protected: void __thiscall JThread::ThreadStarted(void)" (?ThreadStarted@JThread@@IAEXXZ)
jrtplib.lib(rtpsources.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
jrtplib.lib(rtppacket.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__bind@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
jrtplib.lib(rtcpcompoundpacketbuilder.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
jrtplib.lib(rtppacket.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__htons@4
jrtplib.lib(rtcpcompoundpacketbuilder.obj) : error LNK2001: unresolved external symbol __imp__htons@4
jrtplib.lib(rtppacket.obj) : error LNK2001: unresolved external symbol __imp__htons@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__setsockopt@20
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__socket@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__gethostbyaddr@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__recv@16
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol ___WSAFDIsSet@8
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__select@20
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__sendto@24
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
jrtplib.lib(rtppacket.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
jrtplib.lib(rtcpcompoundpacket.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__recvfrom@24
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__ioctlsocket@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__accept@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__connect@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__inet_addr@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__listen@8
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__getsockname@12
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__WSAIoctl@36
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__gethostbyname@4
jrtplib.lib(rtpudpv4transmitter.obj) : error LNK2001: unresolved external symbol __imp__send@16

1 réponse

Messages postés
755
Date d'inscription
samedi 15 mai 2004
Statut
Membre
Dernière intervention
30 janvier 2011

ta librairie n'est surement pas adapter :) comment a tu linker ta librairie ? par le menu ?

sinon
#pragma comment(lib,"Ta lib.lib");

plus facile et fais gaffe a se que ta lib ne soit pas aussi dans les includes sa ferai un dedoublement