2008/05/26

Details for comiplation of ebmodule-2.0 under ubuntu

RIMG0368
(Ricoh GRD Semnoz, Annecy, France)

滑雪滑到一半遇上大雪,多少會讓人覺得很掃興。
買的是一日券,少溜愈多虧愈多。
看著屋外一字排開的滑雪用具和空蕩蕩的桌椅,
還是快進到餐廳裡取暖吧。

****

I need to write it down here to prevent that some day my no-so-working brains forget how I did it. Actually it's not so complicated. Here's the steps:

1. download eb-3.1.tar.gz and compile it. You will find dynamic libraries under eb/.libs and zlib/.libs.
2. download ebmodule-2.0. Modify setup.py and ebmodule.c
2.1 change library path and include path to where you put eb libraries and eb headers.
2.2 modify ebmodule.c. The "static char" is not well written. So gcc will complain about it. You have to modify all the "static char".
2.3 compile! Voila. If everything goes fine, you can test your eblib.py or test.py.

I uploaded a modified version of ebmodule-2.0 (compiled python lib included) to my googlepage. You can find everything you need in the file to start programming with ebmodule. Have fun!


REF:
EB Library

DOWNLOAD:
compiled ebmodule-2.0 module and modified source codes

沒有留言:

張貼留言

跨界通訊 - 陳又津

昨天從圖書館借的書,一口氣把它看完了。很特別的題材,在講老人的社會問題,以及人為什麼不行自行決定生死,只能在醫院拖著已經殘破不堪的身體,直到最後短氣的那一刻。 書中還有提到想成為女生的男生,以及透過網路可以達到的一些社群效果。算是把一些現代的元素組合得蠻好的作品。 推薦。