Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rnote-windows-build.md #1325

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion misc/building/rnote-windows-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,18 @@ in Windows is enabled. It doesn't say it, but it enables permissions for users t
Finally, clone the repository somewhere and initialize the submodules.

```bash
git clone https://github.com/flxzt/rnote
git clone -c core.symlinks=true https://github.com/flxzt/rnote
git submodule update --init --recursive
```

Or (from the mingw64 terminal)
```bash
MSYS=winsymlinks:native git clone https://github.com/flxzt/rnote.git
git submodule update --init --recursive
```
Verify that you see in `/crates/rnote-ui/po` the four files zh_CN.po, zh_HK.po, zh_SG.po and zh_TW.po as symlinks (and not as a text file with a single line inside).


For unknown reasons, `libpthread.a` **and** `libpthread.dll.a` exist in `/mingw64/lib/` and rustc apparently wants to
link with both, resulting in "multiple definitions of pthread\_..." linker errors.
To solve this (in a very hacky way), rename `libpthread.dll.a` to `libpthread.dll.a.bak`.
Expand Down