Thanks Igor.  That simple edit made things much better.
Still using make (cmake gave more errors than I can recount)
I can link everything OK and get a running babel, BUT
$ pwd
/home/tj/openbabel/bin
$ ./babel -H
.....

The following file formats are recognized:
formats is not a recognized plugin type. Those with instances of 
sub-types loaded are:
descriptors
fingerprints
forcefields
loaders
ops

This bin folder has all sorts of *format.dll.a,  populated by make 
install.  I get the same symptom with my own programs using openbabel
(OBConversion::SetInAndOutFormats fails to recognize the formats "sdf", 
etc.)
Something is missing somewhere.  Can you help?
$ echo $PATH
.:/usr/local/bin:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program
 
Files/NTRU Cryptosystems/NTRU TCG Software Stack/bin/:/c/Program 
Files/Wave Systems Corp/Dell Preboot Manager/Access 
Client/v5/:/c/Program Files/android/tools:/c/Program Files/Bitvise 
Tunnelier:/c/Program Files/TortoiseSVN/bin:/c/Program 
Files/OpenBabel-2.2.3:/c/Program Files/OpenBabel-2.2.1:/c/Program 
Files/OpenBabel-2.2.0:/c/Program Files/CMake 
2.6/bin:/c/qt/2009.03/qt/bin/:/c/qt/2009.03/bin/

TJ O'Donnell

P.S.  When I install 2.2.3 into C:\Program Files\OpenBabel\
using the windows installer exe, babel -H works as expected.


Igor Filippov [Contr] wrote:
> Ok, thanks for "resident expert" title :) Not sure I'm an expert, but
> I've seen this issue with libstdc++.dll.a in MinGW - it's a known
> problem, has nothing to do with Openbabel. See:
> 
> http://thread.gmane.org/gmane.comp.gnu.mingw.user/30206/focus=30243
> 
> To solve it:
> edit the file /mingw/lib/gcc/mingw32/4.4.0/libstdc++.la
> to remove (or comment out) the line:
> library_names='libstdc++.dll.a'
> 
> Hope this helps,
> Igor
> 
> On Wed, 2009-10-14 at 10:21 -0400, Geoffrey Hutchison wrote:
>> On Oct 9, 2009, at 5:19 PM, TJ O'Donnell wrote:
>>> I am NOT using cmake.  Is that required?  I took the wiki section  
>>> about
>>> building OB using cmake to be for those who do use cmake.
>>> I am using the ./configure & make method.
>> I think the "resident expert" in MinGW is Igor Filippov. Here's what  
>> he said about the 2.2.2 release:
>>
>>> But to be completely fair, I ended up using configure for all but  
>>> one of
>>> the systems I have compiled OB 2.2.2 (the one I was able to use  
>>> cmake on
>>> was Fedora 9 system). Even on MinGW I ended up running configure to  
>>> have
>>> a monolithic libopenbabel-3.dll with everything compiled in. Things  
>>> that
>>> worked for SVN branch snapshot just didn't for the release - and  I
>>> didn't want to bring up the MinGW question again after all the great
>>> work everyone put into it before the 2.2.2 release :(
>> -Geoff
> 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to