I found this awesome augmented reality laser cnc laser cutter engraver that has got a serious grip on me. The only problem is that I am not a programmer. I have installed opencv 2.3 I think and visual studio 2017. When I build the included code I get 23 errors and I don't know how to fix it. I have ordered a couple of books to learn c++ And opencv to learn to program. That's how serious I am. I have never wanted to build something more in my life but I need some serious help. Please help me http://answers.opencv.org, you'll only hope.
I hope you don't mind I have included some if the code below. The error say node is ambiguous. If anymore info is needed from me I will happily reply asap.
include <iostream>
include <vector>
include "cv.h"
include "highgui.h"
include <iostream>
include <fstream>
using namespace cv;
class Node { public: Node* parent; Node* child; int x, y;
Node(int, int);
Node();
};
Node::Node() { this->x = -1; this->y = -1; parent = NULL; child = NULL; } Node::Node(int x, int y) { this->x = x; this->y = y; parent = NULL; child = NULL; }
std::vector<node*> paths;
Node* generatePath(IplImage* img, int x, int y) {