svmlight problems
Hello,
I am trying to train my hog algorithm and I have one problem. In svm_common.h file I have some ambiguity.
typedef struct word {
FNUM wnum; /* word number */
FVAL weight; /* word weight */
} WORD;
typedef struct svector {
WORD *words; /* Visual Studio 2012 says that WORD is ambiguous */
Where is the problem?
windef.h , 155 :
typedef unsigned short WORD;
so, you must have some windows headers in the way
What do you mean windows headers?
Specific headers to your windows system have the same struct declared as your SVM light implementation. That being said, your compiler is not able to differentiate between both struct implementations. Try adding the namespace of SVM light in front of the line which could actually solve it.