Commit 625ba11b2209a092201b40995c635afdbe6e6d2f
1 parent
b1e813dc
reverted windows build instructions
Showing
1 changed file
with
13 additions
and
2 deletions
openbr/openbr_export.cpp
| @@ -101,8 +101,19 @@ $ br -help | @@ -101,8 +101,19 @@ $ br -help | ||
| 101 | * $ nmake install | 101 | * $ nmake install |
| 102 | * $ nmake clean | 102 | * $ nmake clean |
| 103 | * \endcode | 103 | * \endcode |
| 104 | - * -# <a href="http://releases.qt-project.org/digia/5.0.1/backups/2013-01-18-412/qt-windows-opensource-5.0.1-msvc2012_64-x86_64-offline-2013-01-18-412.exe">Download Qt 5.0.1</a> and install. | 104 | +* -# <a href="http://releases.qt-project.org/qt5/5.0.1/single/qt-everywhere-opensource-src-5.0.1.zip">Download Qt 5.0.1</a> and unzip. |
| 105 | + * -# Install Perl/Python/Ruby dependencies as explained in the "Windows" section of "README". Make sure they are added to "path" when given the option during installation. | ||
| 105 | * -# <a href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812">Download Direct X Software Developement Kit</a> and install. | 106 | * -# <a href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812">Download Direct X Software Developement Kit</a> and install. |
| 107 | + * -# From the VS2012 x64 Cross Tools Command Prompt: | ||
| 108 | + * \code | ||
| 109 | + * $ cd qt-everywhere-opensource-src-5.0.1 | ||
| 110 | + * $ configure -prefix C:\Qt\5.0.1\msvc2012 -opensource -confirm-license -nomake examples -nomake tests | ||
| 111 | + * $ nmake | ||
| 112 | + * $ nmake install | ||
| 113 | + * $ cd .. | ||
| 114 | + * $ rmdir /Q /S qt-everywhere-opensource-src-5.0.1 | ||
| 115 | + * \endcode | ||
| 116 | + * -# nmake will take several hours to finish. | ||
| 106 | * -# Create a <a href="github.com">GitHub</a> account and follow their instructions for <a href="https://help.github.com/articles/set-up-git">setting up Git</a>. | 117 | * -# Create a <a href="github.com">GitHub</a> account and follow their instructions for <a href="https://help.github.com/articles/set-up-git">setting up Git</a>. |
| 107 | * -# Launch "Git Bash" from the Desktop and clone OpenBR: | 118 | * -# Launch "Git Bash" from the Desktop and clone OpenBR: |
| 108 | * \code | 119 | * \code |
| @@ -118,7 +129,7 @@ $ br -help | @@ -118,7 +129,7 @@ $ br -help | ||
| 118 | * $ cd C:\openbr | 129 | * $ cd C:\openbr |
| 119 | * $ mkdir build-msvc2012 | 130 | * $ mkdir build-msvc2012 |
| 120 | * $ cd build-msvc2012 | 131 | * $ cd build-msvc2012 |
| 121 | - * $ cmake -G "CodeBlocks - NMake Makefiles" -DCMAKE_PREFIX_PATH="C:/OpenCV-2.4.4/build-msvc2012/install;C:/Qt/Qt5.0.1/5.0.1/msvc2012_64" -DCMAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE=Release .. | 132 | + * $ cmake -G "CodeBlocks - NMake Makefiles" -DCMAKE_PREFIX_PATH="C:/OpenCV-2.4.4/build-msvc2012/install;C:/Qt/5.0.1/msvc2012" -DCMAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE=Release .. |
| 122 | * $ nmake | 133 | * $ nmake |
| 123 | * $ nmake install | 134 | * $ nmake install |
| 124 | * \endcode | 135 | * \endcode |