Mention build.sh doesn't work when the eventstruct fix is applied

Patrick Ziegler 2018-07-21 23:01:03 +02:00
parent c53ec6ecb3
commit 487faa004d
1 changed files with 1 additions and 1 deletions

@ -44,7 +44,7 @@ Traceback (most recent call last):
out = __main__.output['eventstruct']
KeyError: 'eventstruct'
```
**Fix:** You have to manually update the `xpp` submodule. To do that, go into the `lib/xpp` folder and execute `git checkout master` and `rm include/xpp/proto/*`, the second command deletes the already generated, but faulty, headers. After that you can go back into the `build` folder and run `make` again.
**Fix:** You have to manually update the `xpp` submodule. To do that, go into the `lib/xpp` folder and execute `git checkout master` and `rm include/xpp/proto/*`, the second command deletes the already generated, but faulty, headers. After that you can go back into the `build` folder and run `make` again. **Note:** With this fix, you cannot use the `build.sh` script to build polybar.
## Version Mismatch between `xcb-proto` and `libxcb-randr0-dev` on Ubuntu 17.04
**Problem:** On Ubuntu 17.04 (and possibly others), the `xcb-proto` version does not match the version of the `libxcb-*` packages, especially `libxcb-randr0-dev`. This creates problems with the header files. If you get the following or a similar compiler error, this fix may be for you: