For the libs and testprogs, I don’t touch Visual Studio at all. My build file sets a few paths, runs genWindowsMakefiles.cmd, and then this for each folder: nmake" /B -f blah.mak
nmake is part of the Visual Studio and platform SDK tools (Although I think MS have changed this recently) -- Deanna Earley | Lead developer | icatchercctv w: www.icode.co.uk/icatcher<http://www.icode.co.uk/icatcher> | t: 01329 835335 | f: 01329 835338 Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325 From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of i...@interstrat.com Sent: 03 March 2016 18:21 To: LIVE555 Streaming Media - development & use <live-de...@ns.live555.com> Subject: Re: [Live-devel] Setup for VisualStudio 2015 Jeff. Dee. Thanks very much. Jeff. It would be really helpful if you could post a sample CMake program for a basic project with any of the live555 embedded. I definitely plan to check this out and others may too. Thanks again for suggesting this path forward. Dee. With the command line makefiles approach. The VisualStudio environment doesn’t seem to have the Workspace option in new or open files. So after generating the .mak files for each of the subdirectories of “live” and for the testProgs, what is the best way to build and run in ViS 2015 ? Ross. You may wish to consider amending the windows configure page. Its not a big deal except for beginners. Thanks ! http://live555.com/liveMedia/#config-windows Additional lines here can be helpful. How to configure and build the code on Windows 1. Unpack and extract the '.tar.gz' file (using an application such as "WinZip"). 2. For DevStudio: If the 'tools' directory on your Windows machine is something other than "c:\Program Files\DevStudio \Vc", change the "TOOLS32 =" line in the file "win32config”. 3. For Visual Studio 2015 [..or latest release]: If the 'tools' directory on your Windows machine is something other than "c:\Program Files (x86)\Microsoft Visual Studio 14.0[..or latest release]\Vc", change the "TOOLS32 =" line in the file "win32config”. 4. In a command shell, 'cd' to the "live" directory, and run 5. genWindowsMakefiles This will generate - in each subdirectory - a "*.mak" makefile suitable for use by (e.g.) Microsoft Visual Studio. Thanks again IR. On Mar 3, 2016, at 6:01 AM, Jeff Shanab <jsha...@jfs-tech.com<mailto:jsha...@jfs-tech.com>> wrote: I personally use CMake to generate Visual Studio, Xcode, makefile and embedded projects of live555 and test programs. A bit of a learning curve at first but I've grown to love it. On Thu, Mar 3, 2016 at 3:37 AM, Deanna Earley <dee.ear...@icode.co.uk<mailto:dee.ear...@icode.co.uk>> wrote: You need to add all referenced classes (the .cpp at least). Personally, I just used nmake with the Windows versions of the make files. In our project however, I've added every referenced file. -- Deanna Earley | Lead developer | icatchercctv w: www.icode.co.uk/icatcher<http://www.icode.co.uk/icatcher> | t: 01329 835335 | f: 01329 835338 Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325 From: live-devel [mailto:live-devel-boun...@ns.live555.com<mailto:live-devel-boun...@ns.live555.com>] On Behalf Of i...@interstrat.com<mailto:i...@interstrat.com> Sent: 03 March 2016 00:51 To: LIVE555 Streaming Media - development & use <live-de...@ns.live555.com<mailto:live-de...@ns.live555.com>> Subject: [Live-devel] Setup for VisualStudio 2015 I would welcome from anyone, guidance on setup for VisualStudio 2015. Ross’s response in the tail was helpful to me as well. However, I need to setup the switches in VS2015. Here are my results following the process suggested. More generally, to setup and get running with any of the Live555 programs what is the best setup for VS2015 ? Thanks IR …if your goal is to read a H.264 video stream from a RTSP/RTP source, and convert this to a MPEG Transport Stream (without any decoding/re-encoding of the H.264 video), then you can do this using our ‘test programs’, without using any ‘3rd party’ software: 1/ Make sure that you have the latest version of the “LIVE555 Streaming Media” code; see: http://live555.com/liveMedia/faq.html#latest-version 2/ Build the code, as described here: http://live555.com/liveMedia/ Using MS Visual Studio 2015. A: Executed under: C:\...\live> genWindowsMakefiles’ B: In Visual Studio 2015 environment created an empty project. C: Under solutions explorer: --Dragged into Source Files: openRTSP.cpp -- Dragged into header files: playCommon.hh D: Under properties explorer: --VC++directories: Include Directories: added all the “include” subdirectories of live subdirectories --VC++directories:Source Directories: added “live” directory. --Linker: System: Subsystem: tried both “Console” and “Windows" 3/ Build the “openRTSP” RTSP client application; see http://live555.com/openRTSP/ Comes up with errors- - 11 unresolved externals. ------ Build started: Project: IRopenRTSP01, Configuration: Debug Win32 ------ openRTSP.obj : error LNK2019: unresolved external symbol "public: static class RTSPClient * __cdecl RTSPClient::createNew(class UsageEnvironment &,char const *,int,char const *,unsigned short,int)" (?createNew@RTSPClient@@SAPAV1@AAVUsageEnvironment@@PBDH1GH@Z) referenced in function "class Medium * __cdecl createClient(class UsageEnvironment &,char const *,int,char const *)" (?createClient@@YAPAVMedium@@AAVUsageEnvironment@@PBDH1@Z) openRTSP.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall RTSPClient::sendDescribeCommand(void (__cdecl*)(class RTSPClient *,int,char etc. On Feb 18, 2016, at 2:14 PM, Ross Finlayson <finlay...@live555.com<mailto:finlay...@live555.com>> wrote: (In the future, please put a proper “Subject:” on your emails.) Sorry, but neither “ffmpeg” nor “vclc” is our software, so we can’t help you with either of those. We can help you only with our “LIVE555 Streaming Media” software. However, if your goal is to read a H.264 video stream from a RTSP/RTP source, and convert this to a MPEG Transport Stream (without any decoding/re-encoding of the H.264 video), then you can do this using our ‘test programs’, without using any ‘3rd party’ software: 1/ Make sure that you have the latest version of the “LIVE555 Streaming Media” code; see: http://live555.com/liveMedia/faq.html#latest-version 2/ Build the code, as described here: http://live555.com/liveMedia/ 3/ Build the “openRTSP” RTSP client application; see http://live555.com/openRTSP/ 4/ Run openRTSP 'rtsp://Camera_SERVER_ADRESS:PORT/HdSdiStreaming/2?videoCodecType=H.264' This should give you a ‘raw’ H.264 video file (with a name starting with “VIDEO-“). Rename this file to "in.264”. 5/ Run testH264VideoToTransportStream (“testH264VideoToTransportStream” is another of our demonstration applications; it is found (along with “openRTSP”) in the “testProgs” directory.) This should give you a MPEG Transport Stream file, named “out.ts”. 6/ If you wish to stream this file (via IP multicast), then you can do so using the “testMPEG2TransportStreamer” application (also in “testProgs”). (You will have to rename the file to “test.ts” first.) You can also - if you wish - stream the Transport Stream file via RTSP, using our “LIVE555 Media Server” application: http://live555.com/mediaServer/ Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com<mailto:live-devel@lists.live555.com> http://lists.live555.com/mailman/listinfo/live-devel _______________________________________________ live-devel mailing list live-devel@lists.live555.com<mailto:live-devel@lists.live555.com> http://lists.live555.com/mailman/listinfo/live-devel _______________________________________________ live-devel mailing list live-devel@lists.live555.com<mailto:live-devel@lists.live555.com> http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel