-
Notifications
You must be signed in to change notification settings - Fork 408
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
CMake error of SET(KDL_CFLAGS "${KDL_CFLAGS} -I${EIGEN3_INCLUDE_DIR}") #439
Comments
Thanks for reporting this bug. Can we use single quotes instead of |
I tested, |
MatthijsBurgh
added a commit
that referenced
this issue
May 22, 2023
MatthijsBurgh
added a commit
that referenced
this issue
Sep 6, 2023
jhonasiv
added a commit
to rock-core/rock-package_set
that referenced
this issue
Sep 6, 2023
After orocos/orocos_kinematics_dynamics#439, the orocks_kdl_eigen_v3 patch breaks the control/kdl build. It also doesnt seem to be needed, so this PR just removes it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I found a potential bug of the cmake file https://github.com/orocos/orocos_kinematics_dynamics/blob/master/orocos_kdl/CMakeLists.txt#L57
in cmake,
SET()
will treat white spaces as separator like;
, in my case ,${EIGEN3_INCLUDE_DIR}
isC:/Program Files/Eigen3/include/eigen3
which has white space inside.As a result, when
KDL_CFLAGS
is used later atCOMPILE_FLAGS "${CMAKE_CXX_FLAGS_ADD} ${KDL_CFLAGS}"
, the result of generated VS project file is like:You can see the path is divided into 2 elements.
As a workaround, I changed the code to
and it's fixed.
The text was updated successfully, but these errors were encountered: