I'm getting a weird linker error in VS2k5

When I try to compile this:

QwtScaleMap * map = &_plot->canvasMap(_plot->xBottom);

pen.setWidth(map->transform(1) - map->transform(0));

I get this:

Qwtd5.lib(Qwtd5.dll) : error LNK2005: "public: int __thiscall QwtScaleMap::transform(double)const " (?transform@QwtScaleMap@@QBEHN@Z) already defined in corelimitsgui.lib(****.obj)

Qwtd5.lib(Qwtd5.dll) : error LNK2005: "public: double __thiscall QwtScaleMap::xTransform(double)const " (?xTransform@QwtScaleMap@@QBENN@Z) already defined in corelimitsgui.lib(****.obj)


Im trying to get the distance between ticks so i can create a barchart that keeps the bars stretched depending on the chart. Any ideas?