Skip to content

Instantly share code, notes, and snippets.

@milesfrain
Last active May 21, 2018 00:37
Show Gist options
  • Save milesfrain/079c26ca1dc0cfd99b79f056c99c56c2 to your computer and use it in GitHub Desktop.
Save milesfrain/079c26ca1dc0cfd99b79f056c99c56c2 to your computer and use it in GitHub Desktop.
bolt build issues

I'm trying to build bolt with the following commands:

meson build
ninja -C build

I'm seeing this error:

ninja: Entering directory `build'
.....
cc -Icommon@sta -I. -I.. -I../ -I/usr/include/glib-2.0    .....      -c bolt-enum-types.c
bolt-enum-types.c:5:10: fatal error: bolt-enums.h: No such file or directory
 #include "bolt-enums.h"

bolt-enums.h exists in common/bolt-enums.h, so changing -Icommon@sta to -I../common solves the issue for this particular command. It seems that all build commands are broken by pointing to non-existent directories containing the @ sign in their names.

meson version 0.46.1
ninja version 1.8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment