• Keep in touch:
  • Linked In
  • Twitter
  • RSS

Compiling Ming For Windows

After spending some time wrestling with Ming, I got it to build on Windows Vista using the MinGW GCC tool chain, though with some caveats, see the issues section below. Here are the steps I went through:

  1. Install MinGW 5.1.6. Make sure you select the following options:
    • MinGW base tools
    • g++ compiler
    • MinGW Make

    Also make sure the name of the directory where you install MinGW does not contain any spaces. C:\MinGW works just fine.

  2. Install MSYS 1.0.11. Again the name of the directory where you install MSYS should not contains any spaces. C:\msys works just fine.
  3. Install msysDTK-1.0.1.
  4. Download and unpack msys bison. Copy the files from the bin, lib and share directories into the same directories in your msys installation.
  5. Download and unpack msys flex. Copy the files from the bin, lib, include and share directories into the same directories in your msys installation.
  6. Download and unpack msys regex. Copy the dll from the bin directory into the bin directory in your msys installation.
  7. Download and unpack ming 0.4.3.
  8. Add c:\MSYS\bin, c:\MinGW\bin, in that order, to the PATH environment variable.
  9. Open a windows shell, change directory to where you unzipped the ming files and run the following command: bash then at the prompt, run: ./configure --disable-freetype this will configure to build the libraries with c++ bindings.
  10. Now edit the file, libtool, in the ming root directory. On line 686 in the function func_extract_an_archive () change: if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then to: if ($AR t "$f_ex_an_ar_oldlib" | sort | sort >/dev/null 2>&1); then Yes, this is subverting the build process and the step will be brittle but all the script is doing is comparing the names of the object files with those stored in the archive. The -uc option is for strict order checking of the file names and there is no obvious reason (at least in the limited time I spent looking) why it does not work.
  11. Now compile and install the libraries: make install The libraries and header files will be installed in C:\msys\1.0\local


In step 9, support for FreeType was disabled. This means that you will not be able to generate any font definitions from OpenType files. This is a nuisance since that limits the fonts you can use to ones already in Ming’s FDB format. However has FDB files for the Open Source Bitstream Vera fonts so you can get starting albeit with limited typography. I have not tries these fonts so there may be issues if the format changed – it is filed under Really Old Stuff.

The second major issue is another nuisance. The ming library is built without zlib. When the configure script runs it fails to find the compress2 function used by Ming even though the library was available in msys (downloaded and compiled specifically). That means that Ming cannot generate compressed Flash files. This is not too important, but obviously lacking in any code destined for serious use.

Next Steps:

  1. Get zlib to be recognised by the configure script.
  2. Add FreeType so OpenType fonts can be loaded.
  3. Get the build working with the other language wrappers: python, php and perl.

I will post updates as soon as they are available. I also plan on posting the libraries and ported versions of the Cookbook examples over the next few weeks.

