[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Help with Camellia

Guillaume Nargeot

3/22/2007 1:46:00 AM

Hello,

I've tried to install the computer vision library Camellia for ruby, with
the normal way, on linux, with the root account, but while I try to run the
test files located into the /test/ directory, I always get the following
error:

guillaume:/home/guillaume/Desktop/CamelliaLib-2.5.10 # ruby
test/test_hough.rb
test/test_hough.rb:2:in `require': no such file to load -- lib/camellia
(LoadError)
from test/test_hough.rb:2

I then tried to manually copy the library files into /usr/lib/ruby/1.8/lib/
And then I got the following error while running again the test scripts :

/usr/lib/ruby/1.8/lib/camellia.so: /usr/lib/ruby/1.8/lib/camellia.so:
undefined symbol: __gxx_personality_v0 - /usr/lib/ruby/1.8/lib/camellia.so
(LoadError)
from ./test/test_labeling.rb:2
from ts_camellia.rb:2:in `require'
from ts_camellia.rb:2

Actually, the executable test file (cam_demo) seems to be perfectly working
(anyway, I didn't even try to write my own C file and compile it)... but
what I want is to use the ruby interface.

So, is there anynone who has an idea on how to get it working properly ?

Thanks in advance !