I'm trying to compile a sample plugin project (Measure) from the SDK in an IDE other than VS and get some errors.
I fixed some by using -fpermissive switch,
another by changing,
typedef MQWidgetSharedPtr std::shared_ptr
to
#define MQWidgetSharedPtr std::shared_ptr
but I get this error,
\MQWidget.h|140|error: incomplete type 'MQWidgetBase' used in nested name specifier
for lines like this
if(MQWidgetBase::FindWidgetByID(id) != NULL){
...}
What do I need to do to fix this error?
2014-06-25 18:14