I cannot seem to compile anything with ofxCv (stable branch) and of 0.9.8 release or of github stable branch. I get the same error for all combinations:
1>opencv_core310.lib(persistence.obj) : error LNK2005: "public: static struct CvTypeInfo * CvType::first" (?first@CvType@@2PEAUCvTypeInfo@@EA) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "public: static struct CvTypeInfo * CvType::last" (?last@CvType@@2PEAUCvTypeInfo@@EA) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType seq_type" (?seq_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType seq_tree_type" (?seq_tree_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType seq_graph_type" (?seq_graph_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType sparse_mat_type" (?sparse_mat_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType image_type" (?image_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType mat_type" (?mat_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
1>opencv_core310.lib(persistence.obj) : error LNK2005: "struct CvType matnd_type" (?matnd_type@@3UCvType@@A) already defined in opencv_core249.lib(persistence.obj)
It seems from the documentation this should just work. I am using the project generator to either add ofxCV to an existing project, or to generate projects for any of the ofxCv examples.
I cannot seem to compile anything with ofxCv (stable branch) and of 0.9.8 release or of github stable branch. I get the same error for all combinations:
It seems from the documentation this should just work. I am using the project generator to either add ofxCV to an existing project, or to generate projects for any of the ofxCv examples.