Documentation/ImageGallery: Difference between revisions

From Commontk
Jump to navigationJump to search
Line 74: Line 74:
Image:CtkPythonShell.png|[http://www.commontk.org/docs/html/ctkSimplePythonShell_8py.html ctkPythonShell]<br>A console to interact with python
Image:CtkPythonShell.png|[http://www.commontk.org/docs/html/ctkSimplePythonShell_8py.html ctkPythonShell]<br>A console to interact with python
</gallery>
</gallery>
=====How to launch the PythonShell=====
* Make sure that you have <code>CTK_APP_ctkSimplePythonShell</code> enable.
* To do it, type <code>ccmake .</code> in a terminal console at the CTK-build level. Use '''t''' to display all specifications and turn <code>ON</code> the <code>CTK_APP_ctkSimplePythonShell</code> parameter.
* To create the binaries, run <code>make -j8</code> in the same folder level.
* To run the app, go to the repository <code>CTK-build/CTK-build/bin</code> and run <code>./ctkSimplePythonShell</code>.

Revision as of 17:50, 1 September 2016

Home < Documentation < ImageGallery

Widgets

Visualization/VTK/Widgets

DICOM

Scripting/Python

How to launch the PythonShell
  • Make sure that you have CTK_APP_ctkSimplePythonShell enable.
  • To do it, type ccmake . in a terminal console at the CTK-build level. Use t to display all specifications and turn ON the CTK_APP_ctkSimplePythonShell parameter.
  • To create the binaries, run make -j8 in the same folder level.
  • To run the app, go to the repository CTK-build/CTK-build/bin and run ./ctkSimplePythonShell.