Skip to content

Commit cb6f6d9

Browse files
committed
Removed dependencies from the git checkout and instead provided instructions for getting them.
- Replaced the CMake configuration with a Visual Studio solution.
1 parent a62adba commit cb6f6d9

43 files changed

Lines changed: 683 additions & 17330 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 0 additions & 106 deletions
This file was deleted.

DEPENDENCIES.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Dependencies for SimpleGraphics
2+
3+
There are several 3rd party (open source) dependencies for building the SimpleGraphics.dll library used by Path of Building. To build the library yourself, you will need to acquire these libraries.
4+
5+
## List of Libraries
6+
7+
The following 3rd party libraries are required to build SimpleGraphics.dll. Usually, the latest version will work, but the most recent version used by the PathOfBuildingCommunity team are as follows:
8+
* LuaJIT 2.0.5-3
9+
* zlib 1.2.11-6
10+
* libjpeg-turbo 2.0.4
11+
* libpng 1.6.37-9
12+
* giflib 5.1.4-6
13+
* tiff 4.0.10-9
14+
* liblzma 5.2.4-5
15+
16+
## Using vcpgk to install dependencies on Windows for building with Visual Studio
17+
18+
vcpgk is an open-source tool by Microsoft which can easily download and build all of the required dependencies. This is the recommended method for retrieving the dependencies when building for Visual Studio.
19+
20+
1) Clone the vcpgk git repository somewhere on your drive: https://github.com/microsoft/vcpkg.git
21+
2) Open a console window and change directory to the new vcpkg checkout
22+
* `cd C:\vcpkg`
23+
3) Type the following commands:
24+
1) `bootstrap-vcpkg.bat`
25+
2) `vcpkg install giflib:x86-windows-static libjpeg-turbo:x86-windows-static liblzma:x86-windows-static libpng:x86-windows-static luajit:x86-windows-static tiff:x86-windows-static zlib:x86-windows-static`
26+
4) Copy all folders in the `packages` folder into the `dependencies` folder within the SimpleGraphics checkout.
27+
5) The SimpleGraphics solution and vcproj are already configured to look in this location for the dependencies, so it should now build as-is.

0 commit comments

Comments
 (0)