RTMPDump - how do I compile source code in Windows?Ok, I got the source code for rtmpdump but what do I do with it? What do I use to compile it into a program?
|
Re: RTMPDump - how do I compile source code?What OS do you want to compile for: Windows, Mac OS, Linux?
Related threads: How do you compile rtmpdump in Mac OS X 10.6? RTMPDump - how do I compile source code in Windows? |
Re: RTMPDump - how do I compile source code?I use Windows XP.
|
Re: RTMPDump - how do I compile source code?I use Win 7
|
Re: RTMPDump - how do I compile source code?The readme of rtmpdump says:
Code:
To compile just type I believe that in Windows you need cygwin, plus the boost libraries, libssl and gcc/c++ compiler should be available under cygwin. I saw a blog post about compiling rtmpdump 1.3d with Visual Studio 2008 without cygwin, but it is about an old version an the author wasn't sure he did everything properly. Please let me know how it goes... |
Re: RTMPDump - how do I compile source code?The readme of rtmpdump says:
Code:
To compile just type I believe that in Windows you need cygwin, plus the boost libraries, libssl and gcc/c++ compiler should be available under cygwin. I saw a blog post about compiling rtmpdump 1.3d with Visual Studio 2008 without cygwin, but it is about an old version an the author wasn't sure he did everything properly. Please let me know how it goes... |
Re: RTMPDump - how do I compile source code?cygwin instructions:
install cygwin during installation, get the following packages: Code:
gcc4-core, gcc4-g++, make, zlib, binutils, tar, gzip, bzip2, bash, coreutils, crypt, boost, libboost, boost-devel, openssl, openssl-devel start the cygwin console, and go into the dir with the source e.g. cd /cygdrive/c/Documents\ and\ Settings/username/Desktop/ unpack source by typing tar -zxvf rtmpdump-v1.6.tar.gz then cd rtmpdump-v1.6 use a good text program to edit MakefileWIN32 (not notepad!) change mingw32-gcc to gcc change mingw32-g++ to g++ change mingw32-ld to ld save MakefileWIN32 in the cygwin console, type make -f MakefileWIN32 now it should make rtmpdump quickly and give you rtmpdump_win32.exe common problems: Quote:
if you installed it somewhere else , you can specify it by editing the makefilewin32 and adding the correct path to your openssl to the cxxflags of MakefileWIN32: Code:
-I /usr/local/ssl/include/ Quote:
|
Re: RTMPDump - how do I compile source code?when i download the source file the file makeWIN32 is not there.. wtf?
|
Re: RTMPDump - how do I compile source code?Read the README, that's what it's there for.
|
Re: RTMPDump - how do I compile source code?hi,expert,i compiled the rtmpdump with cygwin,how can i remove the
cygwin1.dll depenence,i try use mingw to compile,but failed help me |
Re: RTMPDump - how do I compile source code?Once you have built it as a cygwin build, you cannot remove the dependency on the cygwin DLL. You have to build it as a pure Windows/MinGW binary to avoid the cygwin dependency.
Why can't you just use the Windows build that we already published on the web site? It's a MinGW build. |
Re: RTMPDump - how do I compile source code?thank you,hyc
|
Re: RTMPDump - how do I compile source code?I have of course read this thread.
I tried for about 4 hours to get something to compile it yesterday to no avail. I was attempting to use MinGW which was referenced in another thread, however I am now downloading Cygwin. I just thought it would be relatively simple to compile the exe and put it some place for me to snag -- clearly thats not the case. Hopefully I will get it compiled today. Thanks for the help. |
Re: RTMPDump - how do I compile source code?Uh yeah. The instructions are bad.
For one, I don't have a Makewin32 file in my source code. For two, I can't compile the source code with Cygwin, all i get is a prompt that says "make posix" or "make mingw", neither of which work. Could somebody please compile this source for me so I can grab the executable? it would be much appreciated ^.^ |
Re: RTMPDump - how do I compile source code?I have progressed forward by moving r440 directory into cygwin/home/user/ directory.
I opened the 'makefile' and see there are other options like make cygwin. I typed make cygwin and this is the error it's throwing: The filename, directory or volume label syntax is incorrect *** librtmp/librtmp.a I looked in the librtmp directory, there is no file called 'librtmp.a' |
Re: RTMPDump - how do I compile source code?Finally compiled -- After clearing out all my previous installs of MinGW and Cygwin and deleting everything/starting fresh i was able to use cygwin to get it compiled. Thanks for this -- it worked wonderfully.
|
Re: RTMPDump - how do I compile source code?I was succesfull to compile it but get new error. When I use exercute file (ex: rtmpgw.exe) in Windows, this program get error: "Program too big to fit in memory". I don't know why? Can somebody give me some help? Thanks!
|
Re: compile rtmpdump on windowsthis is the link to compile rtmpdump on windows
http://srpenn82.blogspot.com/2011/03/rtmpdump.html Quote:
|
Re: compile rtmpdump on windowsQuote:
|
Re: RTMPDump - how do I compile source code in Windows?http://svnpenn.blogspot.com/2011/06/rtmpdump-mingw.html
Install required packages mingw-get install libz mingw-get install msys-wget Install PolarSSL wget http://polarssl.org/code/releases/polarssl-0.14.3-gpl.tgz tar fx polarssl-0.14.3-gpl.tgz cd polarssl-0.14.3 make CC=gcc LDFLAGS="-L../library -lpolarssl -lws2_32" make DESTDIR=/MinGW install Install RTMPdump wget http://repo.or.cz/w/rtmpdump.git/snapshot/HEAD.tar.gz tar fx HEAD.tar.gz cd rtmpdump make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static" Optional, make librtmp.dll make SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static" |
Re: RTMPDump - how do I compile source code in Windows?Code:
Generate test_suite_aes.c |
Re: RTMPDump - how do I compile source code in Windows?You need to install Perl
mingw-get install msys-perl |
Re: RTMPDump - how do I compile source code in Windows?Thanks for walking me through this.
|
Re: RTMPDump - how do I compile source code in Windows?I've tried following the directions here by svnpenn and I've gotten polarssl to compile but I cant get RTMPdump to.
I get the error below. Can someone help me out? Code:
c:\Projects\rtmpdump>make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static" |
Re: RTMPDump - how do I compile source code in Windows?Hmm. I also had some problems compiling RTMPdump. But it seems to me that your polarssl installation is not correct. For example "ssl_default_ciphers" is a function that should be in here: "C:\MinGW\include\polarssl\ssl.h"
Maybe this command "make DESTDIR=/MinGW install" (copies files into the root directory of your MinGW installation) failed. Verify that these directories do exit: C:\MinGW\include\polarssl\*some_polarssl_files* C:\MinGW\bin\*some_polarssl_files* C:\MinGW\lib\libpolarssl.a Btw, I also could only compile RTMPDump in this constellation: mingw-get-inst-20110530.exe -Use pre-packaged repository catalogues -Selected: MinGW Developer Kit (includes Perl) polarssl-0.14.3-gpl.tgz |
Re: RTMPDump - how do I compile source code in Windows?http://lists.mplayerhq.hu/pipermail/rtmpdump/2011-September/001627.html
[rtmpdump] branch master updated. 6230845 PolarSSL support now requires version 1.0.0. Author: Howard Chu <hyc at highlandsun.com> AuthorDate: Sun Sep 25 03:07:14 2011 -0700 |
Re: RTMPDump - how do I compile source code in Windows?Does anyone tried to compile latest source from GIT?
Quote:
Quote:
Quote:
|
Re: RTMPDump - how do I compile source code in Windows? |
Re: RTMPDump - how do I compile source code in Windows?Does this still work ?
I did everything like in the article, but I get a load of 'undefined reference to' errors when issuing the command to make librtmp (the last make command). The only different thing i did was not using git from inside MinGW to download the source. (of course i edited the make command so it wouldn't use the git version tag) You can see what i mean in this screenshot |
Re: RTMPDump - how do I compile source code in Windows?Quote:
Honestly I dont know how you were able to mess it up. |
Re: RTMPDump - how do I compile source code in Windows?Quote:
|
Re: RTMPDump - how do I compile source code in Windows? |
Re: RTMPDump - how do I compile source code in Windows?who can even provide a recent installation instructions for compiling rtmpdump under win 8 for disposal. whether mingw or cygwin I fail at all the old manuals on the net.
|
Re: RTMPDump - how do I compile source code in Windows?I'm trying to compile using mingw but I'm getting this error:
Code:
../mingw/bin/id.exe: cannot find -lz |
Re: RTMPDump - how do I compile source code in Windows?Quote:
Code:
rtmpdump.exe - Entry Point Not Found. |
Re: RTMPDump - how do I compile source code in Windows?Hi to all rtmpdump developer,
i would be glad if a user of the forum could write a new step by step guide is explained in the how the rtmpdump source code with MinGW under Windows 7 is compiled. Unfortunately, many guides on the internet are outdated or the links to the necessary files no longer works. many thanks :rolleyes: H3om |
All times are GMT -6. The time now is 01:17 AM. |