Code Monkey home page Code Monkey logo

Comments (11)

jinjinhong avatar jinjinhong commented on June 1, 2024

I was very interested, and I didn't touch Apollo very long.can you give me more information about how to run on my own computer? thank you ,my email is [email protected]

from apollo_perception_ros.

cedricxie avatar cedricxie commented on June 1, 2024

Hello @jinjinhong , did you see shared_dir folder in your home directory in the docker? This folder is supposed to be mapped from the host home directory. Do you have this folder in your host system?

from apollo_perception_ros.

jinjinhong avatar jinjinhong commented on June 1, 2024

yes,but run the catkin build command ,error like this
CMake Error at /home/yx/shared_dir/apollo_perception_ros/build/catkin_tools_prebuild/CMakeLists.txt:12 (message):
The catkin CMake module was not found, but it is required to build a linked
workspace. To resolve this, please do one of the following, and try
building again.

  1. Source the setup.sh file from an existing catkin workspace:
    source SETUP_FILE

  2. Extend another catkin workspace's result (install or devel) space:
    catkin config --extend RESULT_SPACE

  3. Set catkin_DIR to the directory containing catkin-config.cmake:
    catkin config --cmake-args -Dcatkin_DIR=CATKIN_CMAKE_CONFIG_PATH

  4. Add the catkin source package to your workspace's source space:
    cd SOURCE_SPACE && git clone https://github.com/ros/catkin.git

cd /home/yx/shared_dir/apollo_perception_ros/build/catkin_tools_prebuild; catkin build --get-env catkin_tools_prebuild | catkin env -si /usr/bin/cmake /home/yx/shared_dir/apollo_perception_ros/build/catkin_tools_prebuild --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/yx/shared_dir/apollo_perception_ros/devel/.private/catkin_tools_prebuild -DCMAKE_INSTALL_PREFIX=/home/yx/shared_dir/apollo_perception_ros/install; cd -
.......................................................................................................................................................................................
Failed << catkin_tools_prebuild:cmake [ Exited with code 1 ]
Failed <<< catkin_tools_prebuild [ 0.0 seconds ]
Abandoned <<< geometry_msgs [ Unrelated job failed ]
Abandoned <<< pcl_msgs [ Unrelated job failed ]
Abandoned <<< pcl_conversions [ Unrelated job failed ]
Abandoned <<< pcl_ros [ Unrelated job failed ]
Abandoned <<< apollo_perception_ros [ Unrelated job failed ]
Abandoned <<< vehicle_base [ Unrelated job failed ]
Abandoned <<< visualization_msgs [ Unrelated job failed ]
[build] Summary: 0 of 8 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 7 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 0.1 seconds total.
yx@hjj-ZHAOYANG-K42-80:~/shared_dir/apollo_perception_ros$

from apollo_perception_ros.

cedricxie avatar cedricxie commented on June 1, 2024

Hi @jinjinhong , can you try "source /opt/ros/indigo/setup.bash" inside docker to see if it helps?

from apollo_perception_ros.

jinjinhong avatar jinjinhong commented on June 1, 2024

I have try many times ,it does not work.

from apollo_perception_ros.

cedricxie avatar cedricxie commented on June 1, 2024

Hello @jinjinhong , it is complaining the CMAKE module is not found. But I think it should already be installed in the ROS environment in the docker.

If you want, you can try installing the CMAKE module to see if it helps. But I am not sure what's going wrong here.

from apollo_perception_ros.

jinjinhong avatar jinjinhong commented on June 1, 2024

Thanks,I still have a question. When catkin build,Is there any good way to solve such a mistake?
Could not find a package configuration file provided by "roscpp" with any
of the following names:
roscppConfig.cmake
roscpp-config.cmake
Could not find a package configuration file provided by
"message_generation" with any of the following names:
message_generationConfig.cmake
message_generation-config.cmake

from apollo_perception_ros.

jinjinhong avatar jinjinhong commented on June 1, 2024

Will it be a problem with docker image?

from apollo_perception_ros.

cedricxie avatar cedricxie commented on June 1, 2024

@jinjinhong , I tested the docker image on my side and it was working. You can check out the build.sh script and build the image yourself. I would suggest to try everything from the beginning again and see if you notice anything abnormal.

from apollo_perception_ros.

yasenh avatar yasenh commented on June 1, 2024

@jinjinhong Current docker images works for me as well, and I am using Ubuntu 16.04

from apollo_perception_ros.

jinjinhong avatar jinjinhong commented on June 1, 2024

I using 14.04 and do many times,but meet this question: Could not find a package configuration file provided by "roscpp"

from apollo_perception_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.