From d10544c1e7c8bb9e3ee02e12859f7b305f8987aa Mon Sep 17 00:00:00 2001 From: Darren VanBuren Date: Wed, 8 Mar 2017 14:52:39 -0800 Subject: [PATCH 1/2] Not quite building qtpasswd and StreamingProxy Got those out of DSS's target, so now only competing definitions sof new and delete are preventing it from linking --- CMakeLists.txt | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a734ff..a52fc72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -177,7 +177,6 @@ set(DSS_SOURCE_FILES QTFileLib/QTHintTrack.cpp QTFileLib/QTRTPFile.cpp QTFileLib/QTTrack.cpp - qtpasswd.tproj/QTSSPasswd.cpp RTCPUtilitiesLib/RTCPAckPacket.cpp RTCPUtilitiesLib/RTCPAPPNADUPacket.cpp RTCPUtilitiesLib/RTCPAPPPacket.cpp @@ -225,12 +224,7 @@ set(DSS_SOURCE_FILES Server.tproj/RTSPSession.cpp Server.tproj/RTSPSession3GPP.cpp Server.tproj/RTSPSessionInterface.cpp - Server.tproj/RunServer.cpp - StreamingProxy.tproj/get_opt.c - StreamingProxy.tproj/proxy.c - StreamingProxy.tproj/proxy_unix.c - StreamingProxy.tproj/shared_udp.c - StreamingProxy.tproj/util.c) + Server.tproj/RunServer.cpp) add_executable(DarwinStreamingServer ${DSS_SOURCE_FILES}) target_link_libraries(DarwinStreamingServer pthread crypt dl m stdc++) @@ -467,4 +461,13 @@ target_link_libraries(QTTrackInfo pthread) add_executable(RTPFileGen ${QTFILELIB_COMMON_SOURCE_FILES} QTFileLib/QTRTPFile.cpp QTFileTools/RTPFileGen.tproj/RTPFileGen.cpp) -target_link_libraries(RTPFileGen pthread) \ No newline at end of file +target_link_libraries(RTPFileGen pthread) + +add_executable(qtpasswd qtpasswd.tproj/QTSSPasswd.cpp) + +add_executable(StreamingProxy + StreamingProxy.tproj/get_opt.c + StreamingProxy.tproj/proxy.c + StreamingProxy.tproj/proxy_unix.c + StreamingProxy.tproj/shared_udp.c + StreamingProxy.tproj/util.c) \ No newline at end of file From e9fc1d1b152935b25d8a364cdff75e32759c5487 Mon Sep 17 00:00:00 2001 From: Darren VanBuren Date: Wed, 8 Mar 2017 16:47:17 -0800 Subject: [PATCH 2/2] Get qtpasswd compiling, and DarwinStreamingServer compiling --- CMakeLists.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a52fc72..aae5e34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ set(DSS_SOURCE_FILES APICommonCode/QTSSRollingLog.cpp APICommonCode/SDPSourceInfo.cpp APICommonCode/SourceInfo.cpp - APIModules/OSMemory_Modules/OSMemory_Modules.cpp +# APIModules/OSMemory_Modules/OSMemory_Modules.cpp APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp APIModules/QTSSAccessModule/AccessChecker.cpp APIModules/QTSSAccessModule/QTSSAccessModule.cpp @@ -463,7 +463,17 @@ add_executable(RTPFileGen ${QTFILELIB_COMMON_SOURCE_FILES} QTFileTools/RTPFileGen.tproj/RTPFileGen.cpp) target_link_libraries(RTPFileGen pthread) -add_executable(qtpasswd qtpasswd.tproj/QTSSPasswd.cpp) +add_executable(qtpasswd + SafeStdLib/InternalStdLib.cpp + CommonUtilitiesLib/md5.c + CommonUtilitiesLib/md5digest.cpp + CommonUtilitiesLib/OS.cpp + CommonUtilitiesLib/OSMutex.cpp + CommonUtilitiesLib/MyAssert.cpp + CommonUtilitiesLib/StringParser.cpp + CommonUtilitiesLib/StrPtrLen.cpp + qtpasswd.tproj/QTSSPasswd.cpp) +target_link_libraries(qtpasswd pthread crypt) add_executable(StreamingProxy StreamingProxy.tproj/get_opt.c