Orocos Toolchain master fails to generate typekit

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?

Ruben

Orocos Toolchain master fails to generate typekit

2013/9/11 Ruben Smits <ruben [dot] smits [..] ...>

> 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
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
>

Ruben Smits's picture

Orocos Toolchain master fails to generate typekit

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 <
charles [dot] lesire [..] ...> wrote:

>
>
>
> 2013/9/11 Ruben Smits <ruben [dot] smits [..] ...>
>
>> 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
>> Orocos-Dev [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>>
>>
>

Orocos Toolchain master fails to generate typekit

On 09/11/2013 11:39 AM, Ruben Smits wrote:
> 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.

The current Rock master and next (I believe I did notify
orocos-toolchain) drop 1.8 compatibility. 1.8 is end of life (read:
unmaintained) since march this year or something like that.

Rock users are all running on 1.9 since roughly a year or so (and I am
personally on it for more than three years), so I can guarantee that it
works on 1.9. Might be that you have some compilation problems under ROS ?