Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 45687

Error first compiling ArduCopter with Make (Windows 8.1)

$
0
0

@Alex94cerio wrote:

Hi everyone!
I'm trying to compile the ArduCopter code with make px4-v2 on Windows 8.1 but I get ERROR 1
This is the log:

Alessandro Cerioni@Alex /c/GitHub/ArduPilot/ArduCopter
$ make px4-v2
// BUILDROOT=/c/GitHub/ArduPilot/Build.ArduCopter HAL_BOARD=HAL_BOARD_PX4 HAL_BO
ARD_SUBTYPE= TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION="2aec41e0" -I/c/GitHub/Ar
duPilot/libraries/AP_Common/missing -DMAVLINK_PROTOCOL_VERSION=2 -DNUTTX_GIT_VER
SION="be6ff61a" -DPX4_GIT_VERSION="47909b0f" -DUAVCAN=1 -D__STDC_FORMAT_MACROS -
DHAVE_STD_NULLPTR_T=0 -DHAVE_ENDIAN_H=0 -DHAVE_BYTESWAP_H=0 -DHAVE_OCLOEXEC=0 -I
/c/GitHub/ArduPilot/Build.ArduCopter/libraries/GCS_MAVLink/include/mavlink
Checking modules
modules/PX4Firmware/src/lib/matrix/.git missing - need module init
+ git submodule init
Submodule 'modules/PX4Firmware' () registered for path 'modules/PX4Firmware'
Submodule 'modules/PX4NuttX' () registered for path 'modules/PX4NuttX'
Submodule 'modules/gbenchmark' () registered for path 'modules/gbenchmark'
Submodule 'gtest' () registered for path 'modules/gtest'
Submodule 'modules/mavlink' () registered for path 'modules/mavlink'
Submodule 'modules/uavcan' () registered for path 'modules/uavcan'
Submodule 'modules/waf' () registered for path 'modules/waf'
+ for m in '$MODULE_LIST'
+ '[' -f modules/gbenchmark/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/gtest/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/mavlink/.gitmodules ']'
+ cd modules/mavlink
+ git submodule init
Submodule 'pymavlink' () registered for path 'pymavlink'
+ for m in '$MODULE_LIST'
+ '[' -f modules/mavlink/pymavlink/.gitmodules ']'
+ cd modules/mavlink/pymavlink
+ git submodule init
+ for m in '$MODULE_LIST'
+ '[' -f modules/PX4Firmware/.gitmodules ']'
+ cd modules/PX4Firmware
+ git submodule init
Submodule 'Tools/gencpp' () registered for path 'Tools/gencpp'
Submodule 'Tools/genmsg' () registered for path 'Tools/genmsg'
Submodule 'mavlink/include/mavlink/v1.0' () registered for path 'mavlink/include
/mavlink/v1.0'
Submodule 'src/lib/DriverFramework' () registered for path 'src/lib/DriverFramew
ork'
Submodule 'src/lib/ecl' () registered for path 'src/lib/ecl'
Submodule 'src/lib/matrix' () registered for path 'src/lib/matrix'
Submodule 'src/modules/uavcan/libuavcan' () registered for path 'src/modules/uav
can/libuavcan'
+ for m in '$MODULE_LIST'
+ '[' -f modules/PX4Firmware/src/lib/matrix/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/PX4Firmware/Tools/gencpp/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/PX4Firmware/Tools/genmsg/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/PX4NuttX/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/uavcan/.gitmodules ']'
+ cd modules/uavcan
+ git submodule init
Submodule 'dsdl' () registered for path 'dsdl'
Submodule 'libuavcan/dsdl_compiler/pyuavcan' () registered for path 'libuavcan/d
sdl_compiler/pyuavcan'
+ for m in '$MODULE_LIST'
+ '[' -f modules/uavcan/dsdl/.gitmodules ']'
+ for m in '$MODULE_LIST'
+ '[' -f modules/uavcan/libuavcan/dsdl_compiler/pyuavcan/.gitmodules ']'
+ cd modules/uavcan/libuavcan/dsdl_compiler/pyuavcan
+ git submodule init
Submodule 'dsdl' (https://github.com/UAVCAN/dsdl) registered for path 'dsdl'
+ for m in '$MODULE_LIST'
+ '[' -f modules/waf/.gitmodules ']'
+ git submodule update --recursive
fatal: Not a git repository: ../../../c:/GitHub/ArduPilot/.git/modules/modules/P
X4Firmware/modules/src/lib/DriverFramework
Unable to fetch in submodule path 'src/lib/DriverFramework'
Cloning into 'dsdl'...
remote: Counting objects: 671, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 671 (delta 8), reused 0 (delta 0), pack-reused 652
Receiving objects: 100% (671/671), 84.64 KiB, done.
Resolving deltas: 100% (387/387), done.
Submodule path 'dsdl': checked out 'fd12483ddd4e58242d61d74a163e7aeaa1e0f466'
Failed to recurse into submodule path 'modules/PX4Firmware'
+ echo 'git submodule update failed'
git submodule update failed
+ git submodule status --recursive
 47909b0fc8fa9b08ffd3e6f7525c6f2b29fc57a7 modules/PX4Firmware (stable_manual_fli
ght-16002-g47909b0)
 26a86f04bcec0018af6652b3ddd3f680e6e3fa2a modules/PX4Firmware/Tools/gencpp (0.4.
6-47-g26a86f0)
 72f0383f0e6a489214c51802ae12d6e271b1e454 modules/PX4Firmware/Tools/genmsg (0.3.
6-143-g72f0383)
 bf251caef3dbf610e5152115a2d81e00e54ab7e7 modules/PX4Firmware/mavlink/include/ma
vlink/v1.0 (bf251ca)
fatal: Not a git repository: ../../../c:/GitHub/ArduPilot/.git/modules/modules/P
X4Firmware/modules/src/lib/DriverFramework
fatal: Not a git repository: src/lib/DriverFramework/../../../c:/GitHub/ArduPilo
t/.git/modules/modules/PX4Firmware/modules/src/lib/DriverFramework
fatal: Not a git repository: ../../../c:/GitHub/ArduPilot/.git/modules/modules/P
X4Firmware/modules/src/lib/DriverFramework
fatal: Not a git repository: ../../../c:/GitHub/ArduPilot/.git/modules/modules/P
X4Firmware/modules/src/lib/DriverFramework
+ modules/PX4Firmware/src/lib/DriverFramework
fatal: Not a git repository: ../../../c:/GitHub/ArduPilot/.git/modules/modules/P
X4Firmware/modules/src/lib/DriverFramework
-f86ef3478219b4b1c31e17b8f308df4b69eda2f7 modules/PX4Firmware/src/lib/ecl
-07fba8322a16cb2dac47e6a8ac7d21ec346313ff modules/PX4Firmware/src/lib/matrix
-702f6f05608885d3be993edb01394212bd2dade1 modules/PX4Firmware/src/modules/uavcan
/libuavcan
 be6ff61ac546077d3e988dfc01f83df8e1386010 modules/PX4NuttX (ArduCopter-beta-65-g
be6ff61)
 006d23ccca1375a973b7fae0cc351cedb41b812a modules/gbenchmark (v0.1.0)
 c99458533a9b4c743ed51537e25989ea55944908 modules/gtest (release-1.7.0)
 32eb9c1359f2e583341ad462f20c525a586b624a modules/mavlink (pre-mavlink2-merge-41
8-g32eb9c1)
 b1663bac9ce9e9fa8868f59e4b5f6d3de81cb2f3 modules/mavlink/pymavlink (b1663ba)
 71cf39c8c6c3c2709bc1a32ffd947add22b1a836 modules/uavcan (APMrover2-2.49-820-g71
cf39c)
 9804a3e6972825586be252ce08dd899f44994b14 modules/uavcan/dsdl (v1.0.0rc1-7-g9804
a3e)
 c58477a644d20ccf95a20c151f3a0402f271c3b8 modules/uavcan/libuavcan/dsdl_compiler
/pyuavcan (v1.0.0dev3~7)
 fd12483ddd4e58242d61d74a163e7aeaa1e0f466 modules/uavcan/libuavcan/dsdl_compiler
/pyuavcan/dsdl (v1.0.0rc1~2)
 73163ef5c117a51f29546d17c2bb2041aecefcdd modules/waf (waf-1.9.2-1-g73163ef)
+ exit 1
make: *** [CHECK_MODULES] Error 1

Any help? Thanks everyone!

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 45687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>