Advertisement
Guest User

installation

a guest
Sep 16th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. *********** System Info ***********
  2. Window 7 - 64 bit
  3. IDE: Microsoft Visual Studio Professional 2013 version 12.0.21005.1
  4.  
  5.  
  6. *********** Required Files ***********
  7.  
  8. Boost Version 1.56.0 - www.boost.org (Prerequisite for nnForge)
  9. - Free, peer-reviewed, portable C++ source libraries.
  10.  
  11. OpenCV - opencv.org Version 3.0.0 (Prerequisite for nnForge)
  12. - Interfaces designed for computational efficiency.
  13. - Version 3.0.0 in alpha and not stable.
  14.  
  15. CUDA Toolkit version 6.5 - https://developer.nvidia.com/cuda-toolkit (For CUDA backend)
  16. - C/C++ development environment for GPU-accelerated applications.
  17.  
  18. nnForge Version 1.1.8 - http://milakov.github.io/nnForge/
  19. - Library for training convolutional and fully-connected neural networks. CPU/GPU backends..
  20.  
  21.  
  22. *********** OpenCV Installation ***********
  23.  
  24. 1. extract to a folder
  25.  
  26. 2.a Set the OpenCV enviroment variable and add it to the systems path
  27. setx -m OPENCV_DIR "path to opencv foder"
  28.  
  29. Example: setx -m OPENCV_DIR "C:\opencv\build"
  30.  
  31. For using OpenCV library in form of “Dynamic-link libraries” (DLL):
  32. 2.b Add the bin folders path to the systems path
  33. Command Prompt:
  34. setx -m PATH "%PATH%;Path to opencv folder"
  35.  
  36. Example: setx -m PATH "%PATH%;%OPENCV_DIR%\x64\vc12\bin"
  37.  
  38. 3. Check if we have added the path
  39. - open new command prompt
  40. echo %Path%
  41. -There should be the path to opencv folder at the end
  42.  
  43. 4. Open a project in Visual Studio 2013 or create a new one
  44.  
  45. - Go to Solution Explorer > select Project and right click > Properties > Configuration > and select All Configurations
  46.  
  47. - In left tree menu select Configuration Properties > C/C++ > General > Additional Include Directories > Add $(OPENCV_DIR)\Include in right section
  48.  
  49. - In left tree menu select Configuration Properties > C/C++ > Linker > General > Additional Library Directories > Add $(OPENCV_DIR)\x64\vc12\lib in right section
  50.  
  51. - In left tree menu select Configuration Properties > C/C++ > Linker > Input > Additional Dependencies > select Edit and add below lib files
  52.  
  53. opencv_ts300d.lib
  54. opencv_world300d.lib
  55.  
  56.  
  57. *********** Boost Installation ***********
  58. 1. extract to a folder
  59. 2. Open a project in Visual Studio 2013
  60. 3. Go to Solution Explorer > select Project and right click > Properties
  61. 4. Select Configuration Properties > C/C++ > General > Additional Include Directories
  62. 5. Enter the path to the Boost root directory, for example
  63. C:\boost_1_56_0
  64. 6. In Configuration Properties > C/C++ > Precompiled Headers, change Use Precompiled Header (/Yu) to Not Using Precompiled Headers
  65.  
  66.  
  67. *********** CUDA Installation ***********
  68. 1. Click on "CUDA Tookit* .exe file
  69.  
  70.  
  71. *********** nnForge Installation ***********
  72. 1. extract to a folder
  73. 2. Open a project in Visual Studio 2013
  74. 3. Go to Solution Explorer > select Project and right click > Properties
  75. 4. Select Configuration Properties > C/C++ > General > Additional Include Directories
  76. 5. Enter the path to the nnForge root directory, for example
  77. C:\nnForge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement