Batchmake install: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 1: Line 1:
[[BatchMake | < Main BatchMake]]
= Install BatchMake =
= Install BatchMake =


Line 16: Line 14:
You will have to specify CMAKE_BUILD_TYPE (Debug or Release) and the ITK_DIR which is the directory that contains ITKConfig.cmake file.
You will have to specify CMAKE_BUILD_TYPE (Debug or Release) and the ITK_DIR which is the directory that contains ITKConfig.cmake file.
Press 'c' to configure then 'g' to generate and then run the 'make' command to compile Batchmake.
Press 'c' to configure then 'g' to generate and then run the 'make' command to compile Batchmake.
'''FLTK: Use Batchmake as a GUI (Graphical User Interface)'''
To use Batchmake as a GUI, you must have FLTK.
You can get it from [http://www.fltk.org]:
-Download the stable release version.
-Go to the directory where it is downloaded.
-Build and compile FLTK: create a new directory (FLTKBin for example) and then do:
cd FLTKBin
ccmake ../FLTK
Here put CMAKE_BUILD_TYPE to 'Release' and BUILD_SHARED_LIBS to 'ON'
Press 'c' to configure then 'g' to generate and then run the 'make' command to compile FLTK.
When it's done, you will have to re-build BatchMake and put USE_FLTK to 'ON'

Revision as of 15:04, 8 October 2010

Install BatchMake

ON LINUX

Open a terminal then run this command line:

cvs -d :pserver:anoncvs@batchmake.org:/cvsroot/BatchMake co BatchMake

To build and compile BatchMake, create a new directory (BatchMakeBin for instance) and then do:

cd BatchMakeBin
ccmake ../BatchMake

You will have to specify CMAKE_BUILD_TYPE (Debug or Release) and the ITK_DIR which is the directory that contains ITKConfig.cmake file. Press 'c' to configure then 'g' to generate and then run the 'make' command to compile Batchmake.

FLTK: Use Batchmake as a GUI (Graphical User Interface)

To use Batchmake as a GUI, you must have FLTK. You can get it from [1]:

-Download the stable release version.

-Go to the directory where it is downloaded.

-Build and compile FLTK: create a new directory (FLTKBin for example) and then do:

cd FLTKBin
ccmake ../FLTK

Here put CMAKE_BUILD_TYPE to 'Release' and BUILD_SHARED_LIBS to 'ON' Press 'c' to configure then 'g' to generate and then run the 'make' command to compile FLTK. When it's done, you will have to re-build BatchMake and put USE_FLTK to 'ON'