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

Compilation Conflict With Multi-Sensor Fusion Package #33

Closed
XinkeAE opened this issue Mar 19, 2015 · 2 comments
Closed

Compilation Conflict With Multi-Sensor Fusion Package #33

XinkeAE opened this issue Mar 19, 2015 · 2 comments

Comments

@XinkeAE
Copy link

XinkeAE commented Mar 19, 2015

Hi,

Great work! Thanks for providing this great framework to the community!

I'm having trouble in installing the asctec_mav_framework. This is the process I ran through:

  1. Got the "catkin_simple" package installed;
  2. Got the "glog_catkin" package install;
  3. Created a folder ethz_asctec_mav_framework(this can be arbitrary)/src;
    Download the zip file and unzip inside the src folder;
    Run "catkin_make" outside of the src;

The compilation system doesn't like this and just gave me the error:
_Error_***
"CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by
"sensor_fusion_comm" with any of the following names:

sensor_fusion_commConfig.cmake
sensor_fusion_comm-config.cmake"

_EndError_***
From previous issue, I found this is because I didn't install the sensor_fusion package. I tried to run similar process with the "ethzasl_msf" package and found this error:
_Error_***
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "asctec_hl_comm"
with any of the following names:

asctec_hl_commConfig.cmake
asctec_hl_comm-config.cmake

_EndError_***
Obviously this is because the framework hasn't been installed.

Could you please give me some suggestions on this issue?

Thanks!
Xinke

@markusachtelik
Copy link
Contributor

hi,

did you have a look at http://wiki.ros.org/asctec_mav_framework at 4)? There should be all repos listed that you need. clone them all into your_catkin_ws/src and run catkin_make or catkin build (recommended, http://catkin-tools.readthedocs.org/en/latest/index.html) from your_catkin_ws

@XinkeAE
Copy link
Author

XinkeAE commented Mar 19, 2015

Hi Markus and Sammy,

Thanks for your quick reply. I really appreciate it! :)

I think I found the problem now. At first I just downloaded the four package individually and put them into different folders and compile them separately.

Now I put them into the same catkin_ws/src and compile it. Although I could get it compiled eventually, I got a small issue when I was using catkin_make to compile it:

At first trial of using "catkin_make", I got the error like:

make: *** [all] Error 2
Invoking "make -j4 -l4" failed

But then I used "catkin_make" again, the compilation continues and succeeded.

Do you have any idea of this issue or I have to use the catkin_tool to compile this?

Thank you guys so much!

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