[SPAM] error: invalid use of member (did you forget the `&' ?) BUt find the way to fix it

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[SPAM] error: invalid use of member (did you forget the `&' ?) BUt find the way to fix it

Bing Xiong
Hello, all :
 
First of all, thanks OB developer. It's very good library for Computational chemistry. I used it often.
Here's a Note. Hope it can help others.
When I compile the Openbabel 2.2.* at linux computer(Redhat), it report an error like that:
In function Energy()
 look at the source code, the error line is:
 energy  = E_Bond<true>();
 
When I modify it to  ---->
     energy  = E_Bond(true);
 
It can compile succussfully.
 
I am hoping this message can help someone.
 
Best wishes,
 
Bing
 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: [SPAM] error: invalid use of member (did you forget the `&' ?) BUt find the way to fix it

Geoffrey Hutchison
> When I compile the Openbabel 2.2.* at linux computer(Redhat), it  
> report an error like that:

Can you be a bit more specific? We have not had problems compiling  
Open Babel on RedHat. What version of RedHat are you using?

Can you run "gcc -v" for us so we know which version of the compiler  
you are using? I suspect you are using an older version. We highly  
recommend GCC 4.0 or newer.

Thanks and best regards,
-Geoff

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss