[FriBidi] Calling from Python on Windows

Behdad Esfahbod behdad at behdad.org
Mon Dec 29 10:42:21 PST 2008


hwexler at nj.rr.com wrote:
> Hi fellows,

Hi,

> I need to call FriBiDi on Windows from Python. 
> 
> My attempts to call FriBiDi.dll as found on the web (e.g., extracted
> from the php project binaries) through ctypes have all failed. 

That sounds like it may be the PHP FriBidi module DLL, not the library DLL you
want.  My brother has been calling FriBidi from Python using ctype on Linux
recently and he didn't have any major problem.  I'm sure he's going to share
his Python wrapper.


> On the other hand, no fribidi/fribidi2 distribution or CVS can be built
> on mingw32 to produce a DLL of my own (tried MSYS on the XP and Linux
> cross compilation as well). All broken one way or another, what a pity.

Those problems should be easy to fix, aren't they?


> Is using Visual Studio the only way forward?

Don't know.  I know people have compiled FriBidi using Visual Studio
successfully before.

> Thanks, Enoch.
> 
> P/S How I wish FriBiDi is included in Python's set of "batteries"...

Heh, I agree.

behdad


More information about the fribidi mailing list