|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Calling from Python on WindowsHi fellows,
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. 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. Is using Visual Studio the only way forward? Thanks, Enoch. P/S How I wish FriBiDi is included in Python's set of "batteries"... _______________________________________________ fribidi mailing list fribidi@... http://lists.freedesktop.org/mailman/listinfo/fribidi |
|
|
Re: Calling from Python on Windowshwexler@... 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 _______________________________________________ fribidi mailing list fribidi@... http://lists.freedesktop.org/mailman/listinfo/fribidi |
|
|
Re: Calling from Python on WindowsHello 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. > 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. _______________________________________________ fribidi mailing list fribidi@... http://lists.freedesktop.org/mailman/listinfo/fribidi |
|
|
Re: Calling from Python on WindowsDear Enoch,
I've put my wrapper public, but it's in design phase yet. http://cgit.freedesktop.org/~behnam/python-fribidi/ I would appreciate your suggestions in API design and help on the Windows side. Best, -Behnam On Mon, Dec 29, 2008 at 10:54 PM, Enoch H. Wexler <hwexler@...> wrote: > 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. > _______________________________________________ > fribidi mailing list > fribidi@... > http://lists.freedesktop.org/mailman/listinfo/fribidi > -- ' بهنام اسفهبد ' Behnam Esfahbod ' * .. http://behnam.esfahbod.info * ` * * o * http://zwnj.org _______________________________________________ fribidi mailing list fribidi@... http://lists.freedesktop.org/mailman/listinfo/fribidi |
| Free embeddable forum powered by Nabble | Forum Help |