OpenCV on Visual Studio using gcc compiler
I am developing a native SDK written in C++ and compiling it to a shared plugin in the .so format. I am using Visual Studio 2019 (on Windows10 OS) for this purpose and the project was created using the Dynamic Shared Library (Android) template. I want to be able to use OpenCV in my SDK. I have used OpenCV in c# projects with no issues but having problems in the current project.
I have compiled OpenCV binaries with GCC and linked the directory under C/C++ > Additional Include Directories as well as under Linker > Input > Additional Directories with no luck. My c++ code doesn't recognize the open cv variables.
I lack experience in Linux development and was wondering how can you integrate OpenCV in Visual Studio in the shared library project compiled with GCC.