Build and install CamiTK on Windows

How to build and install the CamiTK on Windows

Now that you have done all the hard work of installing the toolchain and dependency, this step will be very easy!

Warning: re-installing camitk

If you had an existing installation of CamiTK in a different directory, you may still have some files in AppData (usually ̀C:\Users\<username>\AppData\Roaming\CamiTK). Remove this CamiTK directory if it exists, as it might contain erroneous paths that will interfere with the next steps.

Open a command shell with elevated privilege

Launch a cmd shell with admin privilege:

  • Click Start (also shown as the circular Windows logo in the Start menu).
  • Type Command Prompt and right-click Command Prompt when it appears in the Start menu. From the resulting context menu, click Run as administrator.

In the cmd shell go to directory where you unzip the installation scripts (see setup on Windows)

Run the setup script

Just run setup3-buildcamitk.bat It will download, configures and builds CamiTK Community Edition develop version.

If you want to build a stable version, use the corresponding tag to check out the desired version.

Check the installation

Run camitk-imp

After the compilation and installation, you can use CamiTK as a user (run an application provided by the community edition) or a developer (to develop your own CEP). Binary executables are located in C:\camitk\bin. Just double-click on camitk-imp.exe or any other provided application (note that you need a command prompt to run camitk-config.exe which is a console application, see below).

Run camitk-config

Launch a new command shell and type:

cd C:\camitk\install\bin
camitk-config --config

This should print details information about camitk version, where camitk is looking for extensions (aka the extension repository), and the default installed extensions.

Where should I go next?

Start your development with CamiTK!