Closed arsalan993 closed 4 years ago
Hi Arsalan,
The definition of Graph should be typedef vector
[image: 內置圖片 1]
Best regards, Yichia
2017-11-22 19:04 GMT+08:00 Arsalan Ahmed notifications@github.com:
Debugger takes me to ER.h "`struct Node { Node(ER v, const int i) : vertex(v), index(i){}; ER vertex; int index; vector adj_list; vector edge_prob; };
typedef vector Graph;`
In Type def vectorGraph , Node is ambiguous
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HsiehYiChia/Scene-text-recognition/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AMz_sYS-bLAuhAUV5Ixtaj9el9ohvsWKks5s4__KgaJpZM4QnORc .
Sir, I just edited my first comment actually i didnt cause any changes to your code , it gitclone as it is .. linked OpenCV to it and when i run it i get 8 errors and all 8 errors are related to This "Node" struct. Type def is one of them .. where ever in code you call "Node" i get this error.. So over all 8 errors because of Node
can u upload .exe file
Who ever get this error just Change the word "Node" to "Node1" , because Word "Node" is clashing with pre-existing "Node"
Debugger takes me to ER.h struct Node { Node(ER v, const int i) : vertex(v), index(i){}; ER vertex; int index; vector adj_list;
vector edge_prob;
};
typedef vector < Node > Graph;
In Type def vector < Node > Graph , Node is ambiguous