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

error unknown warning group '-Werror' #145

Open
Crownss opened this issue Jan 12, 2025 · 0 comments
Open

error unknown warning group '-Werror' #145

Crownss opened this issue Jan 12, 2025 · 0 comments

Comments

@Crownss
Copy link

Crownss commented Jan 12, 2025

after build with command from readme

cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_CAMHAL_ADAPTOR=ON \ -DBUILD_CAMHAL_PLUGIN=ON \ -DIPU_VERSIONS="ipu6;ipu6ep;ipu6epmtl" \ -DUSE_PG_LITE_PIPE=ON \ ..

then i try to install and got error

ipu6-camera-hal/src/iutils/ModuleTags.h:24:34: error: unknown warning group '-Werror', ignored [-Werror,-Wunknown-warning-option]
24 | #pragma clang diagnostic ignored "-Werror"
| ^
1 error generated.
make[2]: *** [CMakeFiles/ipu6_static.dir/build.make:79: CMakeFiles/ipu6_static.dir/src/3a/I3AControlFactory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:484: CMakeFiles/ipu6_static.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

with my version of clang

clang version 19.1.6
Target: x86_64-suse-linux
Thread model: posix
InstalledDir: /usr/bin
System configuration file directory: /etc/clang
User configuration file directory: ~/.config/clang
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/14
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/14
Candidate multilib: .;@m64
Selected multilib: .;@m64

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

1 participant