Hi, i'm trying to compile opencv libraries that has written with C++ together with C main code, how can i do it please ?
sorry for my bad english :\
A C++ program can make use of a C library.
A C program will have big problems making use of a C++ library, unless the C++ library presents a C-only interface.
i have successfully created a file opencv.lib that contain a opencv libraries and i add it to my project but when i compile it the compiler show many errors comes from cv.h the problem that in first time when i compiled just opencv libraries there is no errors in cv.h seemingly in my project keil consider cv.h as C code not C++ is there a method to impose keil to compile cv.h as C++ code ?
thanks for helping me :)
Build errors :
<img src="">s27.postimg.org/.../image.jpg">
main.h :
main.c :
anyone can help me ?
Hello,
How are you?
Can you share the opencv lib?
Thank You, Rogerio.