carla: ARGS="--package package_name" Causing errors when importing

I’m on Ubuntu 18.04. I was following the source map ingestion guide, and the name of package caused an error.

make import ARGS="--package carlanoloops":

parse-options: unrecognized option '--package'
Setup.sh: llvm-8.0 already installed.
Setup.sh: boost-1.72.0-c8 already installed.
Setup.sh: rpclib-v2.2.1_c3-c8 already installed.
Setup.sh: gtest-1.8.1-c8 already installed.
Setup.sh: recast-cdce4e-c8 already installed.
Setup.sh: Libpng already installed.
Setup.sh: Xerces-c already installed.
Setup.sh: CARLA version 0.9.10.1-30-g31fff28b-dirty.
Setup.sh: Generating CMake configuration files.
Setup.sh: Success!
BuildLibCarla.sh: Building LibCarla "Server.Release" configuration.
ninja: no work to do.
[0/1] Install the project...
-- Install configuration: "Server"
BuildLibCarla.sh: Success!
BuildCarlaUE4.sh: Using Unreal Engine at '/home/sam3sim/UnrealEngine_4.24'
BuildCarlaUE4.sh: Build CarlaUE4 project.
make[1]: Entering directory '/home/sam3sim/carla/Unreal/CarlaUE4'
bash "/home/sam3sim/UnrealEngine_4.24/Engine/Build/BatchFiles/Linux/RunMono.sh" "/home/sam3sim/UnrealEngine_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe" CarlaUE4Editor Linux Development  -project="/home/sam3sim/carla/Unreal/CarlaUE4/CarlaUE4.uproject" --package carlanoloops

Running Mono...

Fixing inconsistent case in filenames.
Setting up Mono
~/UnrealEngine_4.24/Engine ~/carla/Unreal/CarlaUE4
Using 'git status' to determine working set for adaptive non-unity build (/home/sam3sim/UnrealEngine_4.24).
Creating makefile for carlanoloops (no existing makefile)
ERROR: Couldn't find target rules file for target 'carlanoloops' in rules assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
       Location: /home/sam3sim/UnrealEngine_4.24/Engine/Intermediate/Build/BuildRules/UE4Rules.dll
       Target rules found:
Makefile:290: recipe for target 'CarlaUE4Editor' failed
make[1]: *** [CarlaUE4Editor] Error 5
make[1]: Leaving directory '/home/sam3sim/carla/Unreal/CarlaUE4'
Util/BuildTools/Linux.mk:83: recipe for target 'CarlaUE4Editor' failed
make: *** [CarlaUE4Editor] Error 2

At the top is says that package is an unknown option, but that is what the docs says to do.

Running make import without package works, but will only work the first time (as mentioned in the docs).

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 20 (3 by maintainers)

Most upvoted comments

correction for the above command: make import ARGS=“–packages=my_package_name”

Had the same error and this command works. I have also built both the editor and the PythonAPI, maybe a configuration issue on my system but I kept having the same problem no matter what I did.

correction for the above command: make import ARGS=“–packages=my_package_name”