[Rock-dev] Ruby Binding

Thomas Roehr thomas.roehr at dfki.de
Fri May 18 15:15:03 CEST 2012


On 18.05.2012 15:12, Alexander Duda wrote:
> 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/.
The macros in RockRuby.cmake
A simple example can be found in image_processing/jpeg_conversion

Thomas
> 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
>


-- 
Thomas Röhr (M.Sc.)
Space Robotics

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

Phone: +49 (0)421 178-454151
Fax:   +49 (0)421 178-454150
E-Mail: robotik 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