On Sat, Feb 6, 2016 at 12:02 PM, Marcus D. Hanwell <
marcus.hanw...@kitware.com> wrote:

> Hi,
>
> I am working on new Avogadro 1/2 builds for Windows, and was using Visual
> Studio 2010 (and am still trying to at this point). Is Visual Studio 2010
> supposed to work?
>
> If not can we add an error for older versions of Visual Studio, if so the
> main issue seems to be a missing inttypes.h header that I know I brought up
> many years ago. Many errors of the form,
>
>
> C:\Users\marcus\src\avogadro-squared\openbabel\include\openbabel/bitvec.h(32)
> : fatal error C1083: Cannot open include file: 'inttypes.h': No such file
> or di
> rectory
> [C:\Users\marcus\build\avogadro-squared\openbabel\src\openbabel.vcxproj
> ] [C:\Users\marcus\build\avogadro-squared\openbabel.vcxproj]
>
> which I think was part of C99. I can upgrade the compiler (and have a few
> newer ones present, but they will need some work on dependencies that won't
> build).
>
> Probably should have searched longer, I see,

commit 8e5bf94ef9348e5d83f9a04bd26fa7424392f0c1
Author: Noel O'Boyle <baoille...@gmail.com>
Date:   Sat May 9 10:48:18 2015 +0100

    Remove additional MSVC specific files in windows-msvc

I didn't trace all the history, but was the intent to bump the MSVC
requirement here to a more recent one that has these features built in? A
very trivial patch reverting that commit and adding the directory to the
include path seems to get things working with Visual Studio 2010 - need to
verify stuff works but it built.

 I can use the local patch for now, happy to submit a patch one way or the
other (bump MSVC requirement, or add back in limited C99 headers).

Best,

Marcus
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to