Install Onigmo on Windows (MinGW)
masterFor Windows users using MinGW, use the provided Makefile. This will create directories like build_x86-64 or build_i686.
Build command:
mingw32-make -f win32/Makefile.mingwGenerated files:
libonigmo.a: Static link librarylibonigmo.dll.a: Import library for dynamic linkingonigmo.dll: Dynamic link library
Testing:
Execute mingw32-make -f win32/Makefile.mingw test. Python (matching the bitness of the Onigmo build) is required.
Note for MSYS2 users:
You can also use the standard ./configure and make workflow. In this case, the DLL name will include the API version (e.g., libonigmo-6.dll).