Linux Specific ProblemsCompile error occurs when system updates are applied or OpenHRP is newly installed (after 25/05/2009) - (On Linux)If you try to apply ubuntu package updates or newly installing OpenHRP (after 25/05/2009), the latest version of OpenRTM-aist (OpenRTM-aist-1.0.0-RC1) will be automatically installed to your system, which is not supported by any version of OpenHRP. This may cause to occur following compile errors. error: 'ExtTrigExecutionContextService_var' in namespace 'RTC' does not name a type error: 'RTC::ExtTrigExecutionContextService' has not been declared error: 'ExtTrigExecutionContextService_ptr' is not a member of 'RTC' Please choose the case that applies to your situation and follow the instructions to resolve this problem. Newly installing OpenHRPIf you are newly installing OpenHRP, you have to edit the package installing script "pkg_install_ubuntu.sh" placed in OpenHRP source package. Open (OpenHRP source package directory)/util/pkg_install_ubuntu.sh and go to line 17. Change the value of "openrtm" as follows. This change in "pkg_install_ubuntu.sh" is already done for OpenHRP-3.1.0(β2). Find: openrtm="openrtm-aist openrtm-aist-doc openrtm-aist-dev openrtm-aist-example python-yaml"Change to: #openrtm="openrtm-aist openrtm-aist-doc openrtm-aist-dev openrtm-aist-example python-yaml" openrtm="python-yaml" Now, install the packages as described in "Running Package Installation Script". When package installation is done, go to the download page of "OpenRTM-aist-0.4.2-RELEASE" and download openrtm-aist_0.4.2*.deb, openrtm-aist-doc_0.4.2*.deb, openrtm-aist-dev_0.4.2*.deb, openrtm-aist-example_0.4.2*.deb . Install the each deb file manually, by using "sudo dpkg -i" command. Though we have installed the previous release of OpenRTM-aist, it will be automatically upgraded to the latest version, since the automatic-package-update setting is enabled. Disable the automatic-package-update setting for OpenRTM-aist as described in next section. Disabling automatic updates for OpenRTM-aist
Select "System" -> "Administration" -> "Software Sources" from the menu and open
"Third Party Software" tab. Uncheck the OpenRTM entry as shown in Fig.4 . ![]() Fig.4 Uninstalling already installed OpenRTM-aistIf you have already installed OpenRTM-aist-1.0.0-RC1 by mistake, uninstall the packages openrtm-aist, openrtm-aist-doc, openrtm-aist-dev, openrtm-aist-example and install the deb packages openrtm-aist_0.4.2*.deb, openrtm-aist-doc_0.4.2*.deb, openrtm-aist-dev_0.4.2*.deb, openrtm-aist-example_0.4.2*.deb as explained in Newly installing OpenHRP. |