Linker command failed with exit code 1
I am working on Xcode 8.2.1 @, to build a indesign plugin .
Can anyone suggest which library i need to link , for below SnapshotUtilsEx.
I am calling SnapshotUtilsEX::Draw() method in HTTPHelper.cpp file.
Below is the linker error trace which i get , when I try to build my project.
Undefined symbols for architecture x86_64:
"SnapshotUtilsEx::Draw(int, unsigned int, PMReal const&, unsigned int, SnapshotUtils::Transparencies, IdleTimer*, std::__1::map<IDType<ClassID_tag>, PMReal, std::__1::less<IDType<ClassID_tag> >, std::__1::allocator<std::__1::pair<IDType<ClassID_tag> const, PMReal> > >*, unsigned int)", referenced from:
HTTPHelper::ExportLayout(IDocument*, PMString, PMString) in HTTPHelper.o
Below is the code snippet where i am making a call to the method.
SnapshotUtilsEx snapshot(pageUIDRef, 1.0, 1.0, desiredRes, 16.0, bleedAmount, SnapshotUtilsEx::kCsRGB, kFalse);
int errorCode = snapshot.Draw(IShape::kNoFlags, quality == SnapshotUtils::kSSJPEGGreatQuality && desiredRes > 16.0 ? kTrue : kFalse, 1.0, desiredRes > 16.0 ? kTrue : kFalse, desiredRes > 16.0 ? SnapshotUtils::kXPHigh : SnapshotUtils::kXPLow);
