Problème de compilation

PunkDude424 Messages postés 117 Date d'inscription mardi 3 février 2004 Statut Membre Dernière intervention 24 avril 2006 - 4 août 2005 à 22:30
banjo12 Messages postés 25 Date d'inscription dimanche 16 novembre 2003 Statut Membre Dernière intervention 13 novembre 2005 - 22 oct. 2005 à 22:52
Bonjour, j'ai un problème avec la compilation de projet sous visual studio 2003

Mon problème est le suivant : J'ai téléchargé les librairies RTSP LiveMedia sur le site de live ....www.live.com....j'ai fait comme il disait pour compiler sour windows avec visual studio 2003....tout fonctionne...j'ai réussi a compiler les test prog et les librairie...mais maintenant je voudrais prendre un programme test....onDemandRTSPServer et je voudrais le mettre dans un projet visual studio et pouvoir essayer de le modifier pour comprendre comment tout fonctionne....mais le problème est que je ne suis pas capable de compiler....jai toujours des erreurs de linkage....j'ai ajouté les répertoire des fichier include et des librairie dans mon projet et jai ajouté les librairie au projet mais sa ne foncitopnne pas....certaine fois jai une erreur comme koi un fichier obj est introuvable....mais le fichier na aucun rapport avec le projet.....ex .: mon projet est dans e:\programmation\programmation visual c++\rtsp test et il me dit qu'il ne trouve pas e:\programmation\programmation.obj....mais il ny a aucune référence a ce ficheir nul part...il n'existe nul part...d'autre fois j'Ai une centaine d>'erreur du style :


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _exit already defined in LIBCMTD.lib(crt0dat.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _memmove already defined in LIBCMTD.lib(memmove.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strftime already defined in LIBCMTD.lib(strftime.obj)

et plusieurs autre.....alors quoi faire ??? J,ai souvent beaucoup de misère avec de nouvelle libraire et le linkage et tout et tout.....quelquun peut maider ??? cest urgent

16 réponses

BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
4 août 2005 à 22:40
Teste en allant dans propriétés du proj, onglet Linker, categ 'Bibli spécifique ignorée' tu colles 'libcmt.lib' et ensuite tu compiles en RELEASE pour voir si passe.

ciao...
BruNews, MVP VC++
0
PunkDude424 Messages postés 117 Date d'inscription mardi 3 février 2004 Statut Membre Dernière intervention 24 avril 2006
4 août 2005 à 23:59
non ça ne fonctionne pas....jai les erreurs suivante


Linking...


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strncpy already defined in LIBC.lib(strncpy.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _free already defined in LIBC.lib(free.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _memmove already defined in LIBC.lib(memmove.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _exit already defined in LIBC.lib(crt0dat.obj)


MSVCRT.lib(MSVCR71.dll) : error LNK2005: _malloc already defined in LIBC.lib(malloc.obj)


MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBC.lib(typinfo.obj)


MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBC.lib(typinfo.obj)


LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library


server.obj : error LNK2019: unresolved external symbol "public: __thiscall Port::Port(unsigned short)" (??0Port@@QAE@G@Z) referenced in function _main


liblivemedia.lib(RTSPServer.obj) : error LNK2001: unresolved external symbol "public: __thiscall Port::Port(unsigned short)" (??0Port@@QAE@G@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "public: __thiscall Port::Port(unsigned short)" (??0Port@@QAE@G@Z) referenced in function "protected: virtual void __thiscall OnDemandServerMediaSubsession::getStreamParameters(unsigned int,unsigned int,class Port const &,class Port const &,int,unsigned char,unsigned char,unsigned int &,unsigned char &,unsigned int &,class Port &,class Port &,void * &)" (?getStreamParameters@OnDemandServerMediaSubsession@@MAEXIIABVPort@@0HEEAAIAAE1AAV2@3AAPAX@Z)


liblivemedia.lib(AMRAudioRTPSink.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(MPEG4ESVideoRTPSink.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(RTPSink.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


libbasicusageenvironment.lib(BasicHashTable.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z) referenced in function "protected: virtual void __thiscall OnDemandServerMediaSubsession::deleteStream(unsigned int,void * &)" (?deleteStream@OnDemandServerMediaSubsession@@MAEXIAAPAX@Z)


liblivemedia.lib(FileServerMediaSubsession.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(MPEG4GenericRTPSink.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(SimpleRTPSink.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z) referenced in function "public: char * __thiscall RTSPServer::rtspURL(class ServerMediaSession const *)const " (?rtspURL@RTSPServer@@QBEPADPBVServerMediaSession@@@Z)


liblivemedia.lib(MPEG1or2FileServerDemux.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(ServerMediaSession.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(DigestAuthentication.obj) : error LNK2001: unresolved external symbol "char * __cdecl strDup(char const *)" (?strDup@@YAPADPBD@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol _our_inet_ntoa referenced in function "public: char * __thiscall RTSPServer::rtspURL(class ServerMediaSession const *)const " (?rtspURL@RTSPServer@@QBEPADPBVServerMediaSession@@@Z)


liblivemedia.lib(ServerMediaSession.obj) : error LNK2001: unresolved external symbol _our_inet_ntoa


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol _our_inet_ntoa referenced in function "public: virtual __thiscall StreamState::~StreamState(void)" (??1StreamState@@UAE@XZ)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol __imp__ntohs@4 referenced in function "public: char * __thiscall RTSPServer::rtspURL(class ServerMediaSession const *)const " (?rtspURL@RTSPServer@@QBEPADPBVServerMediaSession@@@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol __imp__ntohs@4 referenced in function "public: void __thiscall StreamState::reclaim(void)" (?reclaim@StreamState@@QAEXXZ)


liblivemedia.lib(uLawAudioFilter.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4


liblivemedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "unsigned int __cdecl ourSourceAddressForMulticast(class UsageEnvironment &)" (?ourSourceAddressForMulticast@@YAIAAVUsageEnvironment@@@Z) referenced in function "public: char * __thiscall RTSPServer::rtspURL(class ServerMediaSession const *)const " (?rtspURL@RTSPServer@@QBEPADPBVServerMediaSession@@@Z)


liblivemedia.lib(ServerMediaSession.obj) : error LNK2001: unresolved external symbol "unsigned int __cdecl ourSourceAddressForMulticast(class UsageEnvironment &)" (?ourSourceAddressForMulticast@@YAIAAVUsageEnvironment@@@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "unsigned int ReceivingInterfaceAddr" (?ReceivingInterfaceAddr@@3IA) referenced in function "public: char * __thiscall RTSPServer::rtspURL(class ServerMediaSession const *)const " (?rtspURL@RTSPServer@@QBEPADPBVServerMediaSession@@@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "protected: static int __cdecl RTSPServer::setUpOurSocket(class UsageEnvironment &,class Port &)" (?setUpOurSocket@RTSPServer@@KAHAAVUsageEnvironment@@AAVPort@@@Z)


liblivemedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "unsigned int __cdecl getSourcePort(class UsageEnvironment &,int,class Port &)" (?getSourcePort@@YAIAAVUsageEnvironment@@HAAVPort@@@Z) referenced in function "protected: static int __cdecl RTSPServer::setUpOurSocket(class UsageEnvironment &,class Port &)" (?setUpOurSocket@RTSPServer@@KAHAAVUsageEnvironment@@AAVPort@@@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2001: unresolved external symbol "unsigned int __cdecl getSourcePort(class UsageEnvironment &,int,class Port &)" (?getSourcePort@@YAIAAVUsageEnvironment@@HAAVPort@@@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol __imp__listen@8 referenced in function "protected: static int __cdecl RTSPServer::setUpOurSocket(class UsageEnvironment &,class Port &)" (?setUpOurSocket@RTSPServer@@KAHAAVUsageEnvironment@@AAVPort@@@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "unsigned int __cdecl increaseSendBufferTo(class UsageEnvironment &,int,unsigned int)" (?increaseSendBufferTo@@YAIAAVUsageEnvironment@@HI@Z) referenced in function "protected: static int __cdecl RTSPServer::setUpOurSocket(class UsageEnvironment &,class Port &)" (?setUpOurSocket@RTSPServer@@KAHAAVUsageEnvironment@@AAVPort@@@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "int __cdecl setupStreamSocket(class UsageEnvironment &,class Port,unsigned int)" (?setupStreamSocket@@YAHAAVUsageEnvironment@@VPort@@I@Z) referenced in function "protected: static int __cdecl RTSPServer::setUpOurSocket(class UsageEnvironment &,class Port &)" (?setUpOurSocket@RTSPServer@@KAHAAVUsageEnvironment@@AAVPort@@@Z)


liblivemedia.lib(RTPSource.obj) : error LNK2001: unresolved external symbol "public: void * __thiscall HashTable::RemoveNext(void)" (?RemoveNext@HashTable@@QAEPAXXZ)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "public: void * __thiscall HashTable::RemoveNext(void)" (?RemoveNext@HashTable@@QAEPAXXZ) referenced in function "protected: virtual __thiscall RTSPServer::~RTSPServer(void)" (??1RTSPServer@@MAE@XZ)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2001: unresolved external symbol "public: void * __thiscall HashTable::RemoveNext(void)" (?RemoveNext@HashTable@@QAEPAXXZ)


liblivemedia.lib(MPEG2TransportStreamFramer.obj) : error LNK2001: unresolved external symbol "public: void * __thiscall HashTable::RemoveNext(void)" (?RemoveNext@HashTable@@QAEPAXXZ)


liblivemedia.lib(RTPSink.obj) : error LNK2001: unresolved external symbol "public: void * __thiscall HashTable::RemoveNext(void)" (?RemoveNext@HashTable@@QAEPAXXZ)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "char * __cdecl strDupSize(char const *)" (?strDupSize@@YAPADPBD@Z) referenced in function "void __cdecl parseTransportHeader(char const *,enum StreamingMode &,char * &,char * &,unsigned char &,unsigned short &,unsigned short &,unsigned char &,unsigned char &)" (?parseTransportHeader@@YAXPBDAAW4StreamingMode@@AAPAD2AAEAAG433@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "private: void __thiscall RTSPServer::RTSPClientSession::incomingRequestHandler1(void)" (?incomingRequestHandler1@RTSPClientSession@RTSPServer@@AAEXXZ)


liblivemedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol __imp__send@16


liblivemedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp__send@16


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol "int __cdecl readSocket(class UsageEnvironment &,int,unsigned char *,unsigned int,struct sockaddr_in &,struct timeval *)" (?readSocket@@YAHAAVUsageEnvironment@@HPAEIAAUsockaddr_in@@PAUtimeval@@@Z) referenced in function "private: void __thiscall RTSPServer::RTSPClientSession::incomingRequestHandler1(void)" (?incomingRequestHandler1@RTSPClientSession@RTSPServer@@AAEXXZ)


liblivemedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol "int __cdecl readSocket(class UsageEnvironment &,int,unsigned char *,unsigned int,struct sockaddr_in &,struct timeval *)" (?readSocket@@YAHAAVUsageEnvironment@@HPAEIAAUsockaddr_in@@PAUtimeval@@@Z)


liblivemedia.lib(RTSPServer.obj) : error LNK2019: unresolved external symbol __imp__accept@12 referenced in function "private: void __thiscall RTSPServer::incomingConnectionHandler1(void)" (?incomingConnectionHandler1@RTSPServer@@AAEXXZ)


liblivemedia.lib(MPEGVideoStreamFramer.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(RTPSource.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


libbasicusageenvironment.lib(DelayQueue.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(BasicUDPSink.obj) : error LNK2019: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z) referenced in function "private: void __thiscall BasicUDPSink::afterGettingFrame1(unsigned int,unsigned int,unsigned int)" (?afterGettingFrame1@BasicUDPSink@@AAEXIII@Z)


liblivemedia.lib(MultiFramedRTPSink.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(AC3AudioStreamFramer.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(MPEG1or2AudioStreamFramer.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(AMRAudioFileSource.obj) : error LNK2019: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z) referenced in function "private: __thiscall AMRAudioFileSource::AMRAudioFileSource(class UsageEnvironment &,struct _iobuf *,unsigned int,unsigned int)" (??0AMRAudioFileSource@@AAE@AAVUsageEnvironment@@PAU_iobuf@@II@Z)


liblivemedia.lib(WAVAudioFileSource.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(RTPSink.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(ServerMediaSession.obj) : error LNK2019: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z) referenced in function "protected: __thiscall ServerMediaSession::ServerMediaSession(class UsageEnvironment &,char const *,char const *,char const *,unsigned int,char const *)" (??0ServerMediaSession@@IAE@AAVUsageEnvironment@@PBD11I1@Z)


liblivemedia.lib(DigestAuthentication.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(ADTSAudioFileSource.obj) : error LNK2001: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z)


liblivemedia.lib(ByteStreamFileSource.obj) : error LNK2019: unresolved external symbol "int __cdecl gettimeofday(struct timeval *,int *)" (?gettimeofday@@YAHPAUtimeval@@PAH@Z) referenced in function "protected: virtual __thiscall ByteStreamFileSource::~ByteStreamFileSource(void)" (??1ByteStreamFileSource@@MAE@XZ)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol __imp__gethostname@8 referenced in function "protected: __thiscall OnDemandServerMediaSubsession::OnDemandServerMediaSubsession(class UsageEnvironment &,unsigned int)" (??0OnDemandServerMediaSubsession@@IAE@AAVUsageEnvironment@@I@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Groupsock::addDestination(struct in_addr const &,class Port const &)" (?addDestination@Groupsock@@QAEXABUin_addr@@ABVPort@@@Z) referenced in function "public: void __thiscall StreamState::startPlaying(class Destinations *,void (__cdecl*)(void *),void *)" (?startPlaying@StreamState@@QAEXPAVDestinations@@P6AXPAX@Z1@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Groupsock::removeDestination(struct in_addr const &,class Port const &)" (?removeDestination@Groupsock@@QAEXABUin_addr@@ABVPort@@@Z) referenced in function "public: void __thiscall StreamState::endPlaying(class Destinations *)" (?endPlaying@StreamState@@QAEXPAVDestinations@@@Z)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall Groupsock::~Groupsock(void)" (??1Groupsock@@UAE@XZ) referenced in function "protected: virtual char const * __thiscall OnDemandServerMediaSubsession::sdpLines(void)" (?sdpLines@OnDemandServerMediaSubsession@@MAEPBDXZ)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "public: __thiscall Groupsock::Groupsock(class UsageEnvironment &,struct in_addr const &,class Port,unsigned char)" (??0Groupsock@@QAE@AAVUsageEnvironment@@ABUin_addr@@VPort@@E@Z) referenced in function "protected: virtual char const * __thiscall OnDemandServerMediaSubsession::sdpLines(void)" (?sdpLines@OnDemandServerMediaSubsession@@MAEPBDXZ)


liblivemedia.lib(OnDemandServerMediaSubsession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Groupsock::removeAllDestinations(void)" (?removeAllDestinations@Groupsock@@QAEXXZ) referenced in function "protected: virtual void __thiscall OnDemandServerMediaSubsession::getStreamParameters(unsigned int,unsigned int,class Port const &,class Port const &,int,unsigned char,unsigned char,unsigned int &,unsigned char &,unsigned int &,class Port &,class Port &,void * &)" (?getStreamParameters@OnDemandServerMediaSubsession@@MAEXIIABVPort@@0HEEAAIAAE1AAV2@3AAPAX@Z)


liblivemedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol "public: void __thiscall Groupsock::removeAllDestinations(void)" (?removeAllDestinations@Groupsock@@QAEXXZ)


liblivemedia.lib(MediaSink.obj) : error LNK2019: unresolved external symbol __imp__htonl@4 referenced in function "public: void __thiscall OutPacketBuffer::enqueueWord(unsigned int)" (?enqueueWord@OutPacketBuffer@@QAEXI@Z)


liblivemedia.lib(MediaSink.obj) : error LNK2019: unresolved external symbol __imp__ntohl@4 referenced in function "public: unsigned int __thiscall OutPacketBuffer::extractWord(unsigned int)" (?extractWord@OutPacketBuffer@@QAEII@Z)


liblivemedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4


liblivemedia.lib(uLawAudioFilter.obj) : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "private: void __thiscall NetworkFromHostOrder16::afterGettingFrame1(unsigned int,unsigned int,struct timeval,unsigned int)" (?afterGettingFrame1@NetworkFromHostOrder16@@AAEXIIUtimeval@@I@Z)


liblivemedia.lib(RTPInterface.obj) : error LNK2019: unresolved external symbol "int __cdecl readSocketExact(class UsageEnvironment &,int,unsigned char *,unsigned int,struct sockaddr_in &,struct timeval *)" (?readSocketExact@@YAHAAVUsageEnvironment@@HPAEIAAUsockaddr_in@@PAUtimeval@@@Z) referenced in function "private: static void __cdecl SocketDescriptor::tcpReadHandler(class SocketDescriptor *,int)" (?tcpReadHandler@SocketDescriptor@@CAXPAV1@H@Z)


liblivemedia.lib(RTPInterface.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall Groupsock::output(class UsageEnvironment &,unsigned char,unsigned char *,unsigned int,class DirectedNetInterface *)" (?output@Groupsock@@QAEIAAVUsageEnvironment@@EPAEIPAVDirectedNetInterface@@@Z) referenced in function "public: void __thiscall RTPInterface::sendPacket(unsigned char *,unsigned int)" (?sendPacket@RTPInterface@@QAEXPAEI@Z)


liblivemedia.lib(BasicUDPSink.obj) : error LNK2001: unresolved external symbol "public: unsigned int __thiscall Groupsock::output(class UsageEnvironment &,unsigned char,unsigned char *,unsigned int,class DirectedNetInterface *)" (?output@Groupsock@@QAEIAAVUsageEnvironment@@EPAEIPAVDirectedNetInterface@@@Z)


liblivemedia.lib(RTPSink.obj) : error LNK2019: unresolved external symbol _our_random32 referenced in function "protected: __thiscall RTPSink::RTPSink(class UsageEnvironment &,class Groupsock *,unsigned char,unsigned int,char const *,unsigned int)" (??0RTPSink@@IAE@AAVUsageEnvironment@@PAVGroupsock@@EIPBDI@Z)


liblivemedia.lib(RTPSource.obj) : error LNK2001: unresolved external symbol _our_random32


liblivemedia.lib(RTPSink.obj) : error LNK2019: unresolved external symbol _our_random referenced in function "protected: __thiscall RTPSink::RTPSink(class UsageEnvironment &,class Groupsock *,unsigned char,unsigned int,char const *,unsigned int)" (??0RTPSink@@IAE@AAVUsageEnvironment@@PAVGroupsock@@EIPBDI@Z)


liblivemedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol _our_random


liblivemedia.lib(RTCP.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall Groupsock::wasLoopedBackFromUs(class UsageEnvironment &,struct sockaddr_in &)" (?wasLoopedBackFromUs@Groupsock@@QAEIAAVUsageEnvironment@@AAUsockaddr_in@@@Z) referenced in function "private: void __thiscall RTCPInstance::incomingReportHandler1(void)" (?incomingReportHandler1@RTCPInstance@@AAEXXZ)


liblivemedia.lib(RTCP.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Groupsock::multicastSendOnly(void)" (?multicastSendOnly@Groupsock@@QAEXXZ) referenced in function "protected: __thiscall RTCPInstance::RTCPInstance(class UsageEnvironment &,class Groupsock *,unsigned int,unsigned char const *,class RTPSink *,class RTPSource const *,unsigned int)" (??0RTCPInstance@@IAE@AAVUsageEnvironment@@PAVGroupsock@@IPBEPAVRTPSink@@PBVRTPSource@@I@Z)


liblivemedia.lib(MP3StreamState.obj) : error LNK2019: unresolved external symbol __imp__select@20 referenced in function "unsigned int __cdecl socketIsReadable(int)" (?socketIsReadable@@YAIH@Z)


libbasicusageenvironment.lib(BasicTaskScheduler.obj) : error LNK2001: unresolved external symbol __imp__select@20


liblivemedia.lib(MP3StreamState.obj) : error LNK2019: unresolved external symbol __imp__recv@16 referenced in function "private: unsigned int __thiscall MP3StreamState::readFromStream(unsigned char *,unsigned int)" (?readFromStream@MP3StreamState@@AAEIPAEI@Z)


libbasicusageenvironment.lib(BasicUsageEnvironment.obj) : error LNK2019: unresolved external symbol _initializeWinsockIfNecessary referenced in function "protected: __thiscall BasicUsageEnvironment::BasicUsageEnvironment(class TaskScheduler &)" (??0BasicUsageEnvironment@@IAE@AAVTaskScheduler@@@Z)


libbasicusageenvironment.lib(BasicUsageEnvironment.obj) : error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "public: virtual int __thiscall BasicUsageEnvironment::getErrno(void)const " (?getErrno@BasicUsageEnvironment@@UBEHXZ)


libbasicusageenvironment.lib(BasicTaskScheduler.obj) : error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "protected: virtual void __thiscall BasicTaskScheduler::SingleStep(unsigned int)" (?SingleStep@BasicTaskScheduler@@MAEXI@Z)


libbasicusageenvironment.lib(BasicTaskScheduler.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall TaskScheduler::rescheduleDelayedTask(void * &,int,void (__cdecl*)(void *),void *)" (?rescheduleDelayedTask@TaskScheduler@@UAEXAAPAXHP6AXPAX@Z1@Z)


libbasicusageenvironment.lib(BasicTaskScheduler0.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall TaskScheduler::rescheduleDelayedTask(void * &,int,void (__cdecl*)(void *),void *)" (?rescheduleDelayedTask@TaskScheduler@@UAEXAAPAXHP6AXPAX@Z1@Z)


libbasicusageenvironment.lib(BasicTaskScheduler.obj) : error LNK2019: unresolved external symbol ___WSAFDIsSet@8 referenced in function "protected: virtual void __thiscall BasicTaskScheduler::SingleStep(unsigned int)" (?SingleStep@BasicTaskScheduler@@MAEXI@Z)


libbasicusageenvironment.lib(BasicTaskScheduler.obj) : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "protected: virtual void __thiscall BasicTaskScheduler::SingleStep(unsigned int)" (?SingleStep@BasicTaskScheduler@@MAEXI@Z)


libbasicusageenvironment.lib(BasicHashTable.obj) : error LNK2019: unresolved external symbol "protected: __thiscall HashTable::HashTable(void)" (??0HashTable@@IAE@XZ) referenced in function "public: __thiscall BasicHashTable::BasicHashTable(int)" (??0BasicHashTable@@QAE@H@Z)


libbasicusageenvironment.lib(BasicHashTable.obj) : error LNK2019: unresolved external symbol "protected: __thiscall HashTable::Iterator::Iterator(void)" (??0Iterator@HashTable@@IAE@XZ) referenced in function "public: __thiscall BasicHashTable::Iterator::Iterator(class BasicHashTable &)" (??0Iterator@BasicHashTable@@QAE@AAV1@@Z)


libbasicusageenvironment.lib(BasicHashTable.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall HashTable::Iterator::~Iterator(void)" (??1Iterator@HashTable@@UAE@XZ) referenced in function "public: virtual void * __thiscall BasicHashTable::Iterator::`scalar deleting destructor'(unsigned int)" (??_GIterator@BasicHashTable@@UAEPAXI@Z)


libbasicusageenvironment.lib(BasicHashTable.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall HashTable::~HashTable(void)" (??1HashTable@@UAE@XZ) referenced in function "public: virtual __thiscall BasicHashTable::~BasicHashTable(void)" (??1BasicHashTable@@UAE@XZ)


libbasicusageenvironment.lib(BasicUsageEnvironment0.obj) : error LNK2019: unresolved external symbol "protected: virtual __thiscall UsageEnvironment::~UsageEnvironment(void)" (??1UsageEnvironment@@MAE@XZ) referenced in function "public: virtual __thiscall BasicUsageEnvironment0::~BasicUsageEnvironment0(void)" (??1BasicUsageEnvironment0@@UAE@XZ)


libbasicusageenvironment.lib(BasicUsageEnvironment0.obj) : error LNK2019: unresolved external symbol "protected: __thiscall UsageEnvironment::UsageEnvironment(class TaskScheduler &)" (??0UsageEnvironment@@IAE@AAVTaskScheduler@@@Z) referenced in function "protected: __thiscall BasicUsageEnvironment0::BasicUsageEnvironment0(class TaskScheduler &)" (??0BasicUsageEnvironment0@@IAE@AAVTaskScheduler@@@Z)


libbasicusageenvironment.lib(BasicTaskScheduler0.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall TaskScheduler::~TaskScheduler(void)" (??1TaskScheduler@@UAE@XZ) referenced in function "public: virtual __thiscall BasicTaskScheduler0::~BasicTaskScheduler0(void)" (??1BasicTaskScheduler0@@UAE@XZ)


libbasicusageenvironment.lib(BasicTaskScheduler0.obj) : error LNK2019: unresolved external symbol "protected: __thiscall TaskScheduler::TaskScheduler(void)" (??0TaskScheduler@@IAE@XZ) referenced in function "protected: __thiscall BasicTaskScheduler0::BasicTaskScheduler0(void)" (??0BasicTaskScheduler0@@IAE@XZ)


Release/TestProject.exe : fatal error LNK1120: 47 unresolved externals


Build log was saved at "file://e:\Programmation\Programmation Visual C++ .Net\Rtsp\TestProject\Release\BuildLog.htm"


TestProject - 106 error(s), 1 warning(s)


---------------------- Done ----------------------


Build: 0 succeeded, 1 failed, 0 skipped
0
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
5 août 2005 à 00:11
évite de nous mettre le tout, 4 lignes suffisaient.
ben va falloir tester toutes les options possibles, il y a peut-être un exemple de proj sur VS avec cette lib ? c'est le cas avec la zlib par exemple (encore que je l'ai toute refaite pour ne plus être emmerdé). Les libs externes compilées avec des trucs exotiques ça met toujours le souk.
bon courage.

ciao...
BruNews, MVP VC++
0
PunkDude424 Messages postés 117 Date d'inscription mardi 3 février 2004 Statut Membre Dernière intervention 24 avril 2006
5 août 2005 à 00:33
ok dsl!!!

Mais jai tout compilé avec visual studio 2003....je suis aller chercher la lib....sur un systeme linux jai générer les fichiers .mak et jai fait dans une fenetre de commande dos....nmake makefile.mak .....et le tout a été généré avec le compilo de VS

Merci quand meme
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
SnOOpss Messages postés 571 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 5 décembre 2013
5 août 2005 à 07:18
j'ai deja u ce prb

Tu vas dans "setting" puis "link" puis "input" et dans "ignore librairie" tu rajoutes MSVCRT.lib

Ou alors tu rajoute l option /nodefaultlib:"LIBCMTD.lib"



Sinon il te faut regler "setting" "c++" dans le combo "code
generation" et tu chnage "use runtime librairie" mais la premiere
methode suffit generalalement !!
0
vecchio56 Messages postés 6535 Date d'inscription lundi 16 décembre 2002 Statut Membre Dernière intervention 22 août 2010 14
5 août 2005 à 08:49
C'est ce qu'a proposé brunews au debut
0
SnOOpss Messages postés 571 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 5 décembre 2013
5 août 2005 à 20:13
Mince désolé javais pas vu sa reponse au millieu des c/c des messages d'erreur !!



Sinon tu as essayé la meme manip en rajoutant aussi LIBC.lib




Si je me souviens bien il fallait aussi que
l'application et la bibliohtèque utilisent la même version de la RTL
donc il m'avait fallu changer par exemple multi-threaded runtime
library en single threaded ou vice-verca (dans code genration) !!
0
SnOOpss Messages postés 571 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 5 décembre 2013
8 août 2005 à 19:32
Re !!

En fait chez moi ca marche nickel mais uniquement en mode DEBUG il s'agit de la librairie id3lib qui comprens zlib.

En mode debug j'utlise id3libD.lib ( ki marche sans probleme)

En mode Release il me faut utilier id3lib.lib ET zlib.lib (???) ( 30 min de gualere sans succés)



Donc j'ai tout mit en Single Threated et les seul message d'erreur que j'ai (ils viennent de zlib) sont

MSVCRT.lib(MSVCRT.dll) : error LNK2005: _calloc already defined in LIBC.lib(calloc.obj)

MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBC.lib(free.obj)



Quand tu disait l'avoir refaite tu voulais dire quoi [auteurdetail.aspx?ID=39449 BruNews]
( c en c++ ??)
0
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
8 août 2005 à 19:49
Au pied de la lettre:
j'ai ressorti toutes les fonctions, structures etc.. enlevé les params virtuels, enfin tout remis dans un format normal et compilé comme il se doit en __stdcall et C. Depuis ça roule nickel mais c'est du taf, prévois une demi journée mais ça vaut le coup, fini les emmerdes. Autre truc, j'ai passé les allocs mémoire direct en Win par VirtualAlloc pour qu'il n'y ait plus aucune dépendance sur la CRT.

ciao...
BruNews, MVP VC++
0
SnOOpss Messages postés 571 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 5 décembre 2013
9 août 2005 à 21:30
C'est largement au dessus de mes competences, je viens de voir que je
peu desactiver Zlib dans la librairie (moins de fonctions mais moins d
emmerdes et puis qui possede des mp3 avec les tags compressé deja que
la moitié des tag n'ont meme pas d'examples existants ??).



Sinon j'ai vu qu'il traine une version speciale de zlib appellé
zlib1.dll bien que d'apres ce que j'ai compris n'est faite que pour
marcher en dynamique !!



Ya pas une manip plus simple ??

Je crois pas que toute les personnes utilisant cette lib soient aussi calées que toi, pourtant elle est plutot bien repandue !!
0
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
9 août 2005 à 21:53
Si tu emploies en format dll alors pas de prob de compilation mais faut livrer la dll avec le prog, c'est un choix, moi je préfère avoir un exe seul.

ciao...
BruNews, MVP VC++
0
SnOOpss Messages postés 571 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 5 décembre 2013
10 août 2005 à 18:37
Derniere fois que je te casse les pieds avec ca BruNews !!

En fait vu que le projet marchait en mode Debug et pas Realease j'ai
chnagé tout les #ifndef DEBUG en #ifdef DEBUG et les #ifdef DEBUG en
#ifndef DEBUG j'ai eu quelque message d'erreur (normal) j'ai viré tout
ce qui ne me servait pas et maintenant ca marche !!



Au lieu de faire 1 M mon projet ne fait plus que 300 Ko donc ca a l'air bon ??

Je merite de me pendre ou ca peu etre une solution ???
0
SnOOpss Messages postés 571 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 5 décembre 2013
10 août 2005 à 18:54
C'est bon pas besoin de reponse c'est pire !!!
0
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
10 août 2005 à 18:54
alors là je n'en sais rien, faudra que tu testes sérieusement, l'usage dira si ça passe.

ciao...
BruNews, MVP VC++
0
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
10 août 2005 à 19:03
trop tard...

ciao...
BruNews, MVP VC++
0
banjo12 Messages postés 25 Date d'inscription dimanche 16 novembre 2003 Statut Membre Dernière intervention 13 novembre 2005
22 oct. 2005 à 22:52
Je cherche cette fameuse librairie LiveMedia car je dois develloper
pour mon projet un un flux video en utlisant rtp et c++. Mais le site
www.live.com n'existe plus apparrement.

Donc j'aimerais savoir si quelqu'un pourrait me l'envoyer par mail
(gauzere@iutbayonne.univ-pau.fr) ou me proposer une autre librairie
valide. Merci d'avance
0
Rejoignez-nous