[openrtm-users 03063] Re: (無題)

attila.bernath @ sztaki.hu attila.bernath @ sztaki.hu
2014年 7月 16日 (水) 18:53:05 JST


Dear Geoff, Thank you for your answer. I am not sure I understand your point:
in the code I have sent I don't even initialize the data.data corba string.
Do you think of this example?:
https://github.com/yosuke/OpenRTM-aist-portable/tree/master/examples/StringIO
I tried to follow what is there and modified my example: std::string s;
std::cout << "Please input string: "; std::getline(std::cin, s); data.data =
CORBA::string_dup(s.c_str()); I still get a segfault. What do I miss here?
Attila



More information about the openrtm-users mailing list