Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

OpenCV and Sphinx conflicting types

$
0
0
Hello there. I'm in a project where we use both OpenCV and Pocketsphinx. It happens that when I compile the sources, I get the following errors about conflict types on "prim_type.h" of sphinx base and "interface.h" of OpenCV: /usr/local/include/sphinxbase/prim_type.h:129:22: error: conflicting declaration ‘typedef long long int int64’ /usr/local/include/opencv2/core/hal/interface.h:57:20: error: ‘int64’ has a previous declaration as ‘typedef int64_t int64’ /usr/local/include/sphinxbase/prim_type.h:130:28: error: conflicting declaration ‘typedef long long unsigned int uint64’ /usr/local/include/opencv2/core/hal/interface.h:58:21: error: ‘uint64’ has a previous declaration as ‘typedef uint64_t uint64’ How can I solve this problem? I really need both of them on my project. Thank you so much in advance.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>