Talk:Install (MinGW)

From Open Babel

Jump to: navigation, search

Noel, I'll do it when Open Babel compilation will run without error. At this time, test compilation fails and cml file format are not supported. I looking for an explanation.--Pansanel 08:35, 14 February 2007 (PST)

Jerome, will you merge the information on this 'Talk' page with the information on Install (MinGW) when you are ready. It's better to have one set of comprehensive instructions Baoilleach 02:16, 14 February 2007 (PST)

Contents

Environnement

I've the following environnement:

Compilation

libiconv

After decompressing the source package into my msys home directory:

cd libiconv-1.11
./configure
make
make install

zlib

After decompressing the source package into my msys home directory:

cd zlib-1.2.3
./configure
make
make install

libxml

After decompressing the source package into msys home directory:

cd libxml2-2.6.27
./configure
make
make install

openbabel

First, we need to set CPPFLAGS:

export CPPFLAGS="-I/home/jerome/openbabel-2.0.2/data -I/usr/local/include -I/home/jerome/openbabel-2.0.2/mingw"
export LDFLAGS="-L/usr/local/lib -L//home/jerome/openbabel-2.0.2/mingw"

You need to create a directory mingw in your openbabel directory and then copy inchi header:

cd openbabel-2.0.2
mkdir mingw
cp windows/libinchi.* mingw/

Then, corrects dlhandler into the Makefile.in:

Finally:

./configure
make
make install

I've some issues with the compilation in the test directory, but babel.exe works fine.

Issues

CML format is not supported.

--Pansanel 09:25, 13 February 2007 (PST)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox