Closed sscheele closed 3 years ago
Hmm, this is weird. Can you use any other Julia package that utilizes Cxx?
I've just confirmed that I can use Spot.jl
(https://github.com/sisl/Spot.jl), which also uses Cxx.
Thanks for giving this a quick test. Can you give me more information about your setip? OS and ROS versions specifically. It would also help if you could give me a complete list of your ROS messages.
Sure! It's Ubuntu 18.04, ROS Melodic, with these messages (output of rosmsg list
): https://pastebin.com/WLPiwzkC
I don't see any easy to spot problems on your setup to be honest. Do you have any images of your system? Nevertheless, I will try to install some of the non standard messages you have in your list and check where the problem lies. I will keep you posted on the issue.
Hey @sscheele,
I looked into your problem, and found out that Cxx acts weirdly with precompilation enabled. The issue has been fixed in the new release (https://github.com/gstavrinos/ROS.jl/releases/tag/v0.2.4). The CI tests were including (include("src/ROS.jl"
) the ROS package instead of using it (using ROS
) so the problem slipped through. Thanks for your issue.
I am closing it, but please feel free to re-open it if you encounter it again, or open a new one for new problems that may arise. (Keep in mind that ROS.jl
is (still!) in a non major version)
I installed ROS.jl by following these steps:
pkg> add ROS
Cxx.jl
error (error: run-time type information was enabled in PCH file but is currently disabled <built-in>:1:10: fatal error: 'Cxx.h' file not found
) by exiting Julia, doingexport JULIA_CXX_RTTI=1
, and re-buildingCxx
.At this point, I could successfully run
using ROS;
, so the next thing I tried wasROS.@updateAll
. This gave the following stack trace:Running
ROS.@genNew
produces the same error. Do you know what is causing this?