OB_VERSION_CHECK problem

Hi all,

I’m getting the following error on current cryos/master:

/git/avogadro/libavogadro/src/molecule.cpp:63:36: error: missing
binary operator before token β€œ(”
/git/avogadro/libavogadro/src/molecule.cpp:100:36: error: missing
binary operator before token β€œ(”
/git/avogadro/libavogadro/src/molecule.cpp:1222:36: error: missing
binary operator before token β€œ(”
/git/avogadro/libavogadro/src/molecule.cpp:1369:36: error: missing
binary operator before token β€œ(”

These all point to usages of the new OB_VERSION_CHECK macro. Any suggestions?

Dave

On Jul 7, 2010, at 3:07 PM, David Lonie wrote:

These all point to usages of the new OB_VERSION_CHECK macro. Any suggestions?

I ran into this myself. Check your includes and make sure they don’t have an old version of babelconfig.h in them. In my case, I had one in my openbabel source directory.

Hope that helps,
-Geoff

On Wed, Jul 7, 2010 at 3:21 PM, Geoffrey Hutchison
geoff.hutchison@gmail.com wrote:

On Jul 7, 2010, at 3:07 PM, David Lonie wrote:

These all point to usages of the new OB_VERSION_CHECK macro. Any suggestions?
I ran into this myself. Check your includes and make sure they don’t have an old version of babelconfig.h in them. In my case, I had one in my openbabel source directory.

Good call – that fixed it!

Dave