Building error Ubuntu20.04 and ros foxy
Closed this issue · 5 comments
Hello
I have a problem with build my ros2cs
The error crashed all process then I build tests
The type or namespace name 'example_interfaces
Hello,
can you please show us the full error?
This is full error
ros2cs_performance_listener_dotnetcore -> /home/ubuntu/ros2cs/build/ros2cs_examples/Release/netcoreapp6.0/ros2cs_performance_listener.dll
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(39,77): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(39,19): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(25,28): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(25,71): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
Build FAILED.
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(39,77): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(39,19): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(25,28): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
/home/ubuntu/ros2cs/src/ros2cs/ros2cs_examples/ROS2Service.cs(25,71): error CS0246: The type or namespace name 'example_interfaces' could not be found (are you missing a using directive or an assembly reference?) [/home/ubuntu/ros2cs/build/ros2cs_examples/ros2cs_service/ros2cs_service_dotnetcore.csproj]
0 Warning(s)
4 Error(s)
Did you execute ./get_repos.sh
?
Try to clear the CMake cache.