Difference between revisions of "Talk:Install (MinGW)"

From Open Babel
Jump to: navigation, search
Line 26: Line 26:
 
</pre>
 
</pre>
  
Then:
+
Then, corrects dlhandler into the Makefile.in:
 +
* change each dlhander_unix for dlhandler_win32
 +
* remove @BUILD_SHARED_TRUE@ in front of am_objects_1
 +
 
 +
Finally:
 
<pre>
 
<pre>
 
./configure
 
./configure
 
make
 
make
 +
make install
 
</pre>
 
</pre>
 +
 +
I've some issues with the test compilation, but babel.exe works fine.
 +
--[[User:Pansanel|Pansanel]] 09:25, 13 February 2007 (PST)

Revision as of 10:25, 13 February 2007

Environnement

I've the following environnement:

  • Windows XP Pro SP2
  • MinGW v5.1.3
  • msys v1.0.10
  • msysDTK v1.0.1
  • libxml2 v2.6.27
  • OpenBabel v2.0.2

Compilation

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

Then, corrects dlhandler into the Makefile.in:

  • change each dlhander_unix for dlhandler_win32
  • remove @BUILD_SHARED_TRUE@ in front of am_objects_1

Finally:

./configure
make
make install

I've some issues with the test compilation, but babel.exe works fine. --Pansanel 09:25, 13 February 2007 (PST)