[Open Babel] Compiling the latest version with Visual Studio 6.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Open Babel] Compiling the latest version with Visual Studio 6.0

Smellie, Andrew


I seem to reached a catch-22 situation. Here's what is going on
with version 1.100.2

1) Compiles fine with cygwin after running ./configure

2) However, the resulting include files are not suitable for compiling
with VS 6.0 (e.g. VS does not have sys/times.h header file)

3) The dsw file shipped with open babel does not work in VC 6.0
e.g. there are files listed in the dsw file that are not present in the
distribution (e.g. bitgrid.cpp)

So, how can I compile and link oelib with VC 6.0?

Thanks

Andrew

Andrew Smellie, B.A., D.Phil. (Oxon)
Senior Investigator II
Arqule Inc.
19 Presidential Way,
Woburn, MA 01801
[hidden email]
Phone: 781-994-0559



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Open Babel] Compiling the latest version with Visual Studio 6.0

Geoffrey Hutchison

On Oct 7, 2005, at 2:18 PM, Smellie, Andrew wrote:
> So, how can I compile and link oelib with VC 6.0?

Not to be a stickler for nomenclature, but OELib never had version  
numbers that I saw. This mailing list doesn't develop OELib. (Sorry,  
but a lot of things have changed since this project split from OELib.)

I'm assuming you want to know about Open Babel, so see below.

> with version 1.100.2
> 1) Compiles fine with cygwin after running ./configure
>
> 2) However, the resulting include files are not suitable for compiling
> with VS 6.0 (e.g. VS does not have sys/times.h header file)

Don't use 1.100.2. Grab the latest CVS (on the openbabel-new-
framework branch) or snapshot of 2.0. Chris Morley has been  
developing this framework using MS compilers. I've been compiling  
using Mac OS X and GCC.

So the latest development version:
a) Has up-to-date MS headers and projects
b) Is close to a 2.0 final release
c) Works well on Windows

Alas, it does not currently work correctly on cygwin -- it compiles,  
but the file format modules are not loaded. Haven't had a chance to  
fully debug that issue (PR#1246761). Any further bug reports or  
suggestions to fix 2.0 on Cygwin would be greatly appreciated.

Cheers,
-Geoff


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: [Open Babel] Compiling the latest version with Visual Studio 6.0

Smellie, Andrew
In reply to this post by Smellie, Andrew
Apologies for the confusion with names
Of couse I mean open babel....again apologies

OK...got the 2.0 snapshot, specifically openbabel-2.0.0b5-20051001

There are a number of workspaces in the windows subdirectory
but they all fail to compile, failing with hundreds of errors

I tried running vc6.bat, again many errors.

Thanks

Andrew

-----Original Message-----
From: Geoffrey Hutchison [mailto:[hidden email]]
Sent: Friday, October 07, 2005 2:54 PM
To: Smellie, Andrew
Cc: [hidden email]
Subject: Re: [Open Babel] Compiling the latest version with Visual
Studio 6.0



On Oct 7, 2005, at 2:18 PM, Smellie, Andrew wrote:
> So, how can I compile and link oelib with VC 6.0?

Not to be a stickler for nomenclature, but OELib never had version  
numbers that I saw. This mailing list doesn't develop OELib. (Sorry,  
but a lot of things have changed since this project split from OELib.)

I'm assuming you want to know about Open Babel, so see below.

> with version 1.100.2
> 1) Compiles fine with cygwin after running ./configure
>
> 2) However, the resulting include files are not suitable for compiling
> with VS 6.0 (e.g. VS does not have sys/times.h header file)

Don't use 1.100.2. Grab the latest CVS (on the openbabel-new-
framework branch) or snapshot of 2.0. Chris Morley has been  
developing this framework using MS compilers. I've been compiling  
using Mac OS X and GCC.

So the latest development version:
a) Has up-to-date MS headers and projects
b) Is close to a 2.0 final release
c) Works well on Windows

Alas, it does not currently work correctly on cygwin -- it compiles,  
but the file format modules are not loaded. Haven't had a chance to  
fully debug that issue (PR#1246761). Any further bug reports or  
suggestions to fix 2.0 on Cygwin would be greatly appreciated.

Cheers,
-Geoff


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Open Babel] Compiling the latest version with Visual Studio 6.0

Chris Morley-3


Smellie, Andrew wrote:

> Apologies for the confusion with names
> Of couse I mean open babel....again apologies
>
> OK...got the 2.0 snapshot, specifically openbabel-2.0.0b5-20051001
>
> There are a number of workspaces in the windows subdirectory
> but they all fail to compile, failing with hundreds of errors
>
> I tried running vc6.bat, again many errors.
>
I'm sorry the Windows build files were out of date. I'm
rather encouraged that somebody else wants to use Windows.

If you just want to run OpenBabel there is a compiled
snapshot version a couple of months old on the download
page, which you just need to download and run. It contains
a command line and a GUI version.

If you want to compile on VC6, I have just updated the
build files on CVS (new framework) for the standalone
commandline version (project "OBabel"). There are a few
ignorable warnings and the compression facility doesn't
work (but the transparent ungzipping does). Let me know if
there are difficulties.

Chris


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Loading...