VS2015 + opencv3.4.2 environment configuration

Foreword

     This environment is configured opencv3.4.2 about VS2015, but also including some problems that may be encountered and solutions. If you do not have a place to write, I hope you have educated us, thank you!

1. Open the Solution Explorer.

 2. Open the properties

3. Configure VC ++ directory

4. Add the relative path come

5. The opencv \ build \ include; opencv \ build \ include \ opencv; opencv \ build \ include opencv2 three path \ added to the directory containing the

The result is this

 6. Configure the same manner as the library catalog

 7. Configuring Linker

9. additional configuration dependencies

10. The opencv_world342.lib opencv_world342d.lib and add in, with the debug under d, d, is without the release

Above is configured successfully, if during the compilation error that can not find or can not find opencv_world342.dll opencv_world342d.dll, then find these two files and copy and paste it into System32 and SysWoW64, in fact, the two are different, but both pasted what no question.

 

Guess you like

Origin blog.csdn.net/qq_36417014/article/details/88539793