Installing CompuCell3D from source 3.4.1 Maciej Swat Biocomplexity Institute, Indiana University.

Slides:



Advertisements
Similar presentations
Creating a Dialog-Based Comet Windows Program Brian Levantine.
Advertisements

Lecture 3 Getting Started with ITK!. Goals for this lecture Learn how to use Cmake Build ITK Example programs that use ITK.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
CSS Central: Central Management Utility Screen View Samples Next.
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
How to install CGAL Yuanzhen Wang. What is CGAL Computational Geometry Algorithms Library “Provide easy access to efficient and reliable geometric algorithms.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
When running the CTAS MS Access database modules you may see this security warning This indicates that all scripting within the database has been disabled.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
DTIAtlasBuilder Adrien Kaiser Neuro Image Research and Analysis Laboratories University of North Carolina at Chapel Hill A tool to create an atlas from.
Makefiles CISC/QCSE 810. BeamApp and Tests in C++ 5 source code files After any modification, changed source needs to be recompiled all object files need.
Makefiles. makefiles Problem: You are working on one part of a large programming project (e. g., MS Word).  It consists of hundreds of individual.cpp.
Geant4 Installation Supported platforms:  Scientific Linux with gcc 4.1.2/4.6  Mac Os X 10.7 and 10.8 with gcc 4.21  Windows7 with Visual Studio.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
1 PA1 - Specification ● Goal ● To see how modern graphics engine and application works ● Objective ● Compile and run samples from a modern ray tracing.
NA-MIC National Alliance for Medical Image Computing Slicer Building and Deployment Steve Pieper, PhD.
1 NORMA Lab. 7 Generating Reports More Display Options File: NORMA_Lab6.ppt. Author: T. Halpin. Last updated: 2009 June 9.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Hidden Markov Toolkit (HTK) Installation Fang-Hui Chu Department of Computer Science & Information Engineering National Taiwan Normal University.
Creating and running a Java program. Eclipse Interactive Development Environment (IDE)  Eclipse is an Interactive Development Environment (IDE) for Java.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Installing CompuCell3D from source. Why you might want to install from source? 1.There are no binaries for your platform (e.g. gentoo linux) 2.You want.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
Setting up Cygwin Computer Organization I 1 May 2010 ©2010 McQuain Cygwin: getting the setup tool Free, almost complete UNIX environment emulation.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
1 PA2 – Specification ● Goal ● To see how Instant Radiosity is done ● Objective ● Compile and run our skeleton code for the Instant Radiosity ● Send three.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
 CSC 215 : Procedural Programming with C C Compilers.
Software development tools
CMake - Cross-Platform Make R. Douglas Barbieri Made to Order Software Corporation.
Introduction to CMake, v. 2
CSC 215 : Procedural Programming with C
Build and Test system for FairRoot
How to build 3D Slicer for Windows
CMPE 152: Compiler Design ANTLR 4 and C++
Quick Start Guide for Visual Studio 2010
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Cmake Primer.
Using Visual Studio and VS Code for Embedded C/C++ Development
1. Open Visual Studio 2008.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Hidden Markov Toolkit (HTK) Installation
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Working with Libraries
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Presentation transcript:

Installing CompuCell3D from source Maciej Swat Biocomplexity Institute, Indiana University

Installing CompuCell3D from source Maciej Swat Why you might want to install from source? 1.There are no binaries for your platform (e.g. gentoo linux) 2.You want to develop new modules 3.You want to have latest version of CompuCell3D (we do not post new binaries as often as we do with source code) 4.You want to run CompuCell3D on a cluster where programs are installed in non- standard locations 5.The install script does not work properly (this is especially true if the dependencies are installed in non-standard locations. We will work in the future to improve installation script so that it will be more robust)

Prerequisites: C++ Compiler (g++ or Visual Studio compilers) CMake 2.6 or higher ( ) VTK 5.x or higher ( ) Qt4 ( ) PyQt4 ( ) Python Development files 2.4 or higher,but NOT 3.x series ( ) SWIG 1.3 or higher ( )

Unpack or check out CompuCell3D package (in my case I will store source code in this directory D:\Project_SVN_CC3D\branch\3.4.1). Open cmake-gui (it will work on all the platforms). Here I am showing you how to configure CompuCell3D for compilation on Windows

Point to locations where the source code is and where you want to store project files (makefiles, objectfiles, metafiles etc. this is internal directory used by CMake and your edvelopment environment – XCode, KDevelop,Eclipse, or Visual Studio)

Press “Configure” to start configuring the project. A dialog will pop up asking about your build syste. This means you have to choose how you want to build CompuCell3D – using makefiles and command line tool, or using IDE such as Visual Studio, Kdevelop, Eclipse or XCode

Here I have chosen to use Visual Studio Depending on your system you might have to make different selection. Now CMake will check your system to see if you have required tools.

Few important things: As you can see all the dependencies were found without any problem on my system. To make sure this is the case do the following: Add swig to your search path Add Python to your search path Create environment variable VTK_DIR= /lib/vtk-5.x. In my case I use the following value for this variable VTK_DIR=c:\Program Files\VTK-5.2.1\lib\vtk-5.2 Add qmake (or qmake.exe) to your path Create environment variable QMAKESPEC describing how you have built Qt4 library In my case it is QMAKESPEC=win32-msvc2005 But you may want to consult INSTALL or README manuals that ship with Qt4 source code

Next thing you should do is to change CompuCell3D installation directory to point to different than default location. As a matter of fact on OSX/Linux/Unix systems you might get warnings about not having write permissions for installtion directory. This is because by default on those systems CMake will try to install CompuCell3D into e.g. /usr/local and you need to be superuser to write there. To change installation directory pick different path for the CMAKE_INSTALL_PREFIX

Press “Configure” again and… Notice, the “Generate” button is activated, now all you have to do is to press it and it will generate Visual Studio project that we will use to compile CompuCell3D.

If you look into CMake message panel you will notice the following warning: It means that we need to set up Library policy but we have not done it. It is OK to ignore this warning in this case. Now our project is generated. All the steps show here apply to all the platforms. Now let’s see how we compile CC3D in VS 2005.

Open Visual Studio

Open CompuCell3D project file. It will be file called ALL_BUILD.vcproj in D:\Projects_build\3.4.1

Go to Build->Configuration Manager… and change ActiveSolutionConfiguration to RelWithDebInfo or to Release

Now you are ready to compile CompuCell3D. Right-click on ALL_BUILD in Solution Explorer and choose “Build”

After you are done with compilation you have to install CompuCell3D to the installation directory (CMAKE_INSTALL_PREFIX). Simply right-click on INSTALL in Solution Explorer and choose “Build”. After this step CompuCell3D is ready to use.

If you are using other IDE like Eclipse, KDevelop or XCode, the steps involved in compilation are fairly similar to those on Visual Studio. If you are using command line tools (make or nmake) then after generating you Makefiles by CMake all you need to do is to type: make And when compilation is done do: make install