Undefined Symbol Problem, Again

Hello,
I have encountered an undefined symbol problem in runtime. I created a class for my module which is inherited from Gui::ViewProviderGeometryObject:

#include <Gui/ViewProviderGeometryObject.h>
namespace RD_robGui {
class RD_robGuiExport ViewProvider_RD_rob: public Gui::ViewProviderGeometryObject
{
    PROPERTY_HEADER(RD_robGui::ViewProvider_RD_rob);
public:
    ViewProvider_RD_rob();

    void attach(App::DocumentObject *pcObject);
};
}

This code can be compiled, But as long as I want to switch to my module. It will report:

undefined symbol: _ZN11RD_robGui21ViewProvider_RD_rob6attachEPN3App14DocumentObjectE

I have included PreCompile in my cpp file. What is the cause of these kind of problems? This issue has bothered me for days, Can anyone help me out? Thanks a lot…

The error says that you have defined the attache() function but no implementation can be found. So either remove the function from your header or implementation it in your cpp file.

Oh…I am so reckless, thanks bro