Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run the project #5

Open
omid84033 opened this issue Sep 20, 2021 · 5 comments
Open

how to run the project #5

omid84033 opened this issue Sep 20, 2021 · 5 comments

Comments

@omid84033
Copy link

hi. I have built the image successfully, but can't find "catkin_make" to run inside of the docker container(desktop) in compilation step..?
and where should I run the command : atlas_fusion <path_to_config_file> in Run step??

@adamek727
Copy link
Contributor

Hi,
please check that the ~/.bashrc file contains "source /opt/ros/noetic/setup.bash" on the last line, then try to reopen terminal and test if the ROS is soursed. For example run roscore command. The roscore server should start.
Than open another terminal, enter the project folder and run the catkin_make here.
If the build runs without any error, you should be able to find executable binary file in <project_folder>/devel/lib/atlas_fusion/atlas_fusion

If you would have any difficulty, please let me know.

@omid84033
Copy link
Author

where is ~/.bashrc file? I think the ROS in not sourced. could you please answer in beginner level?

@adamek727
Copy link
Contributor

Sorry for late answer. The ~/.bashrc file is in your home folder. Look on /home/<our_user_name>/.bashrc.

@omid84033
Copy link
Author

hi. I changed my ros version to noetic and now I think ROS is sourced. but I get some error about CMAKE when running catkin_make:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/OMID/Desktop/Atlas-Fusion-master/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/OMID/Desktop/Atlas-Fusion-master/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

@adamek727
Copy link
Contributor

For some reason, your OS can not find the compiler. Try to install it via "sudo apt-get install build-essential".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants