<p><br>
On Apr 27, 2012 8:19 PM, "Hajime SAITO" <<a href="mailto:h.saito@generalrobotix.com">h.saito@generalrobotix.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> To be honest I don't use windows</p>
<p>\o/</p>
<p>> so my answer may be off. There are<br>
> probably others more suited to answering this.<br>
><br>
> If my memory serves me well, omniidl for windows should install a<br>
> minimal python package to run, so this problem could be caused if you<br>
> installed omniidl(c++), python then omniidl(python).<br>
><br>
> Is this the case? If not, it seems more like a omniidl problem rather<br>
> than an openrtm problem...</p>
<p>I think it's probably a paths problem. omniidl itself is a Python program, but unless the Python version of omniorb is installed, the Python omniidl compiler backend is not installed. If omniorb-py is installed, then probably the Python path in use by omniidl is pointing at the wrong place, as Suga-san suggested.</p>

<p>Geoff<br></p>
<p>><br>
> Best regards,<br>
><br>
> Hajime<br>
><br>
> 2012年4月27日19:11 Yuki Suga <<a href="mailto:ysuga@ysuga.net">ysuga@ysuga.net</a>>:<br>
> > Hi, everyone,<br>
> ><br>
> > I am using OpenRTM-aist Python 1.1, C++ 1.1, and Java 1.1 at the same<br>
> > time in Windows 7 64bit.<br>
> > After I used binary installers, I found that I could not build<br>
> > ServicePort project with OpenRTM-aist Python 1.1.<br>
> ><br>
> > After investigating the error, I think that the "idlcompile.bat" which<br>
> > is automatically generated by RTCB can not find proper omniidl.<br>
> > I guess currently, the idlcompile.bat is like ...<br>
> ><br>
> > ## idlcompile.bat<br>
> > omniidl.exe -bpython SimpleService.idl<br>
> ><br>
> > However, the omniidl.exe that is called in the batch file is the one<br>
> > installed with C++ version, so -bpython option does not work.<br>
> ><br>
> ><br>
> > I am sure that we must use omniidl.exe installed in C:\Python26 if we<br>
> > use -bpython option.<br>
> > So, I modified the "idlcompile.bat" like...<br>
> ><br>
> > ## idlcompile.bat<br>
> > ##<br>
> > C:\Python26\omniidl.exe -bpython SimpleService.idl<br>
> ><br>
> ><br>
> > Are there any elegant ways to avoid this error?<br>
> ><br>
> ><br>
> > Best regards,<br>
> > ysuga<br>
> ><br>
> > --<br>
> > ///////////////////////////////////////////////////////////////////<br>
> > // Yuki Suga, Ph.D.<br>
> > // URL: <a href="http://www.ysuga.net/?lang=en">http://www.ysuga.net/?lang=en</a><br>
> > // E-mail: <a href="mailto:ysuga@ysuga.net">ysuga@ysuga.net</a><br>
> > ///////////////////////////////////////////////////////////////////<br>
> > _______________________________________________<br>
> > openrtm-users mailing list<br>
> > <a href="mailto:openrtm-users@openrtm.org">openrtm-users@openrtm.org</a><br>
> > <a href="http://www.openrtm.org/mailman/listinfo/openrtm-users">http://www.openrtm.org/mailman/listinfo/openrtm-users</a><br>
> _______________________________________________<br>
> openrtm-users mailing list<br>
> <a href="mailto:openrtm-users@openrtm.org">openrtm-users@openrtm.org</a><br>
> <a href="http://www.openrtm.org/mailman/listinfo/openrtm-users">http://www.openrtm.org/mailman/listinfo/openrtm-users</a><br>
</p>