Dear Wayne, How is this different from the present analysis (CcpNmr) releases? You have both C and python code in both, right? Is this predominantly C with little python stuff or something like that? Is it just an API, in its purest programmers' sense? Many thanks. Best regards, Murali. On 14 Dec 2006, at 16:34, Wayne Boucher wrote: > Hello, > > The first official release of the CCPN C API is now available from: > > http://www.ccpn.ac.uk/software/downloads/ > > The Python release files are at the top of that page, you'll have to > scroll down about halfway to get to the C API. > > The API has been ready for a couple of weeks but the website has > not (we > have just moved to a Plone-based website and it was being a pain). > Hence > this late email. > > This C API includes the Python API inside it. So as well as a C > compiler > you also need Python (including the header files), with a minimum > version > of 2.4. If you don't already have such a Python installed then > there is > one available on the same webpage in the Python release section. > > The gzipped tar file unpacks into the ccpnmr directory (so the same as > with the Python distributions). Inside that directory is an > installation > script called installCApi.py. You should be able to just run that > script > (with Python, of course) to complete the installation. > > We tested this on OSX and Linux. On OSX I would recommend using > either > the Mac-provided Python or (better) the Fink-provided one. On > Linux you > can use the Python distribution we provide perfectly happily, or > one that > you already have installed (as long as >= 2.4). > > On other Unix platforms, you might need to tweak the > environment.txt file > that is created by installCApi.py in ccpnmr1.0/c/xmlApi, and then > re-run > the installCApi.py script, this time answering no to the question > whether > you want to create the environment.txt file. > > There is still some work to be done on the Windows version to make it > easier for people to install there. (In theory it can be done > already, if > you know what you are doing.) > > As well as the API there is some example code (courtesy of Wim) in the > directory ccpnmr1.0/c/xmlApi/src/ccp/examples. That code should be > compiled when the installCApi script is run. (But you need to cd into > that directory if you want to run the programs.) The Makefile in that > directory will also show you how to compile your own programs that > use the > C API. > > Since this is the first release there are bound to be problems, > which we > would be glad to hear about. > > Wayne