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

Request: Documentation for catkinized installation #5

Open
incebellipipo opened this issue May 3, 2018 · 0 comments
Open

Request: Documentation for catkinized installation #5

incebellipipo opened this issue May 3, 2018 · 0 comments

Comments

@incebellipipo
Copy link

incebellipipo commented May 3, 2018

I want to automate px4 build with catkin make but it wasn't possible with the methods i know.

  • catkin_make
  • catkin_make_isolated
  • catkin_make_isolated --use-ninja

didn't worked. This is the best solution I came up with but it enters an infinite loop while building px4 firmware:

  • catkin_make_isolated -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_ASM_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=Release.

steps to repreduce:

  • git clone https://github.com/px4/px4ros.git, path: ~/ros_ws/src
  • cd px4ros && git submodule update --init --recursive, path : ~/ros_ws/src/px4ros
  • catkin_make_isolated -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_ASM_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=Release
  1. Is there any way for me to compile all packages with catkin_make, or should i use make posix... commands?
  2. If there is a way, will i be able to specify build targets for Firmware from catkin_make?
  3. Is there any information in the documentations for the work flow of Makefiles?
  4. Lastly, is this the appropriate place the put such questions?
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

1 participant