[chimera-dev] [Chimera-dev] Compiling chimera from source code

Greg Couch gregc at cgl.ucsf.edu
Tue May 12 23:55:49 PDT 2009

On Tue, 12 May 2009, christopher lau wrote:

> Dear Madam/Sir,
> I am currently involved in a project which requires compiling the Chimera
> source code from scratch. I have been using:
> http://www.cgl.ucsf.edu/chimera/sourcecode.html
> for reference, and I understand that surfacing library is not available
> due to licensing issues.  Because I am not interested in using this
> feature, I wanted to know if it was still possible to compile the Chimera
> source code.  I know that it will be difficult but any knowledge or past
> experience that may help me would be greatly appreciated.
> Thanks in advance,
> Chris

You are very brave.  But, if you have experience porting software, it
should be fairly easy.

The prerequisites vary by platform.  For instance, on Windows you need
both Microsoft Visual Studio 2003 .NET and the cygwin 1.5 development
environment.  On Linux and Mac OS X, you need gcc, g++, g77/gfortran 3.4.4
or later, but if you're compiling on Red Hat/Fedora and want it to run on
other versions of Linux, you'll need to install a stock binutils package
to get cross-platform symbol tables.  And you'll need gnu make 3.81, flex,
bison, and a bunch of other tools.  You'll discover what else you need as
the compiles fail :-).  If you have specific problems, please ask.

The platform dependent make rules are in mk/os.make.

Total compilation time is about 3 hours.  If you don't need some of the
third-party software, e.g., ffmpeg, povray, amber tools, cmake, and boost,
you can take those of out of the foreign make file and speed things up

	Good luck and please tell us more about your project,


More information about the Chimera-dev mailing list