2011/5/6 Tavmjong Bah <tavmjong@...8...>:
Hi, Just tried to compile Inkscape trunk on my spanking new laptop (replacing my 6.5 year old one). It failed in 2geom with an error from the boost library. I used Fedora 15 beta which has boost 1.46 and gcc 4.6. The error message is:
Looks like the new GCC version changed its mind about whether HShear and VShear satisfy the TransformConcept. As a workaround, comment out the lines: BOOST_CONCEPT_ASSERT((TransformConcept<HShear>)); BOOST_CONCEPT_ASSERT((TransformConcept<VShear>)); in src/2geom/transforms.cpp.
The offending line is line 212 in src/2geom/transforms.h - we are trying to return a non-const reference a const object. I don't really remember why I wrote it this way. Can you try changing the return statement to "return *this"?
Regards, Krzysztof