[Live-devel] Create Library files for groupsock, usageenvironment, basicusageenvironment, livemedia

#TAY KOON HWEE# TAYK0004 at ntu.edu.sg
Fri Dec 22 12:30:42 PST 2006


Deepest thanks to whoever can help,
 
I tried creating .lib files for groupsock, usageenvironment, basicusageenvironment, livemedia so that I can use them to link to one of the test file (testMPEG1or2VideoStreamer).
 
I using Visual C++ to do the programming. However, when I link the libraries file to the test files, there are a lof of error LNK 2001.
 
Method used in creating library files: (Microsoft Visual C++ 6.0)
1) File -> New -> projects -> Win32 Static Lib
2) Did not choose precompiled header and MFC support
3) Add in the source files of groupsock directory
4) Add in all the header files of groupsock, usageenvironment, basicusageenvironment, livemedia
5) Build
6) Under the debug folder, I found the groupsock.lib together with some obj, pch files
 
Question:
1) Is my method of building lib files correct? Do I need those obj, pch files? Can i just use the groupsock.lib file?
2) Some of the errors are: error LNK2001: unresolved external symbol _getsockname at 12
3) Even if i dont use .lib files, I add in all the .cpp .c files to compile and build with the testMPEG1or2VideoStreamer.cpp, the error LNK2001 still exisits.
 
Many many thanks in advanced
 
Kunhui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061223/b8dc0059/attachment.html 


More information about the live-devel mailing list