-
Notifications
You must be signed in to change notification settings - Fork 128
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
[eloquent] find_package(PCL) interferes with message generation #402
Comments
It would be good to determine which exact part of PCL is responsible for the interference and how it affects the message generation. With that knowledge we might be able to "harden" the message generation CMake logic to avoid the conflict. |
Agreed. I spent some time trying to determine what is happening, but nothing concrete came out of it (other than something changed to resolve the issue between 1.8.1 and PointCloudLibrary/pcl@b2212ef). I'll do a bisect later. |
Note - I'm seeing this now trying to port navigation stuff to ROS2. Between the summer and now any additional insight to share? |
@SteveMacenski I haven't had a chance to investigate further. Please let us know if you discover some clues. |
OK Narrowed down some, can't tell you root cause but here's some more context. PCL when finding everything fails, but if you find components like Working components:
Not working:
Cool, we have a full analysis of what's broken, but how many of these depend on each other? Alot. So, what's the minimum set of components each of these have in common? That doesn't tell us that other modules aren't broken, but it means that these ones are definitely broken. The higher level ones may be as well, but that's unknowable from just poking the system. These minimum sets only depend on other modules that they themselves work so they must be problematic. Minimum set:
So what's interesting about these 2 modules? Well, these are the only 2 that link against VTK. The only other module that even mentions VTK is the tools module that is working but is only looking for headers, not linking. So, that tells me this is probably a VTK issue, not a PCL issue. I felt I should give the full run-down to support that claim. |
I'm not able to reproduce this issue with Ubuntu Focal, which ships with PCL 1.9.1. So at least it won't affect Foxy. FYI @nuclearsandwich |
Are we planning to fix this for |
Specifically, the issue described in ros2/rosidl#402 Signed-off-by: Jacob Perron <[email protected]>
It would be great if someone comes up with a patch for Eloquent. I don't have the time atm to look into it. We should certainly add this as a known issue. Here's a PR: ros2/ros2_documentation#540 |
I think that's reasonable to leave it. Its only 3 months before the Eloquent EOL date. If it was a completely-blocking issue for some user, we would have heard about it by now. |
I've updated the title so it's clear it's relevant to Eloquent and labeled this ticket "backlog". I'll leave it open for visibility and close it when Eloquent is EOL or the bug is patched. |
I think the better tag is "wontfix" |
I think we should just close this. @jacobperron what do you think? |
It would be nice to add this to |
Specifically, the issue described in ros2/rosidl#402 Signed-off-by: Jacob Perron <[email protected]>
Bug report
Required Info:
Steps to reproduce issue
Create a simple package with the following CMakeLists.txt and an empty message
msg/Foo.msg
:Try to build the package, e.g.
colcon build
Expected behavior
Builds normally.
Actual behavior
Fails to generate interfaces for Foo.msg:
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.
** WARNING ** io features related to libusb-1.0 will be disabled
-- Could NOT find ensenso (missing: ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR)
** WARNING ** visualization features related to ensenso will be disabled
-- Could NOT find DAVIDSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
** WARNING ** visualization features related to davidSDK will be disabled
-- Could NOT find DSSDK (missing: _DSSDK_LIBRARIES)
** WARNING ** visualization features related to dssdk will be disabled
-- Could NOT find RSSDK (missing: _RSSDK_LIBRARIES)
** WARNING ** visualization features related to rssdk will be disabled
-- looking for PCL_COMMON
-- looking for PCL_OCTREE
-- looking for PCL_IO
-- looking for PCL_KDTREE
-- looking for PCL_SEARCH
-- looking for PCL_SAMPLE_CONSENSUS
-- looking for PCL_FILTERS
-- looking for PCL_2D
-- looking for PCL_GEOMETRY
-- looking for PCL_FEATURES
-- looking for PCL_ML
-- looking for PCL_SEGMENTATION
-- looking for PCL_VISUALIZATION
-- looking for PCL_SURFACE
-- looking for PCL_REGISTRATION
-- looking for PCL_KEYPOINTS
-- looking for PCL_TRACKING
-- looking for PCL_RECOGNITION
-- looking for PCL_STEREO
-- looking for PCL_APPS
-- looking for PCL_IN_HAND_SCANNER
-- looking for PCL_MODELER
-- looking for PCL_POINT_CLOUD_EDITOR
-- looking for PCL_OUTOFCORE
-- looking for PCL_PEOPLE
-- PCL version: 1.8.1
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.8")
-- Using all available rosidl_typesupport_c: rosidl_typesupport_opensplice_c;rosidl_typesupport_introspection_c;rosidl_typesupport_fastrtps_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_opensplice_cpp;rosidl_typesupport_introspection_cpp;rosidl_typesupport_fastrtps_cpp
-- Found rmw_implementation_cmake: 0.7.1 (/home/jacob/ws/latest_ws/install/rmw_implementation_cmake/share/rmw_implementation_cmake/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3.5")
-- Found python_cmake_module: 0.7.6 (/home/jacob/ws/latest_ws/install/python_cmake_module/share/python_cmake_module/cmake)
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using PYTHON_INCLUDE_DIRS: /usr/include/python3.6m
-- Using PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libpython3.6m.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jacob/ws/nasa_pcl_build_ws/build/foo
[ 5%] Built target foo__cpp
[ 5%] Built target foo__dds_opensplice_idl
[ 9%] Built target foo__rosidl_generator_c
[ 15%] Built target foo__rosidl_typesupport_introspection_c
[ 21%] Built target foo__rosidl_typesupport_cpp
[ 27%] Built target foo__rosidl_typesupport_introspection_cpp
[ 43%] Built target foo__rosidl_typesupport_opensplice_cpp
[ 54%] Built target foo__rosidl_typesupport_c
[ 54%] Built target foo__rosidl_typesupport_fastrtps_cpp
[ 60%] Built target foo__rosidl_typesupport_fastrtps_c
[ 78%] Built target foo__rosidl_typesupport_opensplice_c
[ 78%] Built target foo
[ 80%] Built target foo__py
[ 84%] Built target foo__python
[ 88%] Building C object CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c.o
[ 88%] Building C object CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c.o
[ 90%] Building C object CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c.o
[ 92%] Building C object CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c.o
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:13:3: warning: excess elements in struct initializer
-1, /* -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_opensplice_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_opensplice_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_opensplice_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_opensplice_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/build.make:62: recipe for target 'CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c.o' failed
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c.o] Error 1
CMakeFiles/Makefile2:600: recipe for target 'CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/all' failed
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_fastrtps_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_fastrtps_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_fastrtps_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_fastrtps_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/build.make:62: recipe for target 'CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c.o' failed
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c.o] Error 1
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/all] Error 2
CMakeFiles/Makefile2:412: recipe for target 'CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/all' failed
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_introspection_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_introspection_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_introspection_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_introspection_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/build.make:62: recipe for target 'CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c.o' failed
CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/build.make:62: recipe for target 'CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c.o' failed
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c.o] Error 1
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c.o] Error 1
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/all] Error 2
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/all' failed
CMakeFiles/Makefile2:751: recipe for target 'CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/all' failed
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
--- stderr: foo
** WARNING ** io features related to ensenso will be disabled
** WARNING ** io features related to davidSDK will be disabled
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
** WARNING ** visualization features related to ensenso will be disabled
** WARNING ** visualization features related to davidSDK will be disabled
** WARNING ** visualization features related to dssdk will be disabled
** WARNING ** visualization features related to rssdk will be disabled
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_opensplice_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_opensplice_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_opensplice_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_opensplice_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_opensplice_c.c.o] Error 1
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_opensplice_c__pyext.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_fastrtps_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_fastrtps_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_fastrtps_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_fastrtps_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c.o] Error 1
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/all] Error 2
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:9:15: error: variable ‘foo__module’ has initializer but incomplete type
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables /
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:10:3: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function); did you mean ‘PyObject_HEAD_INIT’?
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
PyObject_HEAD_INIT
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:10:3: warning: excess elements in struct initializer
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:10:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:11:3: warning: excess elements in struct initializer
"_foo_support",
^~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:11:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:12:3: warning: excess elements in struct initializer
"_foo_doc",
^~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:12:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:13:3: warning: excess elements in struct initializer
-1, / -1 means that the module keeps state in global variables */
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:13:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:14:3: warning: excess elements in struct initializer
foo__methods,
^~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:14:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:15:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:15:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:16:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:16:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:17:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:17:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:18:3: warning: excess elements in struct initializer
NULL,
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:18:3: note: (near initialization for ‘foo__module’)
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c: In function ‘PyInit_foo_s__rosidl_typesupport_introspection_c’:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:158:14: warning: implicit declaration of function ‘PyModule_Create’; did you mean ‘_PyModule_Clear’? [-Wimplicit-function-declaration]
pymodule = PyModule_Create(&foo__module);
^~~~~~~~~~~~~~~
_PyModule_Clear
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:158:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pymodule = PyModule_Create(&foo__module);
^
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:160:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_introspection_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:167:12: warning: ‘return’ with a value, in function returning void
return NULL;
^~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_introspection_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:170:10: warning: ‘return’ with a value, in function returning void
return pymodule;
^~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:155:1: note: declared here
PyInit_foo_s__rosidl_typesupport_introspection_c(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c: At top level:
/home/jacob/ws/nasa_pcl_build_ws/build/foo/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c:9:27: error: storage size of ‘foo__module’ isn’t known
static struct PyModuleDef foo__module = {
^~~~~~~~~~~
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c.o] Error 1
make[2]: *** [CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c.o] Error 1
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/all] Error 2
make[1]: *** [CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/all] Error 2
make: *** [all] Error 2
Failed <<< foo [ Exited with code 2 ]
Summary: 0 packages finished [4.05s]
1 package failed: foo
1 package had stderr output: foo
Additional information
If we remove
find_package(PCL REQUIRED)
or even move it belowrosidl_generate_interfaces
then compilation succeeds.I tried installing the latest version of PCL from source (PointCloudLibrary/pcl@b2212ef) and did not experience this issue.
It seems like the issue is in PCL, but has been resolved in a later version.
Since the issue exists with the default PCL version in Ubuntu 18.04 (1.8.1), I expect others will run into this issue as well.
I'm not sure if we want to leave this ticket open as a known issue or close it. In any case I thought it worth documenting somewhere.
Workaround
Do
find_package(PCL)
after callingrosidl_generate_interfaces
in your CMakeLists.txt.The text was updated successfully, but these errors were encountered: