|
1 | 1 | Windows |
2 | 2 |
|
3 | | -To compile in Windows, you need Visual Studio 2017, since this project |
4 | | -uses C++ features that are present only in VS2017. |
| 3 | +To compile in Windows, you can use CMake or the Visual Studio 2019 project. |
5 | 4 |
|
6 | | -The provided project expects the following folders in the root of the |
7 | | -project to build properly. |
| 5 | +The easiest way to get the required dependencies is to use vcpkg. |
| 6 | + |
| 7 | +vcpkg install physfs:x86-windows sfml:x86-windows ffmpeg:x86-windows |
| 8 | +vcpkg install physfs:x86-windows-static sfml:x86-windows-static ffmpeg:x86-windows-static |
8 | 9 |
|
9 | 10 | /PhysicsFS - https://icculus.org/physfs |
10 | 11 | version >= 2.1 |
11 | | - Compile using MinSizeRel. |
12 | 12 |
|
13 | 13 | /SFML - http://www.sfml-dev.org/ |
14 | 14 | SFML 2.5.0 |
15 | 15 |
|
16 | 16 | /FFmpeg - http://ffmpeg.zeranoe.com/builds/ |
17 | 17 | Get both 32 bit shared and dev packages (version 2.x or 3.x) |
18 | 18 |
|
19 | | -DGEngine now bundles a modified version of sfeMovie (no subtitle support, |
20 | | -FFmpeg 3.x API suport), so you only need FFmpeg >= 2.8 now. |
21 | | - |
22 | 19 | If you want to skip movie playback support, use the preprocessor define |
23 | 20 | USE_SFML_MOVIE_STUB which uses a stub class that does nothing instead. |
24 | | -The provided project uses sfeMovie and will fail to compile if you don't have |
25 | | -sfeMovie with OpenFromStream support installed. Use this to fix that. |
26 | | - |
27 | | -To prevent missing DLL errors when running from Visual Studio, |
28 | | -place the following in the root of the project: |
29 | | - |
30 | | -avcodec-56.dll (FFmpeg 2) |
31 | | -avdevice-56.dll (FFmpeg 2) |
32 | | -avfilter-5.dll (FFmpeg 2) |
33 | | -avformat-56.dll (FFmpeg 2) |
34 | | -avutil-54.dll (FFmpeg 2) |
35 | | -openal32.dll (SFML) |
36 | | -physfs.dll (PhysicsFS) |
37 | | -sfml-audio-2.dll (SFML) |
38 | | -sfml-audio-d-2.dll (SFML) |
39 | | -sfml-graphics-2.dll (SFML) |
40 | | -sfml-graphics-d-2.dll (SFML) |
41 | | -sfml-network-2.dll (SFML) |
42 | | -sfml-network-d-2.dll (SFML) |
43 | | -sfml-system-2.dll (SFML) |
44 | | -sfml-system-d-2.dll (SFML) |
45 | | -sfml-window-2.dll (SFML) |
46 | | -sfml-window-d-2.dll (SFML) |
47 | | -swresample-1.dll (FFmpeg 2) |
48 | | -swscale-3.dll (FFmpeg 2) |
49 | 21 |
|
50 | 22 | Linux |
51 | 23 |
|
|
0 commit comments