<div dir="ltr"><div></div><div>Hello,</div><div><br></div><div>I succeed to build livemedia with MinGW directly on windows. Maybe this can be included with minor change in the livemedia version.</div><div><br></div><div>I just want to share it.<br></div><div><br>genWindowsMinGWMakefiles.cmd<br>-----------------------------<br><br>@Echo OFF<br>SETLOCAL<br>for %%I in (%0) do %%~dI<br>for %%I in (%0) do cd "%%~pI"<br><br>set CONFIG_FILE=config.mingw<br>if NOT "%1" == "" (<br>  set CONFIG_FILE=config.%1<br>)<br>type Makefile.head .\%CONFIG_FILE% Makefile.tail > Makefile<br>cd liveMedia<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>cd ../groupsock<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>cd ../UsageEnvironment<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>cd ../BasicUsageEnvironment<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>cd ../testProgs<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>cd ../mediaServer<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>cd ../proxyServer<br>del /Q Makefile<br>type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile<br>ENDLOCAL</div><div><br>config.mingw<br>-------------------</div><div><br></div><div>COMPILER_ROOT=C:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32mingw32<br>CC=${COMPILER_ROOT}\bin\gcc.exe<br>CXX=${COMPILER_ROOT}\bin\g++.exe<br>LD=${COMPILER_ROOT}\bin\ld.exe<br><br>COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=int -DLOCALE_NOT_USED<br>C =                    c<br>C_COMPILER =           $(CC)<br>C_FLAGS =              $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__MINGW32__<br>CPP =                  cpp<br>CPLUSPLUS_COMPILER =   $(CXX)<br>#CPLUSPLUS_FLAGS =      $(COMPILE_OPTS) -D__MINGW32__ -Wall -Wno-deprecated<br>CPLUSPLUS_FLAGS =      $(COMPILE_OPTS) -D__MINGW32__<br>OBJ =                  o<br>LINK =                 $(CXX) -o <br>LINK_OPTS =            -L.<br>CONSOLE_LINK_OPTS =    $(LINK_OPTS)<br>LIBRARY_LINK =         $(LD) -o <br>LIBRARY_LINK_OPTS =    $(LINK_OPTS) -r -Bstatic -m i386pe<br>LIB_SUFFIX =                   a<br>LIBS_FOR_CONSOLE_APPLICATION = -lws2_32<br>LIBS_FOR_GUI_APPLICATION = -lws2_32<br>EXE =<br>PREFIX = C:/lib/live555-mingw32-release<br>LIBDIR = $(PREFIX)/lib</div><div><br>Makefile.tail<br>-------------<br><br>Replace all "cd $(LIVEMEDIA_DIR) ; $(MAKE)" by "cd $(LIVEMEDIA_DIR) && $(MAKE)"<br><br>Build.bat<br>-------------<br><br>set PATH=%PATH%;c:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin<br>mingw32-make.exe<br>mingw32-make.exe install</div><div><br></div><div></div><div>Regards,<br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">--<br>Eric Beuque<br><span lang="en"><span>Software architect</span> <span>/</span> <span>developer</span></span> | Jet1oeil<br></div><div>5 rue Victor Considérant - 25770 Chemaudin-et-Vaux<br></div><div dir="ltr"><a value="+33381505150">+33 (0)3 81 50 51 50</a> |  <a href="http://www.jet1oeil.com/" target="_blank">http://www.jet1oeil.com/</a><br><br><img src="https://docs.google.com/uc?export=download&id=14-lk7ASsliB8M79YhlW9WXVEeATP_wYd&revid=0B-6DlvqJ6nIBd2FLZHgyMGtxcUdNZlJ3Q2VTa3lmcmtkck9jPQ">            <img src="https://docs.google.com/uc?export=download&id=1FhsxTqaviNuI8JeRTrg89ZhS-uFArKNO&revid=0B-6DlvqJ6nIBM0xJWFN6aysrL0pzZkN0THJPOWplOXhMUHNFPQ"></div></div></div></div></div></div></div></div></div></div></div></div></div></div>