Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *********** System Info ***********
- Window 7 - 64 bit
- IDE: Microsoft Visual Studio Professional 2013 version 12.0.21005.1
- *********** Required Files ***********
- Boost Version 1.56.0 - www.boost.org (Prerequisite for nnForge)
- - Free, peer-reviewed, portable C++ source libraries.
- OpenCV - opencv.org Version 3.0.0 (Prerequisite for nnForge)
- - Interfaces designed for computational efficiency.
- - Version 3.0.0 in alpha and not stable.
- CUDA Toolkit version 6.5 - https://developer.nvidia.com/cuda-toolkit (For CUDA backend)
- - C/C++ development environment for GPU-accelerated applications.
- nnForge Version 1.1.8 - http://milakov.github.io/nnForge/
- - Library for training convolutional and fully-connected neural networks. CPU/GPU backends..
- *********** OpenCV Installation ***********
- 1. extract to a folder
- 2.a Set the OpenCV enviroment variable and add it to the systems path
- setx -m OPENCV_DIR "path to opencv foder"
- Example: setx -m OPENCV_DIR "C:\opencv\build"
- For using OpenCV library in form of “Dynamic-link libraries” (DLL):
- 2.b Add the bin folders path to the systems path
- Command Prompt:
- setx -m PATH "%PATH%;Path to opencv folder"
- Example: setx -m PATH "%PATH%;%OPENCV_DIR%\x64\vc12\bin"
- 3. Check if we have added the path
- - open new command prompt
- echo %Path%
- -There should be the path to opencv folder at the end
- 4. Open a project in Visual Studio 2013 or create a new one
- - Go to Solution Explorer > select Project and right click > Properties > Configuration > and select All Configurations
- - In left tree menu select Configuration Properties > C/C++ > General > Additional Include Directories > Add $(OPENCV_DIR)\Include in right section
- - In left tree menu select Configuration Properties > C/C++ > Linker > General > Additional Library Directories > Add $(OPENCV_DIR)\x64\vc12\lib in right section
- - In left tree menu select Configuration Properties > C/C++ > Linker > Input > Additional Dependencies > select Edit and add below lib files
- opencv_ts300d.lib
- opencv_world300d.lib
- *********** Boost Installation ***********
- 1. extract to a folder
- 2. Open a project in Visual Studio 2013
- 3. Go to Solution Explorer > select Project and right click > Properties
- 4. Select Configuration Properties > C/C++ > General > Additional Include Directories
- 5. Enter the path to the Boost root directory, for example
- C:\boost_1_56_0
- 6. In Configuration Properties > C/C++ > Precompiled Headers, change Use Precompiled Header (/Yu) to Not Using Precompiled Headers
- *********** CUDA Installation ***********
- 1. Click on "CUDA Tookit* .exe file
- *********** nnForge Installation ***********
- 1. extract to a folder
- 2. Open a project in Visual Studio 2013
- 3. Go to Solution Explorer > select Project and right click > Properties
- 4. Select Configuration Properties > C/C++ > General > Additional Include Directories
- 5. Enter the path to the nnForge root directory, for example
- C:\nnForge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement