Re: typegen, OSX and rtt::rt_string
Ruben Smits <[email protected]> Fri, 4 Apr 2014 14:36:21 +0200
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <CAN8Phb=0yg2Sa5g=BXv294R6bAnVLjjj79WYnwCQQvc+PYGVYQ@mail.gmail.com> |
Hi all, FYI On Thu, Apr 3, 2014 at 4:21 PM, Ruben Smits <[email protected]> wrote: > Hello, > > I'm trying to create a typekit for a struct that contains and > RTT::rt_string field. Although this works perfectly on my Ubuntu setup > I get the following error when I try this on OSX 10.8: > > In file included from > /var/folders/xr/r49mczcs7l1329vqt_h1prrh0000gn/T/orogen_pending_loads20140403-45326-h942zr:1: > /opt/local/include/boost/ratio/detail/overflow_helpers.hpp: In [...] > > Changing the field from RTT::rt_string into std::string resolves the > issue, but I would really like to use the rt_string option since it > works in Linux. Does anyone have an idea on how to fix this? The error was due to gccxml and boost (on osx boost::thread is used through the RTT::Mutex which is used in the allocator of RTT::rt_string), adding the following define fixes the gccxml call: BOOST_THREAD_DONT_USE_CHRONO. I'm currently testing to see if this influences the RTT tests, (hopefully not) otherwise I think the error is resolved. More later ... Ruben > I'm using the toolchain-2.7 branch of orogen on OSX 10.8 and ruby 1.9 > > Ruben > > -- > Ruben Smits, CTO > +32 479 511 786 > Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM > www.intermodalics.eu > > --------------------------------------------------------------------------------------------------------------------------------------- > This email and any attached files are confidential and may be legally > privileged. Any copy, print or forward of this email, without the > agreement of sender or addressee, is strictly prohibited. Misuse is a > violation of the law on personal data protection (D. Lgs. 196/2003) > and on secrecy of correspondence (art. 616 cp). If you have received > this transmission in error please notify the sender immediately and > then delete this email and any attached files. -- Ruben Smits, CTO +32 479 511 786 Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM www.intermodalics.eu --------------------------------------------------------------------------------------------------------------------------------------- This email and any attached files are confidential and may be legally privileged. Any copy, print or forward of this email, without the agreement of sender or addressee, is strictly prohibited. Misuse is a violation of the law on personal data protection (D. Lgs. 196/2003) and on secrecy of correspondence (art. 616 cp). If you have received this transmission in error please notify the sender immediately and then delete this email and any attached files. -- Orocos-Dev mailing list [email protected] http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev