I am trying to detect edges on an image.
Everything looks fine except the actual imaqFindEdge function.
-----------
StraightEdgeReport *report1, *report2, *report3, *report4;
RotatedRect rect1 = { 90, 81 ,80, 77, 0.00};
RotatedRect rect2 = {188, 79, 80, 80, 0.00};
RotatedRect rect3 = { 94, 250, 70, 80, 0.00};
RotatedRect rect4 = {138, 250, 70, 80, 0.00};
BestLine *line1, *line2, *line3, *line4;
PointFloat pointFloat12, pointFloat34;
Point point12, point34;
report1 = imaqFindEdge(m_LowerCameraProcessedImage, rect1, IMAQ_TOP_TO_BOTTOM, NULL, NULL);
--------------------
I was sure to include the
#include "nimachinevision.h"
statement
I am getting the following error when I try to execute it (It does compile with no
errors)
--------------
error LNK2001: unresolved external symbol "struct StraightEdgeReport_struct * __stdcall imaqFindEdge
----------------
I know I am probably missing something simple, but can not think of what it is.
Any help you can provide will be greatly appreciated.