Skip to content

Missing header files when running make install #85

@memtech3

Description

@memtech3

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions