Ask Your Question

fifo_thekdi's profile - activity

2018-10-01 21:02:21 -0600 commented answer Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

please refer to this topic: https://github.com/opencv/opencv/issues/10645 you were just wrong, plain and simple

2018-10-01 20:46:44 -0600 commented question Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

by valid you mean "related to the answer" or "it is simply wrong"?

2018-10-01 20:44:57 -0600 commented answer Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

answer edited

2018-10-01 20:44:44 -0600 edited answer Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

There are some mistakes here: 1- OpenCV_DIR should point to the "build" directory, and not to "/build/x64/vc15/lib" 2-

2018-10-01 20:42:59 -0600 commented answer Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

this whole question was in reply to a comment I made on Reddit I've already given a complete solution with a video I mad

2018-10-01 14:58:00 -0600 commented answer Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

It's not correct. the OpenCV_DIR was pointing to the wrong directory. Please read the points above. There is nothing wro

2018-10-01 14:54:43 -0600 commented question Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

5- When you did the "cmake" command without any option it automatically selected x86, while the OpenCV directory variabl

2018-10-01 14:52:30 -0600 commented question Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

There are some mistakes here: 1- OpenCV_DIR should point to the "build" directory, and not to "/build/x64/vc15/lib" 2-

2018-10-01 14:52:14 -0600 commented question Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

There are some mistakes here: 1- OpenCV_DIR should point to the "build" directory, and not to "/build/x64/vc15/lib" 2- A

2018-10-01 14:43:20 -0600 answered a question Error using cmake on Windows with Visual Studio 2017 and OpenCV 3.4.3

Here you go: https://www.reddit.com/r/opencv/comments/9kjm2v/creating_an_opencv_based_cmake_project_on_windows/? I made

2018-09-15 19:36:38 -0600 commented question The Right Way for Building Latest OpenCV for Python 2 x86

So I reinstalled both the 32 and 64-bit version of Intel performance libraries and they were detected successfully and c

2018-09-15 18:28:37 -0600 commented question The Right Way for Building Latest OpenCV for Python 2 x86

I could compile it and run it sucessfully after the latest updates The biggest problem I faced was picking up the right

2018-09-15 18:28:22 -0600 answered a question The Right Way for Building Latest OpenCV for Python 2 x86

I could compile it and run it sucessfully after the latest updates The biggest problem I faced was picking up the right

2018-09-14 10:25:34 -0600 received badge  Enthusiast
2018-09-13 15:32:59 -0600 commented question The Right Way for Building Latest OpenCV for Python 2 x86

You are right it did show x86. I added Python 2 paths to the configuration but for sum reason it did not appear in the s

2018-09-11 01:50:25 -0600 commented question The Right Way for Building Latest OpenCV for Python 2 x86

I have always selected VS 15 2017, without the Win64 part and it has always produced a 64bit version I can see that in t

2018-09-11 01:23:19 -0600 commented question The Right Way for Building Latest OpenCV for Python 2 x86

I have always selected VS 15 2018, without the Win64 part and it has always produced a 64bit version I can see that in t

2018-09-10 22:37:01 -0600 received badge  Editor (source)
2018-09-10 22:37:01 -0600 edited question The Right Way for Building Latest OpenCV for Python 2 x86

The Right Way for Building Latest OpenCV for Python 2 x86 I've been building and using OpenCV with Java, Python,... bind

2018-09-10 22:36:43 -0600 asked a question The Right Way for Building Latest OpenCV for Python 2 x86

The Right Way for Building Latest OpenCV for Python 2 x86 I've been building and using OpenCV with Java, Python,... bind

2017-08-02 12:04:56 -0600 commented question Compiling a PHP extension with OpenCV in Visual Studio 2017

I tried that and I could compile it without errors But PHP could not load the extension saying that "module not found"

2017-08-01 22:49:10 -0600 asked a question Compiling a PHP extension with OpenCV in Visual Studio 2017

I've been successfully developing several PHP extensions for data processing both on Windows and Linux. In addition to that, I have many OpenCV projects on both operating systems fully working.

Recently I've been trying to create a PHP extension for PHP 7.2 using the official SDK on Windows. I could easily compile it with nmake and it loaded without any problem. Then I compiled an OCR library of my own that uses OpenCV 3.2 and linked it to an exe and it worked too.

The I try linking the dll of the extension to both the PHP SDK library file and the library I made using OpenCV, but no matter what I try I always get these errors only when I link both libs to the dll:

1>my_ocr_lib.lib(my_ocr_lib.obj) : error LNK2005: "public: void __cdecl std::_Container_base12::_Orphan_all(void)" (?_Orphan_all@_Container_base12@std@@QEAAXXZ) already defined in php_my_ocr.obj
1>my_ocr_lib.lib(my_ocr_lib.obj) : error LNK2005: "public: void __cdecl std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" (?_Swap_all@_Container_base12@std@@QEAAXAEAU12@@Z) already defined in php_my_ocr.obj
1>my_ocr_lib.lib(my_ocr_lib.obj) : error LNK2005: "void * __cdecl std::_Allocate(unsigned __int64,unsigned __int64,bool)" (?_Allocate@std@@YAPEAX_K0_N@Z) already defined in php_my_ocr.obj
1>my_ocr_lib.lib(my_ocr_lib.obj) : error LNK2005: "void __cdecl std::_Deallocate(void *,unsigned __int64,unsigned __int64)" (?_Deallocate@std@@YAXPEAX_K1@Z) already defined in php_my_ocr.obj
1>   Creating library C:/cpp/my_ocr/build/Debug/php_my_ocr.lib and object C:/cpp/my_ocr/build/Debug/php_my_ocr.exp
1>C:\cpp\my_ocr\build\Debug\php_my_ocr.dll : fatal error LNK1169: one or more multiply defined symbols found /MDd flag

Any suggestions?