Hi Ahmed Yarub,
thanks for posting here.
>>Compiling a PHP extension with OpenCV in Visual Studio 2017
This error means the given symbol, displays in its decorated form, is multiply defined. For this case, I suggest you check these things below.
1. Check if the symbols are defined differently in two member objects in different libraries, and both member objects are used.
2. Check if you mix the static and dynamic libraries.
3. Check if rebuilding your OCR library could be help.
This forum is about c++ development with Microsoft products. For your case, I suggest you post on
OpenCV forum for better support.
Your understanding and cooperation will be grateful.
Best Regards,
Sera Yu
MSDN Community Support<br/> Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this
thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.