cairo.h is not found in ZynAddSubFX
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
### System Information
Arch Linux (x86_64), Niri 26.04 - 11th Gen Intel(R) Core(TM) i3-1115G4, 12 GB RAM
### LMMS Version(s)
4e677cb6c
### Most Recent Working Version
_No response_
### Bug Summary
Does not compile because of missing headers.
Yes, I have cairo. `$ ls /usr/include/cairo/` returns
```
cairo-deprecated.h
cairo-features.h
cairo-ft.h
cairo-gobject.h
cairo.h
...
```
*[Assumption]
Might be possible to fix by just adding the right flags (I don't see cairo on CMakeLists.txt for ZynAddSubFX?????????)
### Expected Behaviour
To compile with no issues
### Steps To Reproduce
git clone https://github.com/lmms/lmms.git
cd lmms
cmake -S . -B build
cd build
make
### Logs
*COMPILE LOGS
Click to expand
In file included from /usr/include/FL/Fl.H:30,
from /home/aidan/lmms/build/plugins/ZynAddSubFx/zynaddsubfx/src/UI/ADnoteUI.h:5,
from /home/aidan/lmms/build/plugins/ZynAddSubFx/zynaddsubfx/src/UI/ADnoteUI.cxx:3:
/usr/include/FL/Fl_Cairo.H:40:11: fatal error: cairo.h: No such file or directory
40 | # include <cairo.h>
| ^~~~~~~~~
### Screenshots / Minimum Reproducible Project
### Please search the issue tracker for existing bug reports before submitting your own.
- [x] I have searched all existing issues and confirmed that this is not a duplicate.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ZynAddSubFX build configuration and the reported include path plugins/ZynAddSubFx/zynaddsubfx/src/UI/ADnoteUI.cxx, where Fl_Cairo.H includes cairo.h. Reproduce the failure with the listed cmake and make commands, then verify that the project builds successfully with the Cairo headers found under /usr/include/cairo/.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100