carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.39k stars 3.69k forks source link

Makefile:290: recipe for target 'CarlaUE4Editor' failed while creating docker #6249

Open RDB-bit opened 1 year ago

RDB-bit commented 1 year ago

I ran all commands except the docker build -t carla -f Carla.Dockerfile . with sudo. Once carla-prerequisites: latest was generated - I ran

sudo docker build -t carla -f Carla.Dockerfile ., that gave a makefile error. Solved that by adding Docker to user. Then ran docker build -t carla -f Carla.Dockerfile - get above error when compiling Carla/Sensor/DVSCamera.cpp:145:12:

The error looks like this: /home/ue4/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/DVSCamera.cpp:145:12: note: in instantiation of function template specialization 'FAsyncDataStreamTmpl<carla::streaming::detail::Stream >::Send<ADVSCamera, std::1::vector<carla::sensor::data::DVSEvent, std::1::allocator > &, carla::Buffer>' requested here Stream.Send(*this, events, std::move(Buffer)); ^ [19/24] Link (ld) libUE4Editor-OnlineSubsystemUtils.so [20/24] Link (ld) libUE4Editor-OnlineBlueprintSupport.so [21/24] Link (ld) libUE4Editor-OnlineSubsystemNull.so 3 warnings and 12 errors generated. Makefile:290: recipe for target 'CarlaUE4Editor' failed make[1]: Leaving directory '/home/ue4/carla/Unreal/CarlaUE4' make[1]: [CarlaUE4Editor] Error 5 Util/BuildTools/Linux.mk:79: recipe for target 'CarlaUE4Editor' failed make: [CarlaUE4Editor] Error 2

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.