mhulden / foma

Automatically exported from code.google.com/p/foma
117 stars 90 forks source link

How to create DLL library for foma? #137

Open Mukhammadsaid19 opened 2 years ago

Mukhammadsaid19 commented 2 years ago

Hi, I would like to create C# bindings for foma to use it in my desktop application. I've been struggling with creating .dll shared library for foma, and so far my efforts are fruitless (I've tried to compile using mingw32, but I can't properly link dynamic libraries, readline in particular).

How can it be done?

Thanks in advance.

TinoDidriksen commented 1 year ago

You can build it via my vcpkg overlay: https://github.com/WolfPkg/vcpkg-overlay-ports - Foma builds, everything else is pending.