[openrtm-users 02529] Re: omniidl for python can not be found if C++ is installed.

Geoffrey Biggs geoffrey.biggs @ aist.go.jp
2012年 5月 1日 (火) 09:38:39 JST


On Apr 27, 2012 8:19 PM, "Hajime SAITO" <h.saito @ generalrobotix.com> wrote:
>
> Hello,
>
> To be honest I don't use windows

\o/

> so my answer may be off. There are
> probably others more suited to answering this.
>
> If my memory serves me well, omniidl for windows should install a
> minimal python package to run, so this problem could be caused if you
> installed omniidl(c++), python then omniidl(python).
>
> Is this the case? If not, it seems more like a omniidl problem rather
> than an openrtm problem...

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.

Geoff

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


openrtm-users メーリングリストの案内