You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello DLR team
I encountered the issue that the file "carla_msgsConfig.cmake" couldn't be found when I ran the command "make build". I have installed carla simulator 0.9.13, carla-ros-bridge, ros1 noetic, and I have installed ros-noetic-carla-msgs independently. The OS is Ubuntu 20.04. Could you please help me to solve the problem?
[carla-ros-bridge stage-1 12/13] RUN /bin/bash -c 'source /opt/ros/noetic/setup.bash; catkin_make install;':
0.419 -- The C compiler identification is GNU 9.4.0
0.457 -- The CXX compiler identification is GNU 9.4.0
0.461 -- Check for working C compiler: /usr/bin/cc
0.502 -- Check for working C compiler: /usr/bin/cc -- works
0.504 -- Detecting C compiler ABI info
0.550 -- Detecting C compiler ABI info - done
0.566 -- Detecting C compile features
0.567 -- Detecting C compile features - done
0.569 -- Check for working CXX compiler: /usr/bin/c++
0.621 -- Check for working CXX compiler: /usr/bin/c++ -- works
0.622 -- Detecting CXX compiler ABI info
0.679 -- Detecting CXX compiler ABI info - done
0.688 -- Detecting CXX compile features
0.688 -- Detecting CXX compile features - done
0.741 -- Using CATKIN_DEVEL_PREFIX: /opt/carla-ros-bridge/devel
0.742 -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
0.742 -- This workspace overlays: /opt/ros/noetic
0.755 -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
0.755 -- Using PYTHON_EXECUTABLE: /usr/bin/python3
0.755 -- Using Debian Python package layout
0.777 -- Found PY_em: /usr/lib/python3/dist-packages/em.py
0.777 -- Using empy: /usr/lib/python3/dist-packages/em.py
0.854 -- Using CATKIN_ENABLE_TESTING: ON
0.854 -- Call enable_testing()
0.855 -- Using CATKIN_TEST_RESULTS_DIR: /opt/carla-ros-bridge/build/test_results
1.116 -- Forcing gtest/gmock from source, though one was otherwise available.
1.116 -- Found gtest sources under '/usr/src/googletest': gtests will be built
1.116 -- Found gmock sources under '/usr/src/googletest': gmock will be built
1.141 -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
1.142 -- Found Threads: TRUE
1.145 -- Using Python nosetests: /usr/bin/nosetests3
1.180 -- catkin 0.8.10
1.180 -- BUILD_SHARED_LIBS is on
1.270 -- BUILD_SHARED_LIBS is on
1.538 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.538 -- ~~ traversing 18 packages in topological order:
1.539 -- ~~ - carla_ad_demo
1.539 -- ~~ - carla_common
1.539 -- ~~ - carla_ackermann_msgs
1.539 -- ~~ - carla_ros_scenario_runner_types
1.539 -- ~~ - carla_waypoint_types
1.539 -- ~~ - ros_compatibility
1.539 -- ~~ - carla_ackermann_control
1.539 -- ~~ - carla_ad_agent
1.539 -- ~~ - carla_manual_control
1.539 -- ~~ - carla_ros_bridge
1.539 -- ~~ - carla_ros_scenario_runner
1.539 -- ~~ - carla_spawn_objects
1.539 -- ~~ - carla_twist_to_control
1.539 -- ~~ - carla_walker_agent
1.539 -- ~~ - carla_waypoint_publisher
1.539 -- ~~ - rqt_carla_control
1.539 -- ~~ - pcl_recorder
1.539 -- ~~ - rviz_carla_plugin
1.539 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.539 -- +++ processing catkin package: 'carla_ad_demo'
1.539 -- ==> add_subdirectory(carla_ad_demo)
1.639 -- +++ processing catkin package: 'carla_common'
1.639 -- ==> add_subdirectory(carla_common)
1.957 -- Installing devel-space wrapper /opt/carla-ros-bridge/src/carla_common/src/carla_common/transforms.py to /opt/carla-ros-bridge/devel/lib/carla_common
1.958 -- +++ processing catkin package: 'carla_ackermann_msgs'
1.958 -- ==> add_subdirectory(carla_ackermann_msgs)
1.966 -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
1.977 -- Could NOT find carla_msgs (missing: carla_msgs_DIR)
1.977 -- Could not find the required component 'carla_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
1.977 CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
1.977 Could not find a package configuration file provided by "carla_msgs" with
1.977 any of the following names:
1.977
1.977 carla_msgsConfig.cmake
1.977 carla_msgs-config.cmake
1.977
1.977 Add the installation prefix of "carla_msgs" to CMAKE_PREFIX_PATH or set
1.977 "carla_msgs_DIR" to a directory containing one of the above files. If
1.977 "carla_msgs" provides a separate development package or SDK, be sure it has
1.977 been installed.
1.977 Call Stack (most recent call first):
1.977 carla_ackermann_msgs/CMakeLists.txt:22 (find_package)
1.977
1.977
1.978 -- Configuring incomplete, errors occurred!
1.978 See also "/opt/carla-ros-bridge/build/CMakeFiles/CMakeOutput.log".
1.978 See also "/opt/carla-ros-bridge/build/CMakeFiles/CMakeError.log".
1.982 Base path: /opt/carla-ros-bridge
1.982 Source space: /opt/carla-ros-bridge/src
1.982 Build space: /opt/carla-ros-bridge/build
1.982 Devel space: /opt/carla-ros-bridge/devel
1.982 Install space: /opt/carla-ros-bridge/install
1.982 Creating symlink "/opt/carla-ros-bridge/src/CMakeLists.txt" pointing to "/opt/ros/noetic/share/catkin/cmake/toplevel.cmake"
1.982 ####
1.982 #### Running command: "cmake /opt/carla-ros-bridge/src -DCATKIN_DEVEL_PREFIX=/opt/carla-ros-bridge/devel -DCMAKE_INSTALL_PREFIX=/opt/carla-ros-bridge/install -G Unix Makefiles" in "/opt/carla-ros-bridge/build"
1.982 ####
1.983 Invoking "cmake" failed
failed to solve: process "/bin/sh -c /bin/bash -c 'source /opt/ros/noetic/setup.bash; catkin_make install;'" did not complete successfully: exit code: 1
make: *** [Makefile:69: _build] Error 17
The text was updated successfully, but these errors were encountered:
Hello DLR team
I encountered the issue that the file "carla_msgsConfig.cmake" couldn't be found when I ran the command "make build". I have installed carla simulator 0.9.13, carla-ros-bridge, ros1 noetic, and I have installed ros-noetic-carla-msgs independently. The OS is Ubuntu 20.04. Could you please help me to solve the problem?
The error messages are shown below:
~/adore/adore/adore_if_carla$ make build
git submodule update --init --recursive /home/li/adore/adore/adore_if_carla/external/ros-bridge
rm -rf "/home/li/adore/adore/adore_if_carla/adore_if_carla/build"
rm -rf "/home/li/adore/adore/adore_if_carla/adore_if_carla/launch"
rm -rf "/home/li/adore/adore/adore_if_carla/adore_if_carla/build"
docker rm $(docker ps -a -q --filter "ancestor=adore_if_carla:387a298") --force 2> /dev/null || true
docker rmi $(docker images -q adore_if_carla:387a298) --force 2> /dev/null || true
cd "/home/li/adore/adore/adore_if_carla/adore_if_ros_msg" && make build
rm -rf "/home/li/adore/adore/adore_if_carla/adore_if_ros_msg/adore_if_ros_msg/build"
docker rm $(docker ps -a -q --filter "ancestor=adore_if_ros_msg:47f3311") --force 2> /dev/null || true
981f7eea3abf
docker rmi $(docker images -q adore_if_ros_msg:47f3311) --force 2> /dev/null || true
Untagged: adore_if_ros_msg:47f3311
Deleted: sha256:fe15cfcb94d9c72ff22921180e8b91a64d70536b952d2a60d2461842f81d5706
docker build --network host
--tag adore_if_ros_msg:47f3311
--build-arg PROJECT=adore_if_ros_msg .
[+] Building 1.1s (18/18) FINISHED docker:default
=> [internal] load .dockerignore 0.0s
=> => transferring context: 151B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.34kB 0.0s
=> [internal] load metadata for docker.io/library/alpine:3.14 0.9s
=> [internal] load metadata for docker.io/library/ros:noetic-ros-core-focal 0.8s
=> [adore_if_ros_msg_requirements_base 1/6] FROM docker.io/library/ros:noetic-ros-core- 0.0s
=> [stage-2 1/2] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a67 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 3.96kB 0.0s
=> CACHED [adore_if_ros_msg_requirements_base 2/6] RUN mkdir -p /tmp/adore_if_ros_msg 0.0s
=> CACHED [adore_if_ros_msg_requirements_base 3/6] WORKDIR /tmp/adore_if_ros_msg 0.0s
=> CACHED [adore_if_ros_msg_requirements_base 4/6] COPY files/requirements.adore_if_ros 0.0s
=> CACHED [adore_if_ros_msg_requirements_base 5/6] RUN apt-get update && apt-get in 0.0s
=> CACHED [adore_if_ros_msg_requirements_base 6/6] COPY adore_if_ros_msg /tmp/adore_if_ 0.0s
=> CACHED [adore_if_ros_msg_builder 1/4] WORKDIR /tmp/adore_if_ros_msg/adore_if_ros_msg 0.0s
=> CACHED [adore_if_ros_msg_builder 2/4] RUN mkdir -p build 0.0s
=> CACHED [adore_if_ros_msg_builder 3/4] WORKDIR /tmp/adore_if_ros_msg/adore_if_ros_msg 0.0s
=> CACHED [adore_if_ros_msg_builder 4/4] RUN source /opt/ros/noetic/setup.bash && c 0.0s
=> CACHED [stage-2 2/2] COPY --from=adore_if_ros_msg_builder /tmp/adore_if_ros_msg/ador 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:fe15cfcb94d9c72ff22921180e8b91a64d70536b952d2a60d2461842f81d 0.0s
=> => naming to docker.io/library/adore_if_ros_msg:47f3311 0.0s
What's Next?
View summary of image vulnerabilities and recommendations → docker scout quickview
docker cp $(docker create --rm adore_if_ros_msg:47f3311):/tmp/adore_if_ros_msg/adore_if_ros_msg/build "/home/li/adore/adore/adore_if_carla/adore_if_ros_msg/adore_if_ros_msg"
Successfully copied 10.8MB to /home/li/adore/adore/adore_if_carla/adore_if_ros_msg/adore_if_ros_msg
cd "/home/li/adore/adore/adore_if_carla/plotlablib" && make build
cd plotlablib/external &&
make clean
cd cppzmq && make clean
make[3]: Circular clean_cppzmq <- clean dependency dropped.
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/cppzmq/cppzmq/build"
docker rm $(docker ps -a -q --filter "ancestor="cppzmq:latest" ") 2> /dev/null || true
docker rmi $(docker images -q "cppzmq:latest" ) 2> /dev/null || true
Untagged: cppzmq:latest
Deleted: sha256:dcf136b131f2bb94f59409e2f7e3f0df79042c5d4ead85c7ea3276988f87d108
cd libzmq && make clean
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/libzmq/libzmq/build"
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/libzmq/libsodium/build"
docker rm $(docker ps -a -q --filter "ancestor="libzmq:latest"") --force 2> /dev/null || true
docker rmi $(docker images -q "libzmq:latest") --force 2> /dev/null || true
Untagged: libzmq:latest
Deleted: sha256:c1dc88dcf2047da2b42dc9a8d0c4cdb5c57b3227c1e1c83e55bda37c2f978cb7
docker rm $(docker ps -a -q --filter "ancestor="libsodium:latest"") --force 2> /dev/null || true
docker rmi $(docker images -q "libsodium:latest") --force 2> /dev/null || true
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/build"
docker rm $(docker ps -a -q --filter "ancestor=:plotlablib:master") 2> /dev/null || true
docker rmi $(docker images -q plotlablib:master) --force 2> /dev/null || true
Untagged: plotlablib:master
Deleted: sha256:ca4a46f7547cb1d06f6ffa6b428180ad667d6964e868bcebc2595fd31a83e8c1
cd plotlablib/external &&
make build_fast
make clean
cd cppzmq && make clean
make[4]: Circular clean_cppzmq <- clean dependency dropped.
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/cppzmq/cppzmq/build"
docker rm $(docker ps -a -q --filter "ancestor="cppzmq:latest" ") 2> /dev/null || true
docker rmi $(docker images -q "cppzmq:latest" ) 2> /dev/null || true
cd libzmq && make clean
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/libzmq/libzmq/build"
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/libzmq/libsodium/build"
docker rm $(docker ps -a -q --filter "ancestor="libzmq:latest"") --force 2> /dev/null || true
docker rmi $(docker images -q "libzmq:latest") --force 2> /dev/null || true
docker rm $(docker ps -a -q --filter "ancestor="libsodium:latest"") --force 2> /dev/null || true
docker rmi $(docker images -q "libsodium:latest") --force 2> /dev/null || true
make docker_pull_fast
Loaded image: cppzmq:latest
Loaded image: libzmq:latest
make build_fast_libzmq
Docker image: libzmq:latest already build, skipping build.
make build_fast_cppzmq
Docker image: cppzmq:latest already build, skipping build.
make save_docker_images
docker save -o ""/var/tmp/plotlablib_externals.tar"" cppzmq:latest libzmq:latest 2> /dev/null || true
make[1]: Circular all <- build dependency dropped.
docker save -o ""/var/tmp/plotlablib.tar"" plotlablib:master 2>/dev/null || true
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/build"
make build_external
cd plotlablib/external &&
make build_fast
make clean
cd cppzmq && make clean
make[5]: Circular clean_cppzmq <- clean dependency dropped.
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/cppzmq/cppzmq/build"
docker rm $(docker ps -a -q --filter "ancestor="cppzmq:latest" ") 2> /dev/null || true
docker rmi $(docker images -q "cppzmq:latest" ) 2> /dev/null || true
Untagged: cppzmq:latest
Deleted: sha256:dcf136b131f2bb94f59409e2f7e3f0df79042c5d4ead85c7ea3276988f87d108
cd libzmq && make clean
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/libzmq/libzmq/build"
rm -rf "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib/external/libzmq/libsodium/build"
docker rm $(docker ps -a -q --filter "ancestor="libzmq:latest"") --force 2> /dev/null || true
docker rmi $(docker images -q "libzmq:latest") --force 2> /dev/null || true
Untagged: libzmq:latest
Deleted: sha256:c1dc88dcf2047da2b42dc9a8d0c4cdb5c57b3227c1e1c83e55bda37c2f978cb7
docker rm $(docker ps -a -q --filter "ancestor="libsodium:latest"") --force 2> /dev/null || true
docker rmi $(docker images -q "libsodium:latest") --force 2> /dev/null || true
make docker_pull_fast
Loaded image: cppzmq:latest
Loaded image: libzmq:latest
make build_fast_libzmq
Docker image: libzmq:latest already build, skipping build.
make build_fast_cppzmq
Docker image: cppzmq:latest already build, skipping build.
make save_docker_images
docker save -o ""/var/tmp/plotlablib_externals.tar"" cppzmq:latest libzmq:latest 2> /dev/null || true
docker build --network host
--tag plotlablib:master
--build-arg PROJECT=plotlablib .
[+] Building 1.7s (24/24) FINISHED docker:default
=> [internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 2.23kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:20.04 1.0s
=> [internal] load metadata for docker.io/library/cppzmq:latest 0.0s
=> [internal] load metadata for docker.io/library/libzmq:latest 0.0s
=> [plotlablib_requirements_base 1/6] FROM docker.io/library/ubuntu:20.04@sha256:f2034e 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 2.70kB 0.0s
=> [cppzmq 1/1] FROM docker.io/library/cppzmq:latest 0.0s
=> [libzmq 1/1] FROM docker.io/library/libzmq:latest 0.0s
=> CACHED [plotlablib_requirements_base 2/6] RUN mkdir -p /tmp/plotlablib/files 0.0s
=> CACHED [plotlablib_requirements_base 3/6] COPY files/requirements.plotlablib.ubuntu2 0.0s
=> CACHED [plotlablib_requirements_base 4/6] WORKDIR /tmp/plotlablib/files 0.0s
=> CACHED [plotlablib_requirements_base 5/6] RUN apt-get update && apt-get install 0.0s
=> CACHED [plotlablib_requirements_base 6/6] COPY plotlablib /tmp/plotlablib/plotlablib 0.0s
=> CACHED [plotlablib_external_library_requirements_base 1/7] RUN mkdir -p "/tmp/plotla 0.0s
=> CACHED [plotlablib_external_library_requirements_base 2/7] COPY --from=libzmq /tmp/l 0.0s
=> CACHED [plotlablib_external_library_requirements_base 3/7] WORKDIR /tmp/libzmq/build 0.0s
=> CACHED [plotlablib_external_library_requirements_base 4/7] RUN cmake --install . --p 0.0s
=> CACHED [plotlablib_external_library_requirements_base 5/7] COPY --from=cppzmq /tmp/c 0.0s
=> CACHED [plotlablib_external_library_requirements_base 6/7] WORKDIR /tmp/cppzmq/build 0.0s
=> CACHED [plotlablib_external_library_requirements_base 7/7] RUN cmake --install . --p 0.0s
=> CACHED [plotlablib_builder 1/2] WORKDIR /tmp/plotlablib/plotlablib/build 0.0s
=> CACHED [plotlablib_builder 2/2] RUN cmake .. -DCMAKE_EXPORT_COMPILE_COM 0.0s
=> exporting to image 0.1s
=> => exporting layers 0.0s
=> => writing image sha256:ca4a46f7547cb1d06f6ffa6b428180ad667d6964e868bcebc2595fd31a83 0.0s
=> => naming to docker.io/library/plotlablib:master 0.0s
What's Next?
View summary of image vulnerabilities and recommendations → docker scout quickview
docker cp $(docker create --rm plotlablib:master):/tmp/plotlablib/plotlablib/build "/home/li/adore/adore/adore_if_carla/plotlablib/plotlablib"
Successfully copied 4.04MB to /home/li/adore/adore/adore_if_carla/plotlablib/plotlablib
rm -rf "/home/li/adore/adore/adore_if_carla/adore_if_carla/build"
rm -rf "/home/li/adore/adore/adore_if_carla/adore_if_carla/launch"
cd "/home/li/adore/adore/adore_if_carla" && docker compose build
[+] Building 3.7s (18/19) docker:default
=> [carla-ros-bridge internal] load .dockerignore 0.1s
=> => transferring context: 55B 0.0s
=> [carla-ros-bridge internal] load build definition from Dockerfile.ros-bridge 0.2s
=> => transferring dockerfile: 1.36kB 0.0s
=> [carla-ros-bridge internal] load metadata for docker.io/library/ros:noetic-ros-base 1.0s
=> [carla-ros-bridge internal] load metadata for docker.io/carlasim/carla:0.9.13 0.0s
=> [carla-ros-bridge internal] load build context 0.1s
=> => transferring context: 29.96kB 0.0s
=> [carla-ros-bridge stage-1 1/13] FROM docker.io/library/ros:noetic-ros-base@sha256:1 0.0s
=> [carla-ros-bridge carla 1/1] FROM docker.io/carlasim/carla:0.9.13 0.0s
=> CACHED [carla-ros-bridge stage-1 2/13] RUN mkdir -p /opt/carla-ros-bridge/src 0.0s
=> CACHED [carla-ros-bridge stage-1 3/13] RUN mkdir -p /opt/carla-ros-bridge/launchfil 0.0s
=> CACHED [carla-ros-bridge stage-1 4/13] WORKDIR /opt/carla-ros-bridge 0.0s
=> CACHED [carla-ros-bridge stage-1 5/13] COPY --from=carla /home/carla/PythonAPI /opt 0.0s
=> CACHED [carla-ros-bridge stage-1 6/13] COPY external/ros-bridge/requirements.txt /o 0.0s
=> CACHED [carla-ros-bridge stage-1 7/13] COPY external/ros-bridge/install_dependencie 0.0s
=> CACHED [carla-ros-bridge stage-1 8/13] COPY ros-bridge_files/local /opt/carla-ros-b 0.0s
=> CACHED [carla-ros-bridge stage-1 9/13] RUN /bin/bash -c 'source /opt/ros/noetic/set 0.0s
=> CACHED [carla-ros-bridge stage-1 10/13] COPY external/ros-bridge /opt/carla-ros-brid 0.0s
=> CACHED [carla-ros-bridge stage-1 11/13] COPY ros-bridge_files/local/settings.ros1.ya 0.0s
=> ERROR [carla-ros-bridge stage-1 12/13] RUN /bin/bash -c 'source /opt/ros/noetic/setu 2.1s
failed to solve: process "/bin/sh -c /bin/bash -c 'source /opt/ros/noetic/setup.bash; catkin_make install;'" did not complete successfully: exit code: 1
make: *** [Makefile:69: _build] Error 17
The text was updated successfully, but these errors were encountered: