let headers be headers

This commit is contained in:
Thijs Wenker 2017-05-30 21:01:42 +02:00 committed by GitHub
parent 1339516177
commit 1ea3b2b7f4

View file

@ -1,32 +1,32 @@
This is a stand-alone guide for creating your first High Fidelity build for Windows 64-bit. This is a stand-alone guide for creating your first High Fidelity build for Windows 64-bit.
###Step 1. Installing Visual Studio 2013 ### Step 1. Installing Visual Studio 2013
If you don't already have the Community or Professional edition of Visual Studio 2013, download and install [Visual Studio Community 2013](https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs). You do not need to install any of the optional components when going through the installer. If you don't already have the Community or Professional edition of Visual Studio 2013, download and install [Visual Studio Community 2013](https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs). You do not need to install any of the optional components when going through the installer.
Note: Newer versions of Visual Studio are not yet compatible. Note: Newer versions of Visual Studio are not yet compatible.
###Step 2. Installing CMake ### Step 2. Installing CMake
Download and install the [CMake 3.8.0 win64-x64 Installer](https://cmake.org/files/v3.8/cmake-3.8.0-win64-x64.msi). Make sure "Add CMake to system PATH for all users" is checked when going through the installer. Download and install the [CMake 3.8.0 win64-x64 Installer](https://cmake.org/files/v3.8/cmake-3.8.0-win64-x64.msi). Make sure "Add CMake to system PATH for all users" is checked when going through the installer.
###Step 3. Installing Qt ### Step 3. Installing Qt
Download and install the [Qt 5.6.2 for Windows 64-bit (VS 2013)](http://download.qt.io/official_releases/qt/5.6/5.6.2/qt-opensource-windows-x86-msvc2013_64-5.6.2.exe). Download and install the [Qt 5.6.2 for Windows 64-bit (VS 2013)](http://download.qt.io/official_releases/qt/5.6/5.6.2/qt-opensource-windows-x86-msvc2013_64-5.6.2.exe).
Keep the default components checked when going through the installer. Keep the default components checked when going through the installer.
###Step 4. Setting Qt Environment Variable ### Step 4. Setting Qt Environment Variable
Go to "Control Panel > System > Advanced System Settings > Environment Variables > New..." (or search “Environment Variables” in Start Search). Go to "Control Panel > System > Advanced System Settings > Environment Variables > New..." (or search “Environment Variables” in Start Search).
* Set "Variable name": QT_CMAKE_PREFIX_PATH * Set "Variable name": QT_CMAKE_PREFIX_PATH
* Set "Variable value": `%QT_DIR%\5.6\msvc2013_64\lib\cmake` * Set "Variable value": `%QT_DIR%\5.6\msvc2013_64\lib\cmake`
###Step 5. Installing OpenSSL ### Step 5. Installing OpenSSL
Download and install the [Win64 OpenSSL v1.0.2L Installer](https://slproweb.com/download/Win64OpenSSL-1_0_2L.exe). Download and install the [Win64 OpenSSL v1.0.2L Installer](https://slproweb.com/download/Win64OpenSSL-1_0_2L.exe).
###Step 6. Running CMake to Generate Build Files ### Step 6. Running CMake to Generate Build Files
Run Command Prompt from Start and run the following commands: Run Command Prompt from Start and run the following commands:
cd "%HIFI_DIR%" cd "%HIFI_DIR%"
@ -36,7 +36,7 @@ Run Command Prompt from Start and run the following commands:
Where %HIFI_DIR% is the directory for the highfidelity repository. Where %HIFI_DIR% is the directory for the highfidelity repository.
###Step 7. Making a Build ### Step 7. Making a Build
Open '%HIFI_DIR%\build\hifi.sln' using Visual Studio. Open '%HIFI_DIR%\build\hifi.sln' using Visual Studio.
@ -44,7 +44,7 @@ Change the Solution Configuration (next to the green play button) from "Debug" t
Run Build > Build Solution. Run Build > Build Solution.
###Step 8. Testing Interface ### Step 8. Testing Interface
Create another environment variable (see Step #4) Create another environment variable (see Step #4)
* Set "Variable name": _NO_DEBUG_HEAP * Set "Variable name": _NO_DEBUG_HEAP
@ -56,7 +56,7 @@ Now, you should have a full build of High Fidelity and be able to run the Interf
Note: You can also run Interface by launching it from command line or File Explorer from %HIFI_DIR%\build\interface\Release\interface.exe Note: You can also run Interface by launching it from command line or File Explorer from %HIFI_DIR%\build\interface\Release\interface.exe
###Troubleshooting ### Troubleshooting
For any problems after Step #6, first try this: For any problems after Step #6, first try this:
* Delete your locally cloned copy of the highfidelity repository * Delete your locally cloned copy of the highfidelity repository
@ -64,18 +64,18 @@ For any problems after Step #6, first try this:
* Redownload the [repository](https://github.com/highfidelity/hifi) * Redownload the [repository](https://github.com/highfidelity/hifi)
* Restart directions from Step #6 * Restart directions from Step #6
####CMake gives you the same error message repeatedly after the build fails #### CMake gives you the same error message repeatedly after the build fails
Remove `CMakeCache.txt` found in the '%HIFI_DIR%\build' directory Remove `CMakeCache.txt` found in the '%HIFI_DIR%\build' directory
####nmake cannot be found #### nmake cannot be found
Make sure nmake.exe is located at the following path: Make sure nmake.exe is located at the following path:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
If not, add the directory where nmake is located to the PATH environment variable. If not, add the directory where nmake is located to the PATH environment variable.
####Qt is throwing an error #### Qt is throwing an error
Make sure you have the correct version (5.6.2) installed and 'QT_CMAKE_PREFIX_PATH' environment variable is set correctly. Make sure you have the correct version (5.6.2) installed and 'QT_CMAKE_PREFIX_PATH' environment variable is set correctly.