21 Jun
2012
21 Jun
'12
8:41 a.m.
On Jun 20, 2012, at 8:40 AM, LucaDC wrote:
I'm having this error when compiling under Windows XP:
Make error line 289: problem compiling: src/live_effects/lpe-skeleton.cpp: In constructor 'Inkscape::LivePathEffect::LPESkeleton::LPESkeleton(LivePathEffectObject*)': src/live_effects/lpe-skeleton.cpp:35:31: error: '_' was not declared in this scope
It came out in rev.11502 (rev.11501 compiles correctly, rev.11502 doesn't).
That comes from the .cpp file not including <glibmm/i18n.h>
Try just adding that to files that have the '_' symbol problem.
In general we want to get accidental side-effects out of our headers and trim them down. Aside from other things, it improves compilation times and makes our usage a little more explicit.