[openrtm-commit:02486] r195 - trunk/ImageProcessing/opencv/components/TkCalibGUI
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 2月 28日 (火) 10:35:33 JST
Author: kawauchi
Date: 2017-02-28 10:35:33 +0900 (Tue, 28 Feb 2017)
New Revision: 195
Modified:
trunk/ImageProcessing/opencv/components/TkCalibGUI/idlcompile.bat
Log:
[compat,->RELEASE_1_2_0] r193 has been canceled. refs #3971
Modified: trunk/ImageProcessing/opencv/components/TkCalibGUI/idlcompile.bat
===================================================================
--- trunk/ImageProcessing/opencv/components/TkCalibGUI/idlcompile.bat 2017-02-27 10:19:00 UTC (rev 194)
+++ trunk/ImageProcessing/opencv/components/TkCalibGUI/idlcompile.bat 2017-02-28 01:35:33 UTC (rev 195)
@@ -1,2 +1,10 @@
@echo off
-omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"/usr/include/openrtm-1.2/rtm/idl" idl/CalibrationService.idl
+setlocal
+for %%I in (python.exe) do if exist %%~$path:I set f=%%~$path:I
+if exist %f% do (
+ %f:python.exe=%omniidl.exe -bpython -I"%RTM_ROOT%rtm\idl" -I"/usr/include/openrtm-1.2/rtm/idl" idl/CalibrationService.idl
+) else do (
+ echo "python.exe" can not be found.
+ echo Please modify PATH environmental variable for python command.
+)
+endlocal
openrtm-commit メーリングリストの案内