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

PX4 SITL catkin build failing #9447

Closed
jbourne15 opened this issue May 10, 2018 · 5 comments · Fixed by #9484
Closed

PX4 SITL catkin build failing #9447

jbourne15 opened this issue May 10, 2018 · 5 comments · Fixed by #9484
Labels

Comments

@jbourne15
Copy link

jbourne15 commented May 10, 2018

I am following the instructions from here https://dev.px4.io/en/setup/dev_env_linux.html#gazebo-with-ros but when the script gets to catkin build it throws an error. I don't know if this is relevant but I had already installed this successfully on the same computer, but after deleting the files and reinstalling I am getting that the catkin build fails.

Here is my log file.
build.make.000.log

thanks for the help

@TSC21
Copy link
Member

TSC21 commented May 10, 2018

You need to update your submodules. Try git submodule update --init --recursive. Then catkin clean --all -y and catkin build it again.

@TSC21 TSC21 closed this as completed May 10, 2018
@jbourne15
Copy link
Author

Still getting the same catkin build error (from the src/Firmware directory).

log file:
build.make.001.log

@TSC21 TSC21 reopened this May 13, 2018
@dagar
Copy link
Member

dagar commented May 13, 2018

I believe this is fixed ecl side. PX4/PX4-ECL#447

@dagar dagar added the bug label May 13, 2018
dagar added a commit that referenced this issue May 18, 2018
 * cb63f16 2018-05-17 Daniel Agar - cmake cache ECL source directory path to work with catkin (#447)
 * fixes #9447
@jbourne15
Copy link
Author

jbourne15 commented Jun 19, 2018

@dagar I am installing this again and I am getting the following errors:

fatal error: ecl.h: No such file or directory compilation terminated.

fatal error: geo/geo.h: No such file or directory

Log file:
build.make.002.log

I have made sure that I have the latest firmware with the change you mentioned earlier and have ran git submodule update --init --recursive, catkin clean --all -y, and source ubuntu_sim_ros_gazebo.sh Thanks for any help.

@dagar
Copy link
Member

dagar commented Jun 20, 2018

@jbourne15 I don't know why catkin cmake isn't respecting the variable (path to ecl.h). Can you move over to #9679 and continue the discussion?

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

Successfully merging a pull request may close this issue.

3 participants