Result of orocreate-pkg failed to compile

Hi,

I have an orocos_toolchain_ros installed and create a stack for my project.
Inside this stack I used orocreate-pkg in order to build my first package
When I called "make" in it, it fails because the typekit folder is not
present. Is it a known problem ?

I have the unstable branch (0.2.1) and Diamonback ros version

ard@ard-host-v5:~/ros/ard$ `rospack find ocl`/scripts/pkg/orocreate-pkg test
Using templates at
/home/ard/ros/orocos_toolchain_ros/ocl/scripts/pkg/templates...
Package test created in directory /home/ard/ros/ard/test
ard@ard-host-v5:~/ros/ard$ cd test/
ard@ard-host-v5:~/ros/ard/test$ ls
CMakeLists.txt Makefile manifest.xml orocos-test.pc.in support.cpp
test-component.cpp test-component.hpp test-plugin.cpp test-service.cpp
test-types.hpp
ard@ard-host-v5:~/ros/ard/test$ make
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
rosbuild`/rostoolchain.cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
[rosbuild] Building package test
[rosbuild] Cached build flags older than manifests; calling rospack to get
flags
[rosbuild] Including /home/ard/ros/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including
/home/ard/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including
/home/ard/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
Orocos-RTT found in
/home/ard/ros/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake
-- Found orocos-rtt 2.2.1 for the gnulinux target. Available transports:
mqueue
Building component test in library test-gnulinux
Generating typekit for test...
CMake Error at
/home/ard/ros/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:253
(add_subdirectory):
add_subdirectory given source "typekit" which is not an existing
directory.
Call Stack (most recent call first):
CMakeLists.txt:55 (orocos_typegen_headers)

-- Configuring incomplete, errors occurred!
make: *** [all] Erreur 1
ard@ard-host-v5:~/ros/ard/test$

Ruben Smits's picture

Result of orocreate-pkg failed to compile

On Wednesday 23 February 2011 00:36:30 Willy Lambert wrote:
> Hi,
>
> I have an orocos_toolchain_ros installed and create a stack for my project.
> Inside this stack I used orocreate-pkg in order to build my first package
> When I called "make" in it, it fails because the typekit folder is not
> present. Is it a known problem ?

Does uncommenting the "orocos_typegen_headers" macro fixes the problem for you?

--Ruben

> I have the unstable branch (0.2.1) and Diamonback ros version
>
>
> ard@ard-host-v5:~/ros/ard$ `rospack find ocl`/scripts/pkg/orocreate-pkg test
> Using templates at
> /home/ard/ros/orocos_toolchain_ros/ocl/scripts/pkg/templates... Package
> test created in directory /home/ard/ros/ard/test
> ard@ard-host-v5:~/ros/ard$ cd test/
> ard@ard-host-v5:~/ros/ard/test$ ls
> CMakeLists.txt Makefile manifest.xml
> orocos-test.pc.in<http://orocos-test.pc.in> support.cpp
> test-component.cpp test-component.hpp test-plugin.cpp test-service.cpp
> test-types.hpp ard@ard-host-v5:~/ros/ard/test$ make
> mkdir -p bin
> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
> rosbuild`/rostoolchain.cmake .. -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> [rosbuild] Building package test
> [rosbuild] Cached build flags older than manifests; calling rospack to get
> flags [rosbuild] Including
> /home/ard/ros/ros_comm/clients/rospy/cmake/rospy.cmake [rosbuild] Including
> /home/ard/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake [rosbuild]
> Including /home/ard/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
> Orocos-RTT found in
> /home/ard/ros/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-
> rtt-gnulinux-libraries.cmake -- Found orocos-rtt 2.2.1 for the gnulinux
> target. Available transports: mqueue Building component test in library
> test-gnulinux
> Generating typekit for test...
> CMake Error at
> /home/ard/ros/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/UseOROC
> OS-RTT.cmake:253 (add_subdirectory): add_subdirectory given source "typekit"
> which is not an existing directory. Call Stack (most recent call first):
> CMakeLists.txt:55 (orocos_typegen_headers)
>
>
> -- Configuring incomplete, errors occurred!
> make: *** [all] Erreur 1
> ard@ard-host-v5:~/ros/ard/test$

Result of orocreate-pkg failed to compile

On Wednesday 23 February 2011 08:51:40 Ruben Smits wrote:
> On Wednesday 23 February 2011 00:36:30 Willy Lambert wrote:
> > Hi,
> >
> > I have an orocos_toolchain_ros installed and create a stack for my
> > project. Inside this stack I used orocreate-pkg in order to build my
> > first package When I called "make" in it, it fails because the typekit
> > folder is not present. Is it a known problem ?
>
> Does uncommenting the "orocos_typegen_headers" macro fixes the problem for
> you?

That would be 'commenting' :-) We'll comment this line by default in the 2.3.0
version such that it 'works' on most installs.

Peter

Result of orocreate-pkg failed to compile

2011/2/23 Peter Soetens <peter [..] ...>

> On Wednesday 23 February 2011 08:51:40 Ruben Smits wrote:
> > On Wednesday 23 February 2011 00:36:30 Willy Lambert wrote:
> > > Hi,
> > >
> > > I have an orocos_toolchain_ros installed and create a stack for my
> > > project. Inside this stack I used orocreate-pkg in order to build my
> > > first package When I called "make" in it, it fails because the typekit
> > > folder is not present. Is it a known problem ?
> >
> > Does uncommenting the "orocos_typegen_headers" macro fixes the problem
> for
> > you?
>
> That would be 'commenting' :-) We'll comment this line by default in the
> 2.3.0
> version such that it 'works' on most installs.
>
> Peter
>
>
all the orocos cmake macros worked exept orocos_typegen_headers, in details
i tried in the sample project:
_ orocos_comonent
_ orocos_library
_ orocos_service
_ orocos_plugin
_ orocos_install_headers

I have 3 remarks :
_ What can I do to use orocos_typegen_headers ? or What can I use instead of
this to generate my typekits ?
_ Is it normal that I always need to compile ocl when using rosmake ? it is
very annoying. Even if I compile twice without touching anything, the second
time recompile ocl.
_ Where are installed the headers of orocos_install_headers ? I can't find
them

> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>