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

compile failure as subproject due to duplicated include and non-terminated str #313

Open
99degree opened this issue Jan 27, 2025 · 3 comments

Comments

@99degree
Copy link

there is no guarding of 3 header files that had double included in some situation.

changes are made to add #ifndef to some header files
99degree@cf46eeb

also there is a hack to workaround a compile problem
99degree@32e84b2

@haasn
Copy link
Owner

haasn commented Jan 27, 2025

That's what #pragma once is for. As for the second change, pl_cache is exactly 8 characters. Both of these sound like compiler issues.

@99degree
Copy link
Author

idk what exactly haappened so i put my test-bed fyi.

compiler:
https://github.com/chase535/aarch64-linux-musl-gcc/tree/main

project:
https://github.com/99degree/libcamera

@99degree
Copy link
Author

i compiled libcamera by below procedure under wsl2

https://www.marcusfolkesson.se/blog/compile-libcamera-for-rpi/

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

No branches or pull requests

2 participants