Compile Live555 using VS2010 Part 3
Part 3 is an updated version of compiling Live555 using VS2010 based on Live555 2013.02.27 build
1. Create an empty VS2010 C++ Solution as Live555
2. Within the Live555 solution, add sub projects to Live555 solution
3. The naming of the sub-project is preferred to follow live555 naming as shown
4. For sub-project BasicUsageEnvironment, groupsock, liveMedia and UsageEnvironment should be a static library project.
5. Now, copy each live555 folder into respective sub-project. From here, I will do an example for BasicUsage Environment project
6. Next, include all the file to BasicUsageEnvironment vcproj. Also, add additional include library.
7. Repeat step 5 and 6 for groupsock, liveMediaand UsageEnvironment.
8. For simplicity, compile each sub-project with project only build menu. This will help you to figure out any missing include file per sub-project basis.
9. If you manage to compile BasicUsageEnvironment, groupsock, liveMedia and UsageEnvironment sub-project successfully, it is time to work on Live555 main project. Include only the following files at Live555 as this example only interested in build Live555MediaServer
10. Mark mediaServer as main project and set the 4 sub-projects as project dependencies.
11. Set include directory for mediaServer
12. Set additional library (the library build of BasicUsageEnvironment, groupsock, liveMedia and UsageEnvironment will be located at Live555\debug folder) and additional dependencies of BasicUsageEnvironment.lib, groupsock.lib, liveMedia.lib,UsageEnvironment.lib and wsock32.lib
13. Put a debug point at live555MediaServer.cpp main(), then, press F5 to compile and run in debug mode. The project should compile successfully and pause at the debug point. If you continue the program, it will run as command prompt application of Live555MediaServer.
14. If you want to build other testProgs, you will have to create separate project for each of the test application because each testProgs are standalone application