On Mon, Feb 27, 2012 at 2:23 PM, Gary Kedziora <gkedzi...@gmail.com> wrote: > I have having trouble compiling ~/libavogadro/src/python/fragment.cpp. > The issue appears to be that the python boost template function > arguments can not be resolved when there is a constant and non > constant version. Here is the make output for an example:
<snip> > > This has to do with initializing the name property of the Fragment > class for Python. In ~/libavogadro/src/fragment.h, we have > > inline QString name() { return m_name; } > inline const QString & name() const { return m_name; } > > It seems that in situations where there are not const member functions > (or other const qualifies), this works ok. I have run across this > type of problem with C++ the distant past, but don't remember much > about it. Anyway, what solution would be acceptable for the Avogadro > developers? > You don't mention what version you are building, this should be fixed in master as far as I am aware. If doing a git pull does not fix the issue can you let me know what commit you are on (git show from the source directory). Thanks, Marcus ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel