<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS ゴシック";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"MS Pゴシック";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@MS Pゴシック";}
@font-face
        {font-family:"\@MS ゴシック";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"MS Pゴシック";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0mm;
        mso-margin-bottom-alt:auto;
        margin-left:0mm;
        font-size:12.0pt;
        font-family:"MS Pゴシック";}
code
        {mso-style-priority:99;
        font-family:"MS ゴシック";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML 書式付き \(文字\)";
        margin:0mm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"MS ゴシック";}
span.HTML
        {mso-style-name:"HTML 書式付き \(文字\)";
        mso-style-priority:99;
        mso-style-link:"HTML 書式付き";
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0mm;
        mso-margin-bottom-alt:auto;
        margin-left:0mm;
        font-size:12.0pt;
        font-family:"MS Pゴシック";}
span.22
        {mso-style-type:personal-reply;
        font-family:"Yu Gothic";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Yu Gothic";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<v:textbox inset="5.85pt,.7pt,5.85pt,.7pt" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="JA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">安藤様<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">宮本です。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">返信が遅くなり申し訳ありません。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">Ubuntu 12.04 32bit</span><span style="font-size:11.0pt;font-family:"Yu Gothic"">で<span lang="EN-US">RELENG_1_1</span>をコンパイルするとエラーが発生する件ですが、以下の変更が原因でした。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><a href="http://redmine.openrtm.org/projects/openrtm-aist-cxx/repository/revisions/2719/diff/trunk/OpenRTM-aist/src/lib/rtm/OutPort.h">http://redmine.openrtm.org/projects/openrtm-aist-cxx/repository/revisions/2719/diff/trunk/OpenRTM-aist/src/lib/rtm/OutPort.h</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">Outport.h</span><span style="font-size:11.0pt;font-family:"Yu Gothic"">のコンストラクタで、<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">addProperty("dataport.data_value", 0);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">としていますが、この関数内で<span lang="EN-US">NVUtil</span>の<span lang="EN-US">newNV</span>関数を呼び出しており、エラーを発生しているのは<span lang="EN-US">newNV</span>関数の以下の部分です。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">nv.value <<= value;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">この場合<span lang="EN-US">value</span>は<span lang="EN-US">int</span>型ですが、オーバーロードした演算子のどれを使うのかの判別ができていません。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">Outport.h</span><span style="font-size:11.0pt;font-family:"Yu Gothic"">の問題の部分を以下のように変更すればコンパイルできました。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">addProperty("dataport.data_value", (CORBA::Short)0);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">64bit</span><span style="font-size:11.0pt;font-family:"Yu Gothic"">だとこの変更をしなくてもコンパイルは成功するみたいです。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">以上です。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic"">--------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">宮本 信彦 <span lang="EN-US">n-miyamoto@aist.go.jp<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">産業技術総合研究所 ロボットイノベーション研究センター<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">ロボットソフトウェアプラットフォーム研究チーム<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Yu Gothic"">テクニカルスタッフ<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Yu Gothic""><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Ando Noriaki [mailto:noriaki.ando@gmail.com]
<br>
<b>Sent:</b> Monday, June 6, 2016 10:59 AM<br>
<b>To:</b> </span><span style="font-size:11.0pt">宮本信彦</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <n-miyamoto@aist.go.jp><br>
<b>Cc:</b> openrtm-staff <openrtm-staff@openrtm.org>; </span><span style="font-size:11.0pt">金広文男</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <f-kanehiro@aist.go.jp><br>
<b>Subject:</b> Fwd: [s-nakaoka/choreonoid] 20160526</span><span style="font-size:11.0pt">のビルドで</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">BodyRTC</span><span style="font-size:11.0pt">の読み込みで落ちる</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">
 (#104)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal">宮本さま<span lang="EN-US"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">安藤です<span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">ちょっと以下のメールで発生している現象について調べてみていただけないでしょうか?<span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">RELENG_1_1 </span>を<span lang="EN-US"> ubuntu12.04 32bit
</span>でコンパイルすると発生するようです。<span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">よろしくお願いいたします。<span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">---------- Forwarded message ----------<br>
From: <b>Fumio KANEHIRO</b> <<a href="mailto:notifications@github.com">notifications@github.com</a>><br>
Date: 2016-06-05 9:44 GMT+09:00<br>
Subject: Re: [s-nakaoka/choreonoid] 20160526</span>のビルドで<span lang="EN-US">BodyRTC</span>の読み込みで落ちる<span lang="EN-US"> (#104)<br>
To: s-nakaoka/choreonoid <<a href="mailto:choreonoid@noreply.github.com">choreonoid@noreply.github.com</a>><br>
Cc: Noriaki Ando <<a href="mailto:Noriaki.Ando@gmail.com">Noriaki.Ando@gmail.com</a>>, Mention <<a href="mailto:mention@noreply.github.com">mention@noreply.github.com</a>><br>
<br>
<o:p></o:p></span></p>
<p><span lang="EN-US">launchpad</span>でのビルドが以下のようなエラーで失敗しています。<span lang="EN-US"><br>
</span>手元で試してもエラーが起きないのですが、何か考えられる原因はありますでしょうか。<span lang="EN-US"><o:p></o:p></span></p>
<pre><code><span lang="EN-US">make[3]: Entering directory `/«BUILDDIR»/openrtm-aist-1.1.2+20160604+1730+12~ubuntu12.04.1/examples/Composite'<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/bin/bash ../../libtool --tag=CXX   --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/lib/rtm  -I../../src/lib -I../../src/lib/coil/include -I../../src/lib/rtm/idl -Wall -fPIC -O2  -Wall -fPIC -O2 -MT Controller.lo -MD -MP -MF .deps/Controller.Tpo -c -o Controller.lo Controller.cpp<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">libtool: compile:  i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/lib/rtm -I../../src/lib -I../../src/lib/coil/include -I../../src/lib/rtm/idl -Wall -fPIC -O2 -Wall -fPIC -O2 -MT Controller.lo -MD -MP -MF .deps/Controller.Tpo -c Controller.cpp  -fPIC -DPIC -o .libs/Controller.o<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">In file included from ../../src/lib/rtm/PortBase.h:31:0,<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">                 from ../../src/lib/rtm/RTObject.h:27,<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">                 from ../../src/lib/rtm/DataFlowComponentBase.h:24,<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">                 from Controller.h:12,<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">                 from Controller.cpp:7:<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">../../src/lib/rtm/NVUtil.h: In function 'SDOPackage::NameValue NVUtil::newNV(const char*, Value) [with Value = int]':<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">../../src/lib/rtm/PortBase.h:1878:7:   instantiated from 'void RTC::PortBase::addProperty(const char*, ValueType) [with ValueType = int]'<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">../../src/lib/rtm/OutPort.h:141:7:   instantiated from 'RTC::OutPort<DataType>::OutPort(const char*, DataType&) [with DataType = RTC::TimedFloat]'<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">Controller.cpp:33:26:   instantiated from here<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">../../src/lib/rtm/NVUtil.h:83:5: error: ambiguous overload for 'operator<<=' in 'nv.SDOPackage::NameValue::value <<= value'<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">../../src/lib/rtm/NVUtil.h:83:5: note: candidates are:<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/usr/include/omniORB4/CORBA_Any.h:85:8: note: void CORBA::Any::operator<<=(CORBA::Short)<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/usr/include/omniORB4/CORBA_Any.h:86:8: note: void CORBA::Any::operator<<=(CORBA::UShort)<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/usr/include/omniORB4/CORBA_Any.h:87:8: note: void CORBA::Any::operator<<=(CORBA::Long)<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/usr/include/omniORB4/CORBA_Any.h:88:8: note: void CORBA::Any::operator<<=(CORBA::ULong)<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/usr/include/omniORB4/CORBA_Any.h:90:8: note: void CORBA::Any::operator<<=(CORBA::LongLong)<o:p></o:p></span></code></pre>
<pre><code><span lang="EN-US">/usr/include/omniORB4/CORBA_Any.h:91:8: note: void CORBA::Any::operator<<=(CORBA::ULongLong)<o:p></o:p></span></code></pre>
<div>
<div>
<p><span style="color:#666666">—<span lang="EN-US"><br>
You are receiving this because you were mentioned.<br>
Reply to this email directly, </span></span><span lang="EN-US"><a href="https://github.com/s-nakaoka/choreonoid/issues/104#issuecomment-223786389" target="_blank">view it on GitHub</a><span style="color:#666666">, or
</span><a href="https://github.com/notifications/unsubscribe/ALRErIIqyNAUnkiCOadMfnfUz3kZPp2Wks5qIhvcgaJpZM4InqHy" target="_blank">mute the thread</a><span style="color:#666666">.</span><span style="color:#666666"><img border="0" width="1" height="1" style="width:.0104in;height:.0104in" id="_x0000_i1025" src="https://github.com/notifications/beacon/ALRErDdi3wE6_fWKbsJ9uzVtC-IbcPvRks5qIhvcgaJpZM4InqHy.gif" alt="https://github.com/notifications/beacon/ALRErDdi3wE6_fWKbsJ9uzVtC-IbcPvRks5qIhvcgaJpZM4InqHy.gif"></span><span style="color:#666666"><o:p></o:p></span></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>