[FriBidi] Calling from Python on Windows
Enoch H. Wexler
hwexler at nj.rr.com
Mon Dec 29 11:24:34 PST 2008
Hello Behdad,
>> 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.
>
I have no problem calling libfribidi.so through Python's ctypes as well.
It's Windows causing the pains, as usual.
>> 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?
>
Perhaps...
I spent the time (-: wasted actually :-) on trying to build the DLL
through the various options: fribi-0.10.4, cvs-fribidi, fribidi-0.19.1,
cvs-fribidi2... first as a mingw32 cross-compile and then as a native
one on MSYS.
All builds failed.
>> Is using Visual Studio the only way forward?
>>
>
> Don't know. I know people have compiled FriBidi using Visual Studio
> successfully before.
>
>
Will install their free express now...
Thanks, Enoch.
More information about the fribidi
mailing list