[Rock-dev] Ruby Binding

Alexander Duda Alexander.Duda at dfki.de
Fri May 18 15:12:45 CEST 2012


On 05/18/2012 02:07 PM, Chris Müller wrote:
> Hi,
>
> i need to write some ruby bindings for some c++ class via RICE. Does
> Rock currently provide an convinient command for creating a skeleton
> directory structure in a rock library?
>
> In the past i managed it manually with some cmake hacks, but with the
> introduction of rock.cmake
> i'm not sure anymore about the convention of the directory structure.
>
> Chris
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
No, currently we do not have a template for this but for rice-extensions 
there are some cmake macros in base/types/.
In the long run I would go for ffi (https://github.com/ffi/ffi/wiki) 
because it is supported by all major ruby implementations.

Alex

-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3



More information about the Rock-dev mailing list