orocos-toolchain / orogen

Code generator for components and type handling in Rock - the Robot Construction Kit - and the Orocos Toolchain
http://rock-robotics.org
Other
4 stars 35 forks source link

kernel_require.rb:55:in `require': cannot load such file -- orogen (LoadError) #124

Open CK0916 opened 5 years ago

CK0916 commented 5 years ago

Hi, i run "orocreate-pkg mycomponent", then make it. The terminal display like this:

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire': cannot load such file -- orogen (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /home/wangzheng/orocos_toolchain/install/bin/typegen:2:in

' CMake Error at /home/wangzheng/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:611 (add_subdirectory): add_subdirectory given source "/home/wangzheng/Robot/build/typekit" which is not an existing directory. Call Stack (most recent call first): CMakeLists.txt:34 (orocos_typegen_headers) ` What‘s the problem? Is there something wrong with ruby on my computer. And the system is Ubuntu16.04.

doudou commented 3 years ago

I personally don't support orogen/typegen within the orocos-toolchain install. Ping @smits

ymkim92 commented 3 years ago

I have the same problem. And I think this is the closer reason to the problem:

$ orogen
Traceback (most recent call last):
    2: from /opt/orocos/bin/orogen:4:in `<main>'
    1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- orogen (LoadError)