27 Responses to “Compiling Ming For Windows”

  1. Minger Says:

    Thanks for this info! Unfortunately msys_regex is not available on the link you provided anymore…

  2. merchants discount health plans Says:

    The particular expenses the fact that may become tallied way up along with these kinds of kind of services could become pricey.

  3. Claude Monet Reproduction Says:

    I cherished up to you’ll obtain performed right here. The caricature is attractive, your authored subject matter stylish. nonetheless, you command get got an nervousness over that you would like be delivering the following. ill definitely come more previously once more since exactly the similar nearly very continuously within case you defend this increase.

  4. jakks pacific pokemon Says:

    With thanks a good deal with regard to your blog article.Really longing for go through a lot more. Amazing.

  5. Mohammad Ronson Says:

    In case meat can be kill, carrots are their weight, whitened accomplices.

  6. indemnities Says:

    it was very interesting to learn. I wish to estimate your posting during my blog site. It may? And you et a forex account upon Twittollower?

  7. Whitley Genung Says:

    Your prefered technique is which means that particular related to a lot of other masses. Appreciation for promotion since you have the occasion,Presume I am going to just make this technique bookmarked.2

  8. heartbreak Says:

    There are numerous fantastic suggestions in this article. I must upgrade my own web site sometimes. Let me start from scrape this time around I think.

  9. 看護師転職求人派遣 Says:

    It’s really a wonderful along with useful section of information. I’m thankful which you distributed this amazing valuable info close to. Make sure you sustain people well informed by doing this. Many thanks to get revealing.

  10. source Says:

    most random comments

  11. Gennie Says:

    Ive been recently following your weblog for any month or two approximately and still have acquired a huge amount of info and cherished the technique that you’ve structured your site. I’m attempting to operate our very personalized website nevertheless. I do believe the way too basic i should give attention to lots of more compact subject areas. Staying as much as possible to all or any folks is not all of that it’s chipped as much as always be.

  12. click here Says:

    MMORPGs (Massively Multi-player On the web Part Taking part in Games), multi-player games, on the net gaming, game playing communities/clubs, each are holding your lot of so used people.

  13. click here Says:

    They will could possibly definitely not even have a new real living and become deceased, living just in the wonderful world of game titles. These are a couple of often the negative impacts that are brought about by craving to game titles.

  14. unblocked school games Says:

    The people from the crowd were definitely partial to often the Burnout Line and the Nan Turismo line (for this Playstation). And the ones that were being into role-playing activities had been vocal inside their support involving Castlevania: Symphony from the Nights (on the Xbox 360 360).

  15. unblocked games at school and work Says:

    Every person performed agree, even though, that terme conseillé was probably the most unblocked video games in the globe.

  16. monster energy hats for sale Says:

    ing the DC job hats has happen to be one of the most modernistic finish. Some sort of NFL can certainly not only source of information off the blasting weather however , also flawlessly grownup with rivetage of numerous styles. This has distribute broadly as trousers and aeroplanes prettify formation entireness. Use out and about, this chosen head wear leave gain a person dashing along with the precooled lead to gift retrieve you redeeming esprit.

  17. more info Says:

    Gym floor extractors can certainly furthermore supply for you to clear away fried staining like since comes with, grilling fats, gnawing gumline and so on

  18. click here Says:

    Upgraded security and safety could be liked together with pré-réglable keypads, fingermark attention units plus many other most current technological innovation.

  19. copy xbox 360 games to hard drive Says:

    Your computer will than prompt you to place a blank DVD into your hard drive. It is important that you consider all possible options before making any final decision, as having the right software can make the task considerably easy for you.

  20. click here Says:

    House entrance renewal possesses in addition happen to be rating the truth is major property benefits by simply your 2010-11 Expense as opposed to. Worth Article. This approach document displays the huge 84 proportion gain regarding expenditure of money, having them often the during and second status for all those property betterment undertakings, extra merely to forward house alternative on RETURN ON YOUR INVESTMENT.

  21. xbox 360 games star wars battlefront 2 Says:

    It’s difficult to find experienced people on this topic, however, you seem like you know what you’re talking about! Thanks

  22. Leigh Tino Says:

    I will win about 6 trades out of 10. I never fall in love with any trade.

  23. Marylouise Vizzini Says:

    6364 se Mcnary Milwaukie

  24. cars Says:

    Car shopping is something which almost all adults will face in their lives.
    If you want to drive, you’ll have to buy yourself a car. The simple ideas below will help you turn the car buying process into something you not only can handle, but that you are a master of.

  25. Maik Says:

    Fantastic site. Plenty of useful info here. I am sending it to several
    pals ans also sharing in delicious. And naturally, thank you
    on your sweat!

  26. tory burch 個人輸入 Says:


  27. "Joanna Krupa" Says:

    Ever travel the web and cant remember all the cool sites, images and videos you have found? Think about all the time and research it took to find the right hotel,

Leave a Reply