<html><head><meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello,</div><div><br></div><div>I am trying to create some new Property Widgets for my filter, but I am running into a roadblock on how to actually compile them.</div><div><br></div><div>I am attempting to compile just a simple widget that doesn't actually do anything, but I am obviously missing a library that needs to be included. I get the following errors when attempting to compile:</div><div><br></div><div>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span style=" color:#aa0000;">Undefined symbols for architecture x86_64:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::qt_metacall(QMetaObject::Call, int, void**)", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> scInfoProp::qt_metacall(QMetaObject::Call, int, void**) in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::qt_metacast(char const*)", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> scInfoProp::qt_metacast(char const*) in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::staticMetaObject", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> scInfoProp::staticMetaObject in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::updateDependentDomains()", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> vtable for scInfoProp in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::apply()", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> vtable for scInfoProp in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::reset()", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> vtable for scInfoProp in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::setView(pqView*)", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> vtable for scInfoProp in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::pqPropertyWidget(vtkSMProxy*, QWidget*)", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> scInfoProp::scInfoProp(vtkSMProxy*, vtkSMPropertyGroup*, QWidget*) in scInfoProp.cpp.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "pqPropertyWidget::~pqPropertyWidget()", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> scInfoProp::~scInfoProp() in scInfoProp.cpp.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> "typeinfo for pqPropertyWidget", referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"> typeinfo for scInfoProp in moc_scInfoProp.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">ld: symbol(s) not found for architecture x86_64</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">clang: error: linker command failed with exit code 1 (use -v to see invocation)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">make[2]: *** [libSpaceCraftInfoSMPlugin.dylib] Error 1</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">make[1]: *** [CMakeFiles/SpaceCraftInfoSMPlugin.dir/all] Error 2</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">make: *** [all] Error 2</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; color:#aa0000;">11:03:03: The process "/usr/bin/make" exited with code 2.</span><!--EndFragment--></p></div><div><br></div><div><br></div><div>Could someone let me know what I need to add to my CMakeLists.txt file to get this to compile?</div><div><br></div><div>Thanks,</div><div>Josh</div></body></html>