yarp_add_idl adds an extra thrift
in the include folder
#2044
Labels
Component: IDL
Component: Tool - yarpidl_thrift
Fixed in: YARP v3.2.0
Issue Type: Bug
Involves some intervention from a system administrator
Resolution: Fixed
Describe the bug
I have a project to be built using
CMake
that usesyarp_add_idl
to generate thriftcpp
andh
files.Specifically, if
$ROOT
is the root of the sources, I have the thrift file in$ROOT/thrift/<name>.thrift
containing some service of the formservice <Name>
.Inside the
CMakeLists.txt
, I have some lines likeWithin my sources file, I am including the thrift header using
#include <thrift/<Name>.h>
Starting from this commit, I cannot compile the project for the following reasons:
<Name>.h
, within the build folder, is placed inbuild/src/<project-name>/include/thrift/thrift/
instead ofbuild/src/<project-name>/include/thrift/
as happening in the past<Name>.cpp
, that can be found inbuild/src/<project-name>/src
, tries to includethrift/<Name>.h
and this fails due to (1)thrift/<Name>.h
and this fails due to (1)Configuration:
3.1.101
(this commit)gcc 5.5.0
The text was updated successfully, but these errors were encountered: