andybarry / flight

Flight code for MIT CSAIL Robot Locomotion Group flying-through-forests project
https://groups.csail.mit.edu/locomotion/
Other
976 stars 263 forks source link

Package lcmtypes_mav-lcmtypes was not found in the pkg-config search path. #9

Open adamrek opened 6 years ago

adamrek commented 6 years ago

i install everything , but when i use the command ./build-all -j , i meet some wrong .

rek@rek:~/realtime$ ./build-all -j This is: rek

Building: externals

This is: rek

Building: gtest

[ 50%] Built target gtest [100%] Built target gtest_main done with /home/rek/realtime/externals on rek

Building: drivers

This is: rek

Building: cpp_ardupilot_mavlink_bridge

g++ -c -D NDEBUG -O3 -c -Wall -O3 -fopenmp -I/usr/local/include/opencv2 PKG_CONFIG_PATH=../../../pronto-distro/build/lib/pkgconfig/ pkg-config --cflags 'lcm mav-state-est lcmtypes_mav-lcmtypes opencv pcl_octree-1.7' -I../../../mav/mavconn/src/ -I../../mavlink-generated -I../../../mav/mavlink/build/include/v1.0/ -I/usr/local/include/firefly-mv-utils -I/usr/include/dc1394 -I../../externals/gtest/include/ -I../../externals/smc/lib/C++/ -std=c++0x -o ardupilot-mavlink-bridge.o ardupilot-mavlink-bridge.cpp Package lcmtypes_mav-lcmtypes was not found in the pkg-config search path. Perhaps you should add the directory containing lcmtypes_mav-lcmtypes.pc' to the PKG_CONFIG_PATH environment variable No package 'lcmtypes_mav-lcmtypes' found Package pcl_octree-1.7 was not found in the pkg-config search path. Perhaps you should add the directory containingpcl_octree-1.7.pc' to the PKG_CONFIG_PATH environment variable No package 'pcl_octree-1.7' found In file included from ardupilot-mavlink-bridge.cpp:8:0: ardupilot-mavlink-bridge.hpp:30:31: fatal error: bot_core/bot_core.h: 没有那个文件或目录

include <bot_core/bot_core.h>

                           ^

compilation terminated. make: *** [ardupilot-mavlink-bridge.o] 错误 1

adamrek commented 6 years ago

how can i figure it out ?

adamrek commented 6 years ago

i didn't know how to setup timesync

andybarry commented 6 years ago

https://github.com/andybarry/flight/wiki will help you get libbot installed.

adamrek commented 6 years ago

@andybarry i install libbot from https://github.com/andybarry/flight/wiki and dont find bug, i think the wrong should in the mavconn/mavlink

adamrek commented 6 years ago

when i install mavlink . i open the website https://pixhawk.ethz.ch/software/mavconn/start ,and its don't find anything . i want to know how to install mavconn and mavlink