CHAI3DCHAI3D

Getting started on Windows using VisualStudio

This guide assumes that your V-REP module installation is located in the root of your CHAI3D installation (e.g. %HOME%/chai3d/modules/V-REP)

Prerequisites

Compilation

  • open the main CHAI3D-V-REP VisualStudio project file called CHAI3D-V-REP-VS####.sln located in the installation root folder
  • make sure to open the file for the correct VisualStudio version (e.g. CHAI3D-V-REP-VS2013.sln if using VisualStudio 2013)
  • select the build configuration and target architecture (V-REP requires Win32):
  • build CHAI3D-V-REP and all examples (Ctrl+Shift+B)

Copying the shared library and trying the examples

    • copy the v_repExtCHAI3D.dll shared library (and all other files) from ~/chai3d/modules/V-REP/bin/win-Win32 to your V-REP base installation.
    • load an example V-REP scene (e.g. ./01-V-REP-shapes.ttt) into V-REP
    • start the V-REP simulation

Reading the documentation