opencv_lib.h
#pragma once
#ifdef _DEBUG
#pragma comment(lib, "opencv_calib3d2413d")
#pragma comment(lib, "opencv_contrib2413d")
#pragma comment(lib, "opencv_core2413d")
#pragma comment(lib, "opencv_features2d2413d")
#pragma comment(lib, "opencv_flann2413d")
#pragma comment(lib, "opencv_gpu2413d")
#pragma comment(lib, "opencv_highgui2413d")
#pragma comment(lib, "opencv_imgproc2413d")
#pragma comment(lib, "opencv_legacy2413d")
#pragma comment(lib, "opencv_ml2413d")
#pragma comment(lib, "opencv_nonfree2413d")
#pragma comment(lib, "opencv_objdetect2413d")
#pragma comment(lib, "opencv_ocl2413d")
#pragma comment(lib, "opencv_photo2413d")
#pragma comment(lib, "opencv_stitching2413d")
#pragma comment(lib, "opencv_superres2413d")
#pragma comment(lib, "opencv_ts2413d")
#pragma comment(lib, "opencv_video2413d")
#pragma comment(lib, "opencv_videostab2413d")
#else
#pragma comment(lib, "opencv_calib3d2413")
#pragma comment(lib, "opencv_contrib2413")
#pragma comment(lib, "opencv_core2413")
#pragma comment(lib, "opencv_features2d2413")
#pragma comment(lib, "opencv_flann2413")
#pragma comment(lib, "opencv_gpu2413")
#pragma comment(lib, "opencv_highgui2413")
#pragma comment(lib, "opencv_imgproc2413")
#pragma comment(lib, "opencv_legacy2413")
#pragma comment(lib, "opencv_ml2413")
#pragma comment(lib, "opencv_nonfree2413")
#pragma comment(lib, "opencv_objdetect2413")
#pragma comment(lib, "opencv_ocl2413")
#pragma comment(lib, "opencv_photo2413")
#pragma comment(lib, "opencv_stitching2413")
#pragma comment(lib, "opencv_superres2413")
#pragma comment(lib, "opencv_ts2413")
#pragma comment(lib, "opencv_video2413")
#pragma comment(lib, "opencv_videostab2413")
#endif
Original: download and install some first-class packages and compilation tools Download opencv Enter the download directory to unzip Compile and install Related configuration Verify that the configura...
win7+opencv-2.4.13 installation tutorial This article will introduce how to install opencv-2.4.13 on win7. One: The installation process 1. Download the OpenCV installation package, take opencv-2.4.13...
Open VS2010, create a new project, select win32 project, click OK, select the option of static library,Precompiled header file is not selected。 If you choose the precompiled header, add #include "...
The static link library, the format is a .lib file, which can be called by other projects, but when called, it is compiled into an .exe file by the calling project. In addition, I tried to write the c...
When we want to analyze the code of the lib library, we must first judge whether it is a static library or an import library. Library type judgment The lib file is actually a compressed file. We can d...
Pay attention to when using static libraries (Libs): 1. Macro definitions cannot be used for static libraries and external parameter passing, because the macro definition has fixed the macro definitio...
This article is reproduced fromhttp://zziking.github.io/windows/2019/01/22/windows_lib_link_to_dll.html Lib static library to dll dynamic library needs to have a linked process, linking its dependent ...
A tool that comes with VS - lib.exe. Open the directory "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin" and you will see this tool (the specific location exists according to the vs in...
Static link library and dynamic link library Create static link library Lib Use static libraries 1. Method 1 2. Method 2 Create a dynamic link library Dll Use dynamic link library Dll 1. Method 1 2. M...
Static Library (LIB) and Dynamic Library (DLL) understanding and use Foreword First, the understanding of the function overload Second, the understanding of extern "c" Third, the call of sta...