Advertisement
Guest User

Cmake

a guest
May 9th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.26 KB | None | 0 0
  1.  
  2. Christopher@DESKTOP-D4CGFIT ~
  3. $ pip2 install empy pyserial pymavlink
  4. DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
  5. Collecting empy
  6.  Downloading https://files.pythonhosted.org/packages/3b/95/88ed47cb7da88569a78b7d6fb9420298df7e99997810c844a924d96d3c08/empy-3.3.4.tar.gz (62kB)
  7.    100% |████████████████████████████████| 71kB 765kB/s
  8. Collecting pyserial
  9.  Downloading https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl (193kB)
  10.    100% |████████████████████████████████| 194kB 1.1MB/s
  11. Collecting pymavlink
  12.  Downloading https://files.pythonhosted.org/packages/61/d7/a3b2e6e2d7bffd2d5426359111a2d90c9b13ca3148eec1aed9fffa639f5e/pymavlink-2.3.4.tar.gz (3.1MB)
  13.    100% |████████████████████████████████| 3.1MB 1.5MB/s
  14. Requirement already satisfied: future in /usr/lib/python2.7/site-packages (from pymavlink) (0.16.0)
  15. Collecting lxml (from pymavlink)
  16.  Downloading https://files.pythonhosted.org/packages/7d/29/174d70f303016c58bd790c6c86e6e86a9d18239fac314d55a9b7be501943/lxml-4.3.3.tar.gz (4.4MB)
  17.    100% |████████████████████████████████| 4.4MB 1.7MB/s
  18. Installing collected packages: empy, pyserial, lxml, pymavlink
  19.  Running setup.py install for empy ... done
  20.  Running setup.py install for lxml ... done
  21.  Running setup.py install for pymavlink ... done
  22. Successfully installed empy-3.3.4 lxml-4.3.3 pymavlink-2.3.4 pyserial-3.4
  23. You are using pip version 19.0.3, however version 19.1.1 is available.
  24. You should consider upgrading via the 'pip install --upgrade pip' command.
  25.  
  26. Christopher@DESKTOP-D4CGFIT ~
  27. $ ls
  28.  
  29. Christopher@DESKTOP-D4CGFIT ~
  30. $ git clone https://github.com/ardupilot/ardupilot.git
  31. Cloning into 'ardupilot'...
  32. remote: Enumerating objects: 27, done.
  33. remote: Counting objects: 100% (27/27), done.
  34. remote: Compressing objects: 100% (26/26), done.
  35. remote: Total 256785 (delta 11), reused 4 (delta 1), pack-reused 256758
  36. Receiving objects: 100% (256785/256785), 134.00 MiB | 7.43 MiB/s, done.
  37. Resolving deltas: 100% (189082/189082), done.
  38. Checking out files: 100% (2625/2625), done.
  39.  
  40. Christopher@DESKTOP-D4CGFIT ~
  41. $ cd ardupilot
  42.  
  43. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  44. $     git submodule update --init --recursive
  45.  
  46. Submodule 'modules/ChibiOS' (git://github.com/ArduPilot/ChibiOS.git) registered for path 'modules/ChibiOS'
  47. Submodule 'modules/gbenchmark' (git://github.com/google/benchmark.git) registered for path 'modules/gbenchmark'
  48. Submodule 'gtest' (git://github.com/ArduPilot/googletest) registered for path 'modules/gtest'
  49. Submodule 'modules/mavlink' (git://github.com/ArduPilot/mavlink) registered for path 'modules/mavlink'
  50. Submodule 'modules/uavcan' (git://github.com/ArduPilot/uavcan.git) registered for path 'modules/uavcan'
  51. Submodule 'modules/waf' (git://github.com/ArduPilot/waf.git) registered for path 'modules/waf'
  52. Cloning into '/home/Christopher/ardupilot/modules/ChibiOS'...
  53. Cloning into '/home/Christopher/ardupilot/modules/gbenchmark'...
  54. Cloning into '/home/Christopher/ardupilot/modules/gtest'...
  55. Cloning into '/home/Christopher/ardupilot/modules/mavlink'...
  56. Cloning into '/home/Christopher/ardupilot/modules/uavcan'...
  57. Cloning into '/home/Christopher/ardupilot/modules/waf'...
  58. Submodule path 'modules/ChibiOS': checked out 'd443078c52cd1b36997896f2e77648784606ebfb'
  59. Submodule path 'modules/gbenchmark': checked out '006d23ccca1375a973b7fae0cc351cedb41b812a'
  60. Submodule path 'modules/gtest': checked out 'c99458533a9b4c743ed51537e25989ea55944908'
  61. Submodule path 'modules/mavlink': checked out '2536f7f65ded061563fce851fbae409e2a34cb37'
  62. Submodule 'pymavlink' (git://github.com/ArduPilot/pymavlink.git) registered for path 'modules/mavlink/pymavlink'
  63. Cloning into '/home/Christopher/ardupilot/modules/mavlink/pymavlink'...
  64. Submodule path 'modules/mavlink/pymavlink': checked out '8481afb968c384fb3f260ea5fe6e0b2e0f0b1c41'
  65. Submodule path 'modules/uavcan': checked out '58903b68ee6a244b06c6b0e0bc61aacc0f1f5dc2'
  66. Submodule 'dsdl' (https://github.com/UAVCAN/dsdl) registered for path 'modules/uavcan/dsdl'
  67. Submodule 'libuavcan/dsdl_compiler/pyuavcan' (https://github.com/UAVCAN/pyuavcan) registered for path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan'
  68. Cloning into '/home/Christopher/ardupilot/modules/uavcan/dsdl'...
  69. Cloning into '/home/Christopher/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/pyuavcan'...
  70. Submodule path 'modules/uavcan/dsdl': checked out '192295c4f9b67f4a20b0eabf74757b6597415f2b'
  71. Submodule path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan': checked out 'c58477a644d20ccf95a20c151f3a0402f271c3b8'
  72. Submodule 'dsdl' (https://github.com/UAVCAN/dsdl) registered for path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan/dsdl'
  73. Cloning into '/home/Christopher/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/pyuavcan/dsdl'...
  74. Submodule path 'modules/uavcan/libuavcan/dsdl_compiler/pyuavcan/dsdl': checked out 'fd12483ddd4e58242d61d74a163e7aeaa1e0f466'
  75. Submodule path 'modules/waf': checked out '337b0a96beeac517ecde081fb76dedd039089734'
  76.  
  77. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  78. $
  79.  
  80. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  81. $ git fetch --tags
  82.  
  83. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  84. $ git checkout ArduSub-stable
  85. warning: unable to rmdir 'modules/ChibiOS': Directory not empty
  86. Checking out files: 100% (3101/3101), done.
  87. M       modules/mavlink
  88. M       modules/uavcan
  89. M       modules/waf
  90. Note: checking out 'ArduSub-stable'.
  91.  
  92. You are in 'detached HEAD' state. You can look around, make experimental
  93. changes and commit them, and you can discard any commits you make in this
  94. state without impacting any branches by performing another checkout.
  95.  
  96. If you want to create a new branch to retain commits you create, you may
  97. do so (now or later) by using -b with the checkout command again. Example:
  98.  
  99.  git checkout -b <new-branch-name>
  100.  
  101. HEAD is now at 05fed49b8 sub: version to 3.5.4
  102.  
  103. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  104. $ git submodule update --recursive
  105.  
  106. Submodule path 'modules/mavlink': checked out '4d7d9c728877ba96e1c9fe433216b7a152b271e9'
  107. Submodule path 'modules/mavlink/pymavlink': checked out 'd65275c29c57f11411fd7253b921471f973e1270'
  108. Submodule path 'modules/uavcan': checked out '71cf39c8c6c3c2709bc1a32ffd947add22b1a836'
  109. Submodule path 'modules/uavcan/dsdl': checked out '9804a3e6972825586be252ce08dd899f44994b14'
  110. Submodule path 'modules/waf': checked out '73163ef5c117a51f29546d17c2bb2041aecefcdd'
  111.  
  112. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  113. $
  114.  
  115. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  116. $ ./waf configure --board px4-v2
  117. Setting top to                           : /home/Christopher/ardupilot
  118. Setting out to                           : /home/Christopher/ardupilot/build
  119. Autoconfiguration                        : enabled
  120. Setting board to                         : px4-v2
  121. Checking for program 'arm-none-eabi-ar'  : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-ar
  122. Using toolchain                          : arm-none-eabi
  123. Checking for 'g++' (C++ compiler)        : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-g++
  124. Checking for 'gcc' (C compiler)          : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-gcc
  125. Checking for HAVE_CMATH_ISFINITE         : no
  126. Checking for HAVE_CMATH_ISINF            : no
  127. Checking for HAVE_CMATH_ISNAN            : no
  128. Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : no
  129. Checking for NEED_CMATH_ISINF_STD_NAMESPACE    : no
  130. Checking for NEED_CMATH_ISNAN_STD_NAMESPACE    : no
  131. Checking for header endian.h                   : not found
  132. Checking for header byteswap.h                 : not found
  133. Checking for program 'cmake'                   : not found
  134. Could not find the program ['cmake']
  135. (complete log in /home/Christopher/ardupilot/build/config.log)
  136.  
  137. Christopher@DESKTOP-D4CGFIT ~/ardupilot
  138. $ ./waf build sub
  139. The project was not configured: run "waf configure" first!
  140.  
  141. Christopher@DESKTOP-D4CGFIT ~/ardupilot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement