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

Hajime SAITO h.saito @ generalrobotix.com
2012年 4月 27日 (金) 20:18:40 JST


Hello,

To be honest I don't use windows 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...

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 メーリングリストの案内