Thursday, January 11, 2007

Ruby + Fox

Guess Python is going through a transistion...

Ruby had a better support for Fox at this point of time...
And this really saves a lot of time...
yup... a simple window running on fox and ruby

Python + FOX = FxPy?

Wanted to download some gui tool kit to play with...
So i decided to get started with Python and FOX.
Sadly, FxPy is no longer maintained.
Ruby had got the latest version. But i dun see myself using Ruby in another 2 years time.
So i google on. And i found TnFox, it provides Python binding.

But somehow there is some hackin to the boost lib.
Again, i spend a few nights trying to figure things out.
building boost.python on windows
1) download boost 1.33 or later
2) download the source ( TnFox\Python\BoostPatches.zip to overwrite files in boost -check the directories in the package )
3) download the header ( i did not download this, n got hell of a time)
4) download bjam for the compilation

But things are not smooth, i need to rename the JamFile_win32 to jamfile so that bjam get the correct file. And this had me going in circles and circles. How do you configure bjam to use another Jamfile? Sigh! Sleepless nights...


5) I got lots of link errors, hopefully these are the deliberate ones mentions in the guide.
when i m trying to process, i m required to run Geninterfaces.py
but I dun know where to get it.

Hmmm, Okie, i give up.
I will just get the binary and forget the whole thing.

Perhaps i should dive into ruby.