ORiN 2 - Adding CAO_i.c Include path to Visual Studio Project

Modified on Fri, 11 Jun 2021 at 06:08 PM

**Attention** : Read this resource material carefully and in its entirety before use, to ensure it is understood and used properly.  Failure to properly follow the instructions in the resource materials DPAM provides may result in damage to your equipment.  As a result, by using the resource materials, you are assuming the risks associated with modifying your equipment. DENSO holds no liability, implied or otherwise, for damage, injury or any legal responsibility incurred, directly or indirectly from the use of the resource materials, including any loss of data or damage to property which may occur by your use of the resource materials. The use of the resource materials are not recommended unless you have technical knowledge and functional experience with the equipment and related software. DENSO is unable to provide support, remote or otherwise, for the information included in the resource material, nor for the ancillary topics relating to the information included in the resource materials. Therefore, if you are not fully comfortable with it, we strongly recommend that you send your unit to one of our Regional Support Centers for repair.  The information contained in the resource materials are subject to change at the sole discretion of DPAM. 


This article shows how to add the CAO_i.c file Include path to your Visual Studio project. This applies when using the CAO Engine to communicate to the robot controller and programming in either Visual C++. This article is not intended to aid you on how to use Visual Studio IDE.

Tools and Parts needed

  • Visual Studio IDE (This examples uses Visual Studio 2017)

The following sample code is provided "AS IS" under the MIT License. Programming support service is out of warranty. Please note that we do not provide any programming support service beyond basic setup and troubleshooting.

Step-by-Step Guide

Step 1

After you have created your project in Visual Studio, right-click on your project entry under the Solution Explorer section.


Select the "Properties..." option. The Project Property Pages window should appear.

Step 2

On the Property Pages window, perform the following operations:

  1. Expand the Configuration Properties list and select VC++ Directories
  2. Select "Include Directories" in the right pane.
  3. Press the drop-down icon
  4. Select <Edit...>

The Include Directories window should come up.

Step 3

On the Include Directories window include the path to the CAO_i.c file. 

  1. Press the "New Line" button
  2. Press the [...] button
  3. Select the following directory

Step 4

Press the OK button to add the new include directory. 

Step 5

Confirm that the ORiN 2 path is properly included. 

Press OK to confirm. 

Next Steps:

Other References

  • ORiN 2 Programming Guide - Section 2.6.1 "Client development with C++" (C:\ORiN2\CAO\Doc\ORiN2_ProgrammersGuide_en.pdf)
  • ORiN 2 - Overview

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article