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…