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

From Open Babel
Jump to: navigation, search
Line 3: Line 3:
 
* MinGW 5.1.3
 
* MinGW 5.1.3
  
1. You need to configure your CPPFLAGS with
+
I've set the following env with the 'set' command:
 
<pre>
 
<pre>
set CPPFLAGS=-I/path/to/data
+
set CPPFLAGS=-I/c/devel/include -I/c/openbabel-2.0.2/data
 +
set LDFLAGS=-L/c/devel/
 
</pre>
 
</pre>
(i.e. CPPFLAGS=-IC:/openbabel-2.0.2/data). You can verify that the environnement variable is set by using this command:
+
 
 +
then:
 
<pre>
 
<pre>
env
+
sh configure --prefix=/c/devel --disable-xml-test
</pre>
+
make
 +
<pre>
 +
 
 +
I get the following error:
 +
libtool: link: ERROR: object name conflicts: .libs/libopenbabel.lax/libmath.a//c/openbabel-2.0.2/src/math/.libs/libmath.a</pre>

Revision as of 02:35, 13 February 2007

Compilation of Openbabel-2.0.2 with:

  • Windows XP Pro
  • MinGW 5.1.3

I've set the following env with the 'set' command:

set CPPFLAGS=-I/c/devel/include -I/c/openbabel-2.0.2/data
set LDFLAGS=-L/c/devel/

then:

sh configure --prefix=/c/devel --disable-xml-test
make
<pre>

I get the following error:
libtool: link: ERROR: object name conflicts: .libs/libopenbabel.lax/libmath.a//c/openbabel-2.0.2/src/math/.libs/libmath.a