Skip to content

build: drop the motion_planning and kinematics_userspace include dirs - #4854

Merged
BsAtHome merged 1 commit into
LinuxCNC:masterfrom
grandixximo:drop-kins-includes
Nov 16, 2026
Merged

BsAtHome merged 1 commit into
LinuxCNC:masterfrom
grandixximo:drop-kins-includes

Conversation

@grandixximo

Copy link
Copy Markdown
Contributor

Fixes #4851.

The kinematics limits library added -Iemc/motion_planning and -Iemc/kinematics_userspace (twice) to every compile. None is needed: kinematics_user.h is in include/ and the motion_planning headers are only included from their own directory. The kinematics_userspace Submakefile held only that line, so it goes, and the directory leaves SUBDIRS.

It builds with INCLUDES := . emc; tests/kins-params passes.

Issue LinuxCNC#4851: the kinematics limits library added -Iemc/motion_planning and -Iemc/kinematics_userspace (twice) to every compile. None is needed: kinematics_user.h lives in include/ and the motion_planning headers are only included from their own directory. The kinematics_userspace Submakefile held only that line and goes away.

Fixes LinuxCNC#4851
@BsAtHome
BsAtHome merged commit 84a9595 into LinuxCNC:master Nov 16, 2026
19 checks passed
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

Successfully merging this pull request may close these issues.

Again multiple -I added

2 participants