Re: Orocos Toolchain master fails to generate typekit

Ruben Smits <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAN8PhbnoKoUOqHMGnCfW+bBS2R8EtNLTHPAA_nCM2apUfXqYRQ@mail.gmail.com>
If I use Ruby 1.9 I get compilation errors in typelib (or elsewhere in the
Orocos Toolchain, I don't remember exactly but I'll get back on that), so
that's why I switched back to ruby 1.8 which once was working.

Ruben


On Wed, Sep 11, 2013 at 11:31 AM, Charles Lesire-Cabaniols <
[email protected]> wrote:

>
>
>
> 2013/9/11 Ruben Smits <[email protected]>
>
>> I'm testing the current master branches of the entire Orocos Toolchain
>> (including metaruby) to build an package foo created with orocreate-pkg,
>> currently it is failing on the following:
>>
>> [UseOrocos] Generating typekit for foo ...
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/with_module.rb:28:in
>> `const_missing': uninitialized constant Kernel::BasicObject (NameError)
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/load_dsl_file.rb:153:in
>> `dsl_exec_common'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/with_module.rb:45:in
>> `instance_eval'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/with_module.rb:45:in
>> `with_module'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/load_dsl_file.rb:152:in
>> `dsl_exec_common'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/load_dsl_file.rb:34:in
>> `load_dsl_filter_backtrace'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/load_dsl_file.rb:151:in
>> `dsl_exec_common'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/load_dsl_file.rb:110:in
>> `eval_dsl_file_content'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/utilrb/kernel/load_dsl_file.rb:126:in
>> `eval_dsl_file'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/project.rb:1335:in
>> `load'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/imports.rb:236:in
>> `load'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/imports.rb:195:in
>> `load'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/project.rb:219:in
>> `standard_tasks'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/project.rb:218:in
>> `each'
>> from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/project.rb:218:in
>> `standard_tasks'
>>  from
>> /opt/orocos/lib/ruby/1.8/i686-darwin12.0.0/orogen/gen/project.rb:244:in
>> `initialize'
>> from /opt/orocos/bin/typegen:12:in `new'
>>  from /opt/orocos/bin/typegen:12
>> CMake Error at /opt/orocos/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:430
>> (add_subdirectory):
>>   add_subdirectory given source "/Users/vm/devel_ws/src/foo/typekit"
>> which is
>>   not an existing directory.
>> Call Stack (most recent call first):
>>   foo/CMakeLists.txt:34 (orocos_typegen_headers)
>>
>> Does anyone have any idea on how to fix this?
>>
>
> updating ruby (looks like you have 1.8)?
>
>
>>
>> Ruben
>>
>> --
>> Ruben Smits, Phd
>> Chief Technology Officer
>> Intermodalics BVBA
>> +32479511786
>> www.intermodalics.eu
>>
>> --
>> Orocos-Dev mailing list
>> [email protected]
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>>
>>
>


-- 
Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu

-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.