OSDN Git Service

[VM][FMTOWNS][MEMORY] Fix setup around memory banks by I/O 0404h and 0480h.
[csp-qt/common_source_project-fm7.git] / INSTALL.en.md
1 <H2>** HowTo build/install Qt porting for Common Source Code Project **</H2>
2 <div align="right">
3 <H3>Oct 08, 2020<BR>
4 K.Ohta <whatisthis.sowhat _at_ gmail.com></H3>
5 </div>
6
7 At first
8 ========
9 This article is for build HOWTO of CSP/Qt.
10
11 You need (at standard).
12 ========
13
14 - Compiler Toolcain, i.e) G++ or CLANG++.MSVC or another toolchain still not be checked.
15
16 - CMake (Recommends later 3.9).
17
18 - Below **development** libraries.If you using any GNU/Linux or \*BSD OS,you can install via package manager (apt, dfn, etc). **Note: NOW ,OpenGL (2.1 or above) or OpenGL ES(2 or abobe) needs to display.**
19   - QT5 (QtCore, QtOpenGL , QtNetwork etc). <https://www.qt.io/>
20   - SDL2 <https://libsdl.org/>
21   - libAV <https://ffmpeg.org/>
22   - Zlib <https://zlib.net/>
23     And, some others.
24 - For Windows build, you may need OpenGL ES implementation, [Angle Project](<https://github.com/Microsoft/angle>) to execute.Binaries of this are included at [Chromium Project](<http://www.chromium.org/>) Windows (x86 32bit) build, open source variant of Google Chrome.You need to extract libEGL.dll and libGLESv2.dll .
25
26 ## In addition, for Windows build, useful inside of Docker Container.See,
27 ## Docker repository: <https://hub.docker.com/r/artanejp/mingw-w64-llvm10-ubuntu20.04>
28 ## Dockerfiles are: <https://github.com/Artanejp/llvm-mingw>
29
30 How to Build
31 ============
32
33 If you build from already cloneed from GIT:
34
35 $ `cd ${SRCROOT}/source`
36 $ `mkdir build`
37 $ `cd build/`
38 $ `cmake ..`
39 $ `make`
40
41 but, **I offer shell scripts with standard setting parameters under `${SRCROOT}/source/sample-scripts/`**
42
43 With this sample:
44
45 $ `cd ${SRCROOT}/source`
46 $ `mkdir build`
47 $ `cd build/`
48 $ `cp ../sample-scripts/${SCRIPT_NAME}.sh .`
49
50 then, bootstrap setting with:
51 $ `sh ./${SCRIPT_NAME}.sh`
52
53 Finally,
54 $ `make {Some Options}`
55
56 How to Install
57 ==============
58
59 Normally, `make install`.
60 For Windows build, this still ToDo.
61
62                                       Last Update: Dec 16, 2020 00:07:53
63
64