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

Example tinywl : missing headers ? #26

Closed
lidgnulinux opened this issue Jan 6, 2024 · 8 comments · Fixed by #27
Closed

Example tinywl : missing headers ? #26

lidgnulinux opened this issue Jan 6, 2024 · 8 comments · Fixed by #27

Comments

@lidgnulinux
Copy link

Hello, when I built the example tinywl, it's failed. It seems that there are missing headers.

#include <types/fx/shadow_data.h>
......
#include "types/wlr_scene.h"

#include "render/fx_renderer/fx_renderer.h"

Is it intentional ? Thanks.

@ErikReider
Copy link
Member

At the moment, you'll probably have to use scenefx as a subproject

@ahmadraniri
Copy link

Facing the same issue here, @ErikReider subproject of what actually ? The tinywl ?

@ErikReider
Copy link
Member

What are you trying to build? The tinywl in the repo or a separated tinywl in a different repo?

@ErikReider
Copy link
Member

Oh now I know what you mean, mb. Fixing....

@ErikReider ErikReider mentioned this issue Jan 6, 2024
6 tasks
@lidgnulinux
Copy link
Author

Hello, Quick trial on your PR and I'm still facing the missing headers complain.

/home/lidg/.local/include/scenefx/fx_renderer/fx_renderer.h:15:10: fatal error: render/pass.h: No such file or directory
   15 | #include "render/pass.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:16: tinywl] Error

@ErikReider
Copy link
Member

Hello, Quick trial on your PR and I'm still facing the missing headers complain.

/home/lidg/.local/include/scenefx/fx_renderer/fx_renderer.h:15:10: fatal error: render/pass.h: No such file or directory
   15 | #include "render/pass.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:16: tinywl] Error

You should compile everything with meson, not the makefile

@lidgnulinux
Copy link
Author

You should compile everything with meson, not the makefile

I talked about the example tinywl and not the scenefx, using meson give me this :

Version: 1.3.0
Source dir: /home/lidg/cmp/scenefx/tinywl
Build dir: /home/lidg/cmp/scenefx/tinywl/build
Build type: native build

ERROR: Not the project root: first statement must be a call to project()

Did you mean to run meson from the directory: "/home/lidg/cmp/scenefx"?

A full log can be found at /home/lidg/cmp/scenefx/tinywl/build/meson-logs/meson-log.txt

@ErikReider
Copy link
Member

You should compile everything with meson, not the makefile

I talked about the example tinywl and not the scenefx, using meson give me this :

Version: 1.3.0
Source dir: /home/lidg/cmp/scenefx/tinywl
Build dir: /home/lidg/cmp/scenefx/tinywl/build
Build type: native build

ERROR: Not the project root: first statement must be a call to project()

Did you mean to run meson from the directory: "/home/lidg/cmp/scenefx"?

A full log can be found at /home/lidg/cmp/scenefx/tinywl/build/meson-logs/meson-log.txt

Run the meson command in the parent directory to build scenefx. Tinywl will be built at the same time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants