Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
melonDS
Commits
7464e42c
Commit
7464e42c
authored
Aug 16, 2020
by
WaluigiWare64
Committed by
U-RAYYAN-PC\Rayyan
Aug 22, 2020
Browse files
Add instructions for static builds
Add instructions for static builds fix
parent
e27d5550
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7464e42c
...
...
@@ -55,6 +55,8 @@ make -j$(nproc --all)
1.
Install
[
MSYS2
](
https://www.msys2.org/
)
2.
Open the
**MSYS2 MinGW 64-bit**
terminal
3.
Update the packages using
`pacman -Syu`
and reopen the terminal if it asks you to
#### Dynamic builds (with DLLs)
4.
Install dependencies:
`pacman -S git make mingw-w64-x86_64-{cmake,mesa,SDL2,toolchain,qt5,libslirp}`
5.
Run the following commands
```
bash
...
...
@@ -66,9 +68,22 @@ make -j$(nproc --all)
make
-j
$(
nproc
--all
)
../msys-dist.sh
```
If everything went well, melonDS and the libraries it needs should now be in the
`dist`
folder.
#### Static builds (without DLLs, standalone executable)
4.
Install dependencies:
`pacman -S git make mingw-w64-x86_64-{cmake,mesa,SDL2,toolchain,qt5-static,libslirp}`
5.
Run the following commands
```
bash
git clone https://github.com/Arisotura/melonDS.git
cd
melonDS
mkdir
build
cd
build
cmake ..
-G
'MSYS Makefiles'
-DBUILD_STATIC
=
ON
-DQT5_STATIC_DIR
=
/mingw64/qt5-static
make
-j
$(
nproc
--all
)
mkdir
dist
&&
cp
melonDS.exe dist
```
If everything went well, melonDS should now be in the
`dist`
folder.
## TODO LIST
*
DSi emulation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment