mobile CCTV,mobile surveillance,police body worn cameras

标题: error compilation compilation RTSP SDK [打印本页]

author: assistenzasoin    time: 2018-11-8 15:35
标题: error compilation compilation RTSP SDK


1> ------ Inizio della compilazione: Progetto: SmartEye_RTSPServer, Configurazione: Debug Win32 ------
1> groupsock.lib (Groupsock.obj): errore LNK2038: Corrispondenza errata per '_MSC_VER' rilevato: il valore '1600' non corrisponde a '1900' in AutoPUList.obj
1> groupsock.lib (NetInterface.obj): errore LNK2038: Corrispondenza errata per '_MSC_VER' rilevato: il valore '1600' non corrisponde a '1900' in AutoPUList.obj
1> liveMedia.lib (RTSPClient.obj): avviso LNK4049: il simbolo __snprintf definito localmente è stato importato
1> liveMedia.lib (ServerMediaSession.obj): avviso LNK4217: simbolo __snprintf definito localmente importato nella funzione "public: char * __thiscall ServerMediaSession :: generateSDPDescription (void)" (? GenerateSDPDescription @ ServerMediaSession @@ QAEPADXZ)
1> liveMedia.lib (GenericMediaServer.obj): avviso LNK4217: simbolo __snprintf definito localmente importato nella funzione __ehhandler $? SetUpOurSocket @ GenericMediaServer @@ KAHAAVUsageEnvironment @@ AAVPort @@@ Z
1> liveMedia.lib (RTSPServer.obj): avviso LNK4049: il simbolo __snprintf definito localmente è stato importato
1> liveMedia.lib (RTCP.obj): avviso LNK4049: il simbolo __snprintf definito localmente è stato importato
1> liveMedia.lib (MP3InternalsHuffman.obj): avviso LNK4217: simbolo _printf definito localmente importato nella funzione "int __cdecl rsf_huffman_decoder (classe BitVector &, struct huffcodetab const *, int *, int *, int *, int *)" ( ? rsf_huffman_decoder YAHAAVBitVector @@ @@ @@ PBUhuffcodetab PAH222 @ Z)
1> BasicUsageEnvironment.lib (BasicTaskScheduler.obj): errore LNK2019: riferimento al simbolo esterno __imp__fprintf non risolto nella funzione "protected: virtual void __thiscall BasicTaskScheduler :: SingleStep (unsigned int)" (? SingleStep @ BasicTaskScheduler @@ MAEXI @ Z )
1> BasicUsageEnvironment.lib (BasicUsageEnvironment.obj): errore LNK2001: simbolo esterno __imp__fprintf non risolto
1> BasicUsageEnvironment.lib (BasicTaskScheduler.obj): errore LNK2019: riferimento al simbolo esterno __imp____iob_func non risolto nella funzione "protected: virtual void __thiscall BasicTaskScheduler :: SingleStep (unsigned int)" (? SingleStep @ BasicTaskScheduler @@ MAEXI @ Z )
1> BasicUsageEnvironment.lib (BasicUsageEnvironment.obj): errore LNK2001: simbolo esterno __imp____iob_func non risolto
1> BasicUsageEnvironment.lib (BasicUsageEnvironment0.obj): errore LNK2001: simbolo esterno __imp____iob_func non risolto
1> liveMedia.lib (DVVideoRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MPEG4GenericRTPSource.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MPEG4VideoStreamFramer.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> groupsock.lib (Groupsock.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (VorbisAudioRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (TheoraVideoRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MPEG4ESVideoRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MPEG4LATMAudioRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (DigestAuthentication.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (RTSPRegisterSender.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (RTSPClient.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MediaSession.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (GenericMediaServer.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (RTSPServer.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (RTSPServerRegister.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (RTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (OnDemandServerMediaSubsession.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (H264VideoRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MPEG4GenericRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (H265VideoRTPSink.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> groupsock.lib (NetAddress.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> groupsock.lib (GroupsockHelper.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (Media.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (ServerMediaSession.obj): errore LNK2001: simbolo esterno __imp__sprintf non risolto
1> liveMedia.lib (MediaSession.obj): errore LNK2001: simbolo esterno __imp__sscanf non risolto
1> liveMedia.lib (MP3InternalsHuffman.obj): errore LNK2001: simbolo esterno __imp__sscanf non risolto
1> liveMedia.lib (RTSPServer.obj): errore LNK2001: simbolo esterno
__imp__sscanf unresolved1> liveMedia.lib (RTSPServerRegister.obj): errore LNK2001: simbolo esterno __imp__sscanf unresolved1> liveMedia.lib (RTSPCommon.obj): errore LNK2001: simbolo esterno __imp__sscanf unresolved1> liveMedia.lib (RTSPClient.obj): errore LNK2001: esterno simbolo __imp__sscanf unresolved1> C: \ Users \ Service \ Desktop \ SmartEye_RTSPServer \ build \ .. \ bin \ Debug \ SmartEye_RTSPServer.exe: errore irreversibile LNK1120: 4 non risolto esternamente ========== Compilation: 0 completato, 1 fallito, 0 aggiornato, 0 ignorato ==========



author: fanghj90    time: 2018-11-8 16:06
hi, please use VS 2010 build。
author: assistenzasoin    time: 2018-11-8 16:41
ok
the error in the VS 2010

1> ------ Beginning of compilation: Project: SmartEye_RTSPServer, Configuration: Win32 Debugging ------
1> Compilation started 08/11/2018 09:33:04.
1> C: \ Program Files (x86) \ MSBuild \ Microsoft.Cpp \ v4.0 \ Platforms \ Win32 \ Microsoft.Cpp.Win32.Targets (518.5): MSB8008 Error: The specified platform tool set (v140) it is not installed or is not valid. Make sure that a supported value is selected for the PlatformToolset.
1>
1> Compilation NOT SUCCESSFUL.
1>
1> Elapsed time 00: 00: 01.36
========== Compilation: 0 complete, 1 failed, 0 production, 0 ignorant ==========
author: assistenzasoin    time: 2018-11-8 17:20
I also found on the RTSP that the version of 2018-09-13 often crashed

author: fanghj90    time: 2018-11-8 17:57
assistenzasoin post on2018-11-8 16:41
ok
the error in the VS 2010

Because it was compiled with vs 2015, re-extract the files we provided and compile with vs 2010.
author: fanghj90    time: 2018-11-8 17:59
assistenzasoin post on2018-11-8 17:20
I also found on the RTSP that the version of 2018-09-13 often crashed

This version fixes some crashes
author: assistenzasoin    time: 2018-11-9 18:20
how can I control PTZ using the RTSP stream?

author: besovideo    time: 2018-11-10 15:47
not supported yet, you have to do it yourself, that's why we provide source code to you, hope you may share it back to us when done.
author: assistenzasoin    time: 2018-11-10 22:42
according to my analysis I found that there is a lack between
on the BV_command code and the sequent

typedef struct _BVCU_Event_Action_PTZ {
     char szID [BVCU_MAX_ID_LEN + 1]; // PU ID
     int iIndex; // PTZ 设备
     int iCommand; // PTZ 命令. 参考 PUConfig.h 中 的 BVCU_PTZ_COMMAND_ *
     int iParam; // 预置 点 号 / 巡航 路径 号 等
     int iReserved [4];
} BVCU_Event_Action_PTZ;

and a code that was in the old PU library




欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/) Powered by Discuz! X3.2