Skip to content

mbed-cli include issue #7560

@AGlass0fMilk

Description

@AGlass0fMilk

Description

Hi, I just upgraded to the most recent commit to master. When attempting to build, I am now getting errors saying #includes cannot be found.

I have custom build tools that work on top of mbed-cli. The way I accomplish my builds is by using the --source flag to specify additional include directories and libraries common to all my applications.

A command will look like this for example:

['mbed', 'compile', '--build=BUILD/debug', '--source=./', u'--source=/mbed-os', u'--source=/mbed-dsp', u'--source=/hud-core', '--source=../include', '--source=../common', u'--profile=/mbed-os/tools/profiles/debug.json']

This used to work fine (all the --source directories would be included in the build. But now the compiler isn't finding header files that reside in these directories...

Has anything changed recently with the build tool that would affect this?

Issue request type

[ ] Question
[ ] Enhancement
[ X ] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions