I am using the code below to draw an ellipse on the image. But I am getting the error mentioned below. Could you please help me in this regard. Thanking you in anticipation of a favourable response.
main.obj : error LNK2019: unresolved external symbol "void __cdecl PrimitivesDrawer::DrawEllipse(class CByteImage *,struct Ellipse2d const &,int,int,int,int)" (?DrawEllipse@PrimitivesDrawer@@YAXPAVCByteImage@@ABUEllipse2d@@HHHH@Z)
I accidentally added the function declaration without an implementation, which is the reason for the unresolved external. However, I have already implemented PrimitivesDrawer::DrawEllipse (without support for thickness = -1 though) and this will be release with the next version.
So far, you can either use PrimitivesDrawerCV::DrawEllipse instead or if you send me an email, I'll send you the current PrimitivesDrawer.cpp.
Thanks for the reply. I would be grateful to you if you can share the new class (PrimitivesDrawer.cpp) file with me. Can you please let me know your email address? Thanks
You find my email address on the contact page of ivt.sourceforge.net.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.