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

Missing header files when running make install #85

Open
memtech3 opened this issue Dec 27, 2024 · 0 comments
Open

Missing header files when running make install #85

memtech3 opened this issue Dec 27, 2024 · 0 comments

Comments

@memtech3
Copy link

memtech3 commented Dec 27, 2024

when running make install in the devcontainer from PR #71 (on a windows subsystem for linux 2 host) with the libheadunit submodule updated to the latest commit (PR #84) I get the following error:

In file included from ../../../modules/android-auto/androidauto.h:9,
                 from ../../../modules/android-auto/androidauto.cpp:1:
../../../modules/android-auto/headunit.h:22:10: fatal error: glib_utils.h: No such file or directory
   22 | #include "glib_utils.h"

when running make install in a Debian VM with the libheadunit submodule updated to the latest commit (PR #84) I get the following error:

In file included from ../../../modules/audio-processor/audioprocessorplugin.h:10,
		 from ../../../modules/audio-processor/audioprocessorplugin.cpp:1:
../../../modules/audio-processor/backends/TDA7418/TDA7418.h:8:10: fatal error: i2c/smbus.h: No such file or directory
   8 | #include <i2c/smbus.h>

This is the chain of commands I ran in both the devcontainer and on the Debain VM

protoc --proto_path=modules/android-auto/headunit/hu/ --cpp_out=modules/android-auto/headunit/hu/generated.x64/ modules/android-auto/headunit/hu/hu.proto modules/android-auto/headunit/hu/bt.proto
mkdir build && cd build
qmake PREFIX=~/hud ../headunit-desktop.pro
make -j5
make install

When I skip the make install step I am able to run headunit-desktop from the build directory

Any ideas what might be causing this? Am I missing dependencies somehow?

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