I got an error message similar to this on trying to #include a C header file into a C++ program. Try changing the linkage convention - use the syntax:
extern "C" {
#include "headerfilename.h"
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.