Build OpenCv_World24135.DLL
I used to compile from vc12 or msvstudio12 2013,, i like using vc12 because it only needs the basic files, like msvcp120.dll and msvcr120.dll in which in could be run or open from windows XP.
so, that's the reason why I used vc12 only.
I compiled win32 or x86 with opencv 3.4.0 in vc12 and it has a good result. BUT I did not include opencv_DNN because it also cause an error, it can't build opencv_world340.
NOW, I can't compile opencv2.4.13.5 with opencv_world, because I know with opencv_world will have only 1 DLL file, so it's neat.
I can't compile because of this following reason, and btw I came from cmake website but I don't find forum to help me with this:
Configuring done
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "zlib" that is not in the export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "zlib" that is not in the export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "libjpeg" that is not in the export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "libpng" that is not in the export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "libtiff" that is not in the export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "libjasper" that is not in the export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_world" which requires target "IlmImf" that is not in the export set.
Can someone expert here, make changes or edit the cmake file to I could get the opencv_world from opencv2.4.13.5?
I think this is the cmake file that errors, OpenCVGenPkgconfig.cmake from opencv2.4.13.5 cmake folder.
Do you have any idea that I can make this compilation possible?
To me it seems your trying to do a static build, which also needs zlib, libjpeg and so on... but those are specific libraries for Linux and not Windows .... you will need to explicitly disable them using CMAKE-GUI for example!
try -DBUID_ZLIB:BOOL=OFF -DBUID_JPEG:BOOL=OFF -DBUILD_PNG:BOOL=OFF -DWITH_JPEG:BOOL=OFF -DWITH_PNG:BOOL=OFF
hi, I manually copied the obj files to 3rd party lib released folder and it's ok, but new issue come-in, like this lines:
1>surf_ocl.obj : error LNK2011: precompiled object not linked in; image may not run 1>selfsimilarity.obj : error LNK2011: precompiled object not linked in; image may not run 1>util.obj : error LNK2011: precompiled object not linked in; image may not run 1>input_array_utility.obj : error LNK2011: precompiled object not linked in; image may not run 1>stabilizer.obj : error LNK2011: precompiled object not linked in; image may not run 1>C:\bin\bin\Release\opencv_world2413.dll : fatal error LNK1120: 20 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Now, I'm stack building opencv_world24135.dll
I also thought about this: https://msdn.microsoft.com/en-us/libr...
May I know what are the command lines to link those files? maybe: link /dll:opencv_world2413.dll util.obj stabilizer.obj selfsimilarity.obj
is that it?
To me it seems you are randomly linking libs you did not compile yourself?
no, no, I compiled it my self, it's very simple but needs time when done because of my dual core cpu only. I can compile any version of opencv, to make opencv_world, but I can't make opencv_world with opencv version 2.4.13.5 or below, that's my goal to make opencv_world24135.dll BUT problems on object not linked.
The "requires target" like zlib are already fixed, the version control is already fixed, the last problem is the object not linked.
Please help 1 Lib for OpenCv 24135