[Paraview-developers] How to compile new Property Widgets?

Joshua Murphy Joshua.Murphy at lasp.colorado.edu
Thu May 16 13:11:45 EDT 2013


Hello,

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.

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:


Undefined symbols for architecture x86_64:

"pqPropertyWidget::qt_metacall(QMetaObject::Call, int, void**)", referenced from:

scInfoProp::qt_metacall(QMetaObject::Call, int, void**) in moc_scInfoProp.cxx.o

"pqPropertyWidget::qt_metacast(char const*)", referenced from:

scInfoProp::qt_metacast(char const*) in moc_scInfoProp.cxx.o

"pqPropertyWidget::staticMetaObject", referenced from:

scInfoProp::staticMetaObject in moc_scInfoProp.cxx.o

"pqPropertyWidget::updateDependentDomains()", referenced from:

vtable for scInfoProp in moc_scInfoProp.cxx.o

"pqPropertyWidget::apply()", referenced from:

vtable for scInfoProp in moc_scInfoProp.cxx.o

"pqPropertyWidget::reset()", referenced from:

vtable for scInfoProp in moc_scInfoProp.cxx.o

"pqPropertyWidget::setView(pqView*)", referenced from:

vtable for scInfoProp in moc_scInfoProp.cxx.o

"pqPropertyWidget::pqPropertyWidget(vtkSMProxy*, QWidget*)", referenced from:

scInfoProp::scInfoProp(vtkSMProxy*, vtkSMPropertyGroup*, QWidget*) in scInfoProp.cpp.o

"pqPropertyWidget::~pqPropertyWidget()", referenced from:

scInfoProp::~scInfoProp() in scInfoProp.cpp.o

"typeinfo for pqPropertyWidget", referenced from:

typeinfo for scInfoProp in moc_scInfoProp.cxx.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [libSpaceCraftInfoSMPlugin.dylib] Error 1

make[1]: *** [CMakeFiles/SpaceCraftInfoSMPlugin.dir/all] Error 2

make: *** [all] Error 2

11:03:03: The process "/usr/bin/make" exited with code 2.


Could someone let me know what I need to add to my CMakeLists.txt file to get this to compile?

Thanks,
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130516/e8c4ca3a/attachment.htm>


More information about the Paraview-developers mailing list