Hi,
I have created my component package with orocreate-pkg.
I have not modified anything in it, and just try to compile the package.
There is an error related to StdStringTypeInfo.
I am experimenting this issue with toolchain-2.2, while all is ok with
master.
The build trace is below.
Charles.
---
lesire@ecoule:~/work/robotis-svn/supervision/interfaceOrocos/build$ cmake .
Orocos-RTT found in
/home/lesire/orocos-toolchain/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake
-- Found orocos-rtt 2.2.1 for the gnulinux target. Available transports:
corba mqueue
Building component interfaceOrocos in library interfaceOrocos-gnulinux
Generating typekit for interfaceOrocos...
WARN: /std/string cannot be marshalled in the MQueue transport
WARN: /std/vector<double> cannot be marshalled in the MQueue transport
-- Orocos reports in
/home/lesire/orocos-toolchain/install/include/rtt/transports/corba/rtt-corba-config.h
to use the OMNIORB
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/lesire/work/robotis-svn/supervision/interfaceOrocos/build
lesire@ecoule:~/work/robotis-svn/supervision/interfaceOrocos/build$ make
[ 5%] Building CXX object
CMakeFiles/interfaceOrocos.dir/interfaceOrocos-component.cpp.o
Linking CXX shared library libinterfaceOrocos-gnulinux.so
[ 5%] Built target interfaceOrocos
[ 11%] Built target check-typekit-uptodate
[ 16%] Building CXX object
typekit/CMakeFiles/interfaceOrocos-typekit-gnulinux.dir/Plugin.cpp.o
[ 22%] Building CXX object
typekit/CMakeFiles/interfaceOrocos-typekit-gnulinux.dir/type_info/InterfaceOrocosData___std__string.cpp.o
/home/lesire/work/robotis-svn/supervision/interfaceOrocos/typekit/type_info/InterfaceOrocosData___std__string.cpp:
In constructor ‘orogen_typekits::std_stringTypeInfo::std_stringTypeInfo()’:
/home/lesire/work/robotis-svn/supervision/interfaceOrocos/typekit/type_info/InterfaceOrocosData___std__string.cpp:62:
error: no matching function for call to
‘RTT::types::StdStringTypeInfo::StdStringTypeInfo(const char [12])’
/home/lesire/orocos-toolchain/install/include/rtt/typekit/StdStringTypeInfo.hpp:52:
note: candidates are: RTT::types::StdStringTypeInfo::StdStringTypeInfo()
/home/lesire/orocos-toolchain/install/include/rtt/typekit/StdStringTypeInfo.hpp:51:
note: RTT::types::StdStringTypeInfo::StdStringTypeInfo(const
RTT::types::StdStringTypeInfo&)
make[2]: ***
[typekit/CMakeFiles/interfaceOrocos-typekit-gnulinux.dir/type_info/InterfaceOrocosData___std__string.cpp.o]
Erreur 1
make[1]: ***
[typekit/CMakeFiles/interfaceOrocos-typekit-gnulinux.dir/all] Erreur 2
make: *** [all] Erreur 2
Typekit compilation error using a standard orocreate'd package
On Thu, Feb 3, 2011 at 3:55 PM, Charles Lesire-Cabaniols
<Charles [dot] Lesire [..] ...> wrote:
> Hi,
>
> I have created my component package with orocreate-pkg.
> I have not modified anything in it, and just try to compile the package.
>
> There is an error related to StdStringTypeInfo.
> I am experimenting this issue with toolchain-2.2, while all is ok with
> master.
>
> The build trace is below.
>
> Charles.
> ---
>
> lesire@ecoule:~/work/robotis-svn/supervision/interfaceOrocos/build$ cmake .
> Orocos-RTT found in
> /home/lesire/orocos-toolchain/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake
> -- Found orocos-rtt 2.2.1 for the gnulinux target. Available transports:
> corba mqueue
> Building component interfaceOrocos in library interfaceOrocos-gnulinux
> Generating typekit for interfaceOrocos...
> WARN: /std/string cannot be marshalled in the MQueue transport
> WARN: /std/vector<double> cannot be marshalled in the MQueue transport
> -- Orocos reports in
> /home/lesire/orocos-toolchain/install/include/rtt/transports/corba/rtt-corba-config.h
> to use the OMNIORB
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/lesire/work/robotis-svn/supervision/interfaceOrocos/build
> lesire@ecoule:~/work/robotis-svn/supervision/interfaceOrocos/build$ make
> [ 5%] Building CXX object
> CMakeFiles/interfaceOrocos.dir/interfaceOrocos-component.cpp.o
> Linking CXX shared library libinterfaceOrocos-gnulinux.so
> [ 5%] Built target interfaceOrocos
> [ 11%] Built target check-typekit-uptodate
> [ 16%] Building CXX object
> typekit/CMakeFiles/interfaceOrocos-typekit-gnulinux.dir/Plugin.cpp.o
> [ 22%] Building CXX object
> typekit/CMakeFiles/interfaceOrocos-typekit-gnulinux.dir/type_info/InterfaceOrocosData___std__string.cpp.o
> /home/lesire/work/robotis-svn/supervision/interfaceOrocos/typekit/type_info/InterfaceOrocosData___std__string.cpp:
> In constructor ‘orogen_typekits::std_stringTypeInfo::std_stringTypeInfo()’:
> /home/lesire/work/robotis-svn/supervision/interfaceOrocos/typekit/type_info/InterfaceOrocosData___std__string.cpp:62:
> error: no matching function for call to
> ‘RTT::types::StdStringTypeInfo::StdStringTypeInfo(const char [12])’
> /home/lesire/orocos-toolchain/install/include/rtt/typekit/StdStringTypeInfo.hpp:52:
> note: candidates are: RTT::types::StdStringTypeInfo::StdStringTypeInfo()
> /home/lesire/orocos-toolchain/install/include/rtt/typekit/StdStringTypeInfo.hpp:51:
> note: RTT::types::StdStringTypeInfo::StdStringTypeInfo(const
> RTT::types::StdStringTypeInfo&)
It appears an RTT patch did not make it into the release... I'll push
the missing patch asap to gitorious,
you'll have to pull the changes into rtt then...
Peter
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev