Compiling method (Windows, CMake using, C++ edition)

I will explain how to build on Windows.

(G)Environment preparation

(G)Environment

Visual C++ (version 2005 or later) Vc++ development environment
CMake (version 2.8.5 or higher) Tools for generating build files that are in development environment
Doxygen Documentation Generator
Wix Windows Installer XML toolset (version 3.0 or 3.5) Tool set for creating Windows Installer (MSI) package

(G)Combination of versions

There is a combination of versions of Visual C++ and Wix.

VC++ Wix
2010 3.5
2008 3.0
2005 3.0

(G)Build procedure

It shows the build procedure. The figure is VC++ 2005, CMake 2.8.5.

(G)Cmake settings

Launch the GUI version of Cmake and specify the directory.

Where is the source code Specifies the folder of the code generated by RTCBuilder.
Where to build the binaries Specify a folder to output files such as solution/project/workspace.

Clipboard09.png
Specify directory


(G)Running Configure

Click the [Configure] button to execute it. Then select the platform to use. In the example, "Visual Studio 9 2008" is selected.

Clipboard04.png
Platform selection


(G)Running Generate

When Configure completes normally, click the Generate button.

Clipboard05.png
Run Generate


(G)Running VC++

Open the solution file (*.sln) in the folder specified in "Where to build the binaries".

Clipboard06.png
Open solution file


(G)Running the build

Build solution by executing [Build] > [Build Solution].

Clipboard08.png
Run build


(G)Document generation procedure

(G)Running doxygen

In the Solution Explorer, select "doxygen" and right click. So select "Build" and execute it.

Clipboard10.png
Run doxygen


(G)Documentation

Documents are generated in doc/html under the folder specified in "Where to build the binaries".

Clipboard13.png
document example


(G)Package generation procedure

Package generation uses cpack and wix that are included in CMake, but cpack does not support Wix, and can not generate packages unless it is normal. As a response, please expand the following file and replace it with one of C:\Program Files\CMake 2.8.

CMake patch (for Wix 3.0)

(G)Running doxygen

In the Solution Explorer, select "doxygen" and right click. So select "Build" and execute it.

Clipboard10.png
Run doxygen


(G)Running the PACKAGE build

In Solution Explorer select "PACKAGE" and right click. So select "Build" and execute it.

Clipboard15.png
PACKAGE Build Run


(G)Package

The msi format installation package is generated under the folder specified in "Where to build the binaries".

rtc1.1.0- <package name> .msi

When you run this installation package, it will be installed to the following.

C:\Program Files\OpenRTM-aist\1.1\components\<Language>\<package name>

AttachmentSize
Package icon cmake-2.8-WiX-patch_v30.zip1.09 MB

Download

latest Releases

For Begginers

Windows msi(installer) package (only trying samples)

C++,Python,Java,
Toolsを含む
1.2.1-RELEASE

Development environment is required for RT-Component development. See download page for details.

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK