Skip to content

TBTK dev-container for use with visual studio code

dafer45/TBTKDevContainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

TBTK dev-container

A dev-container for easy TBTK application development using Visual Studio Code.

Requirements

Quick Start

  • Òpen TBTKDevContainer in Visual Studio Code.
  • Click "Reopen in Container" when asked.
  • Wait for the build to complete. This may take a few minutes.

At this point, you should be presented with a terminal prompt saying

vscode ➜ /workspaces/TBTKDevContainer

To create a new application1,2, type

TBTKCreateApplication MyApplication

Enter the folder by typing

cd MyApplication

Initiate the application by running

cmake .

You are now ready to build and run your application. To build, type

make

To run, type

./build/Application

Repeat the last two commands every time you want to rebuild and rerun.

See the terminal for text output and the folder MyApplication/figures/ for figures.

1. MyApplication is a placeholder for the application name.
2. You may optionally specify a second argument for the TBTKCreateApplication to create a template project implementing one of several example problems. Type TBTKCreateApplication without any argument to see a list of all possible template names.

Known issues and workarounds

Unable to build dev-container on Mac OS

On Mac, some files in the ~/.docker folder may be owned by root, thus preventing Visual Studio Code from building the dev-container.

This can be solved by changing the ownership of the ~/.docker folder recursively.

sudo chown -R $USER ~/.docker 

About

TBTK dev-container for use with visual studio code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published