Log in

View Full Version : How to compile MKV Merge GUI under MinGW?


MeteorRain
28th May 2006, 15:22
i've tried hours on compiling mkvtoolnix (especially mmg) under msvc .net 2003. but it failed again and again.

almost all libs are downloaded and put at appropriate position, but i couldn't find zdll.lib it need.

anyway i now only consider compiling MMG but i couldn't find any guide either on google or on this forum. i also couldn't find any project file or solution file. i also tried to create a new project and add files and configure it but still lots of errors occurred. and i'm somehow new on msvc .net developping.

so those who have compiled mmg plz help me.

TIA,
MR
================================
Now the problem becomes MinGW!

GodofaGap
29th May 2006, 07:28
Perhaps this is not really what you want, but why don't you just use MingW? It works fairly simple after you compiled and installed the necessary libs.

AFAIK there are no project files for .net compiling, so it may not even work.

robU*4
29th May 2006, 09:00
You might modify the project to use the zlib library of your choice (the one you have compiled).

Mosu doesn't maintain the MSVC build. I only use it once in a while.

MeteorRain
29th May 2006, 19:40
well, i'd like to have a try about mingw. anywhere a brief guide?

regards,
MR

GodofaGap
29th May 2006, 20:20
I'm sorry, I'm not aware of any guide. You can compile most libs just with "configure --disable-shared && make" under mingw.

If you need specific help, I'm willing to lend a hand.

MeteorRain
30th May 2006, 07:29
i've tried
$ configure --disable-shared && make && make install

some libs are successfully installed, but when i compile mkvtoolnix it says no iconv lib (while i have already make and install it). also when i compile libvorbis, it says no libogg (while i also have already installed it)

so what's wrong with it?

regards,
MR

foxyshadis
30th May 2006, 09:09
Could be pointing to the wrong locations. You might want to check the scripts to see if it's using the correct folders. (Caveat: I haven't compiled mkvtoolnix myself yet.)

MeteorRain
3rd June 2006, 14:40
tried many times, but still not work. any one guide plz >_<

MR

azsd
3rd June 2006, 19:51
these o files may installed into msys' lib folder instead mingw's?

GodofaGap
3rd June 2006, 19:52
if you are using MSYS, configure --disable-shared will install the libs in the MSYS directory, but configure only checks in the mingw directory.

So you either need to include the directory of MSYS in the configure call, or you need to add '--prefix=/c/mingw' (or the the correct path where mingw is), so the libs will be installed in the mingw dir.

example


configure --disable-shared --prefix=/c/mingw && make && make install

celtic_druid
4th June 2006, 04:35
Mingw is always /mingw or it should be since there should be an fstab entry. So --prefix=/mingw

GodofaGap
4th June 2006, 08:01
Didn't know that. Thanks! :)

MeteorRain
6th June 2006, 02:28
it works just fine! thanks!