This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| compiling_visual_studio_deps [2016/05/06 01:32 (10 years ago)] – Added liquid fun steps, removed box2d sausage | compiling_visual_studio_deps [2025/09/30 17:26 (5 weeks ago)] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| _This page is not for general use_, it is low traffic, and prone to frequent changes and errors. If you are looking for compiled orx dependancies, | _This page is not for general use_, it is low traffic, and prone to frequent changes and errors. If you are looking for compiled orx dependancies, | ||
| - | Clone https://bitbucket.org/ | + | Clone https://github.com/ |
| ===== Build libwebp ===== | ===== Build libwebp ===== | ||
| - | - Swtich | + | - Switch |
| - | - In a VS2015 | + | - In a Visual Studio |
| - Ignore errors, locate the lib at: libwebp\output\release-static\x86\lib\webpdecoder.lib | - Ignore errors, locate the lib at: libwebp\output\release-static\x86\lib\webpdecoder.lib | ||
| - Switch to 64 bit compiler mode with: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat | - Switch to 64 bit compiler mode with: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat | ||
| Line 17: | Line 17: | ||
| - | ===== Build OpenAL-Soft | + | ===== Build freetype |
| - | - Install CMake 2.6 or better | + | - Install |
| - | - In the build/ | + | - Create |
| - | - Open the OpenAL.sln into Visual Studio. | + | - Open the freetype.sln solution with Visual Studio. |
| - | - You may need to adjust the includes paths to be relative instead of absolute. | + | - Switch to release, right click on the freetype |
| - | - Switch to release, right click on the OpenAL32 | + | - Find the 32 bit version in \Release\freetype.lib |
| - | - Find the 32 bit version in \Release\OpenAL32.lib | + | |
| - For 64bit: Select the dropdown that says win32 | - For 64bit: Select the dropdown that says win32 | ||
| - Click and select Configuration Manager | - Click and select Configuration Manager | ||
| - In the Active Solution Platform dropdown, click <New> | - In the Active Solution Platform dropdown, click <New> | ||
| - Select x64 and copy from win32 (leave all options default) | - Select x64 and copy from win32 (leave all options default) | ||
| - | - In the OpenAL32 | + | - In the freetype |
| - | | + | - In C/ |
| - | | + | - select |
| - | | + | - In Librarian / Command Line |
| - | | + | - remove additional options relating to / |
| - In the common project properties | - In the common project properties | ||
| - | - - In Librarian / Command Line | + | |
| - | | + | - remove additional options relating to / |
| - | - Right click the OpenAL32 | + | - Right click the freetype |
| - | - Find the 64bit version in \openal-soft\x64\Release\OpenAL32.lib | + | - Find the 64bit version in x64\Release\freetype.lib |
| - | + | ||
| - | ===== Build freetype ===== | + | |
| - | Follow pretty much the same as OpenAL-Soft | + | |
| ===== Build Liquidfun ===== | ===== Build Liquidfun ===== | ||
| - Command window. | - Command window. | ||
| - Go to folder to C: | - Go to folder to C: | ||
| - | - cmake -DLIBTYPE=STATIC -G " | + | - cmake -DLIBTYPE=STATIC -G " |
| - | - Open in VS2015 | + | - Open in Visual Studio |
| - Go to Box2D project properties | - Go to Box2D project properties | ||
| - There is only Win32 project. Set Code Gen / Runtime Library to Multi-threaded (/MT) | - There is only Win32 project. Set Code Gen / Runtime Library to Multi-threaded (/MT) | ||
| Line 60: | Line 55: | ||
| - Copy build VC13 to VC14 | - Copy build VC13 to VC14 | ||
| - Create a lib/ | - Create a lib/ | ||
| - | - Open solution is VS2015 | + | - Open solution is Visual Studio |
| - Allow it to convert the project | - Allow it to convert the project | ||
| - Convert the solution by selecting the solution in solution explorer, and save as over the top of the .sln | - Convert the solution by selecting the solution in solution explorer, and save as over the top of the .sln | ||
| Line 67: | Line 62: | ||
| - Compile both Win32 and x64 configurations. | - Compile both Win32 and x64 configurations. | ||
| - | ===== Build libsndfile ===== | ||
| - | - Copy build VC13 to VC14 | ||
| - | - Create a lib/ | ||
| - | - Open solution is VS2015 | ||
| - | - Allow it to convert the project | ||
| - | - Convert the solution by selecting the solution in solution explorer, and save as over the top of the .sln | ||
| - | - In both Win32 and x64 configurations, | ||
| - | - In General / Output Directory - change to your new lib path and add a trailing slash. | ||
| - | - Compile both Win32 and x64 configurations. | ||
| - | - Change #define snprintf | ||
| - | - #if _MSC_VER< | ||
| - | - #define snprintf | ||
| - | - #endif | ||