Skip to content

commontk/Examples

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

For usability reasons, Examples should configure and compile with any
CTK configured and built with the same configuration.
16c76df

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Examples

Collection of independent CMake-based projects illustrating how to build and link against CTK.

Build Instructions

~/work$ git clone git://github.com/commontk/CTK.git
~/work$ mkdir CTK-Superbuild
~/work/CTK-Superbuild$ cd CTK-Superbuild
~/work/CTK-Superbuild$ ccmake ../CTK
~/work/CTK-Superbuild$ make
  • Then download and build Examples
~/work$ git clone git://github.com/commontk/Examples.git
~/work$ mkdir Examples-build
~/work$ cd Examples-build
~/work/Examples-build$ ccmake ../Examples -DCTK_DIR:PATH=~/work/CTK-Superbuild/
~/work/Examples-build$ make
  • Run example1
~/work/Examples-build$ ./Example1/example1

Help

More information on the CommonToolkit webpage:

Ask your questions on the CTK developer mailing list:

About

Collection of independent CMake-based projects illustrating how to build and link against CTK

Resources

Stars

Watchers

Forks