Hello, everybody! When i tried “make px4_fmu-v2_default”,errors occurred! I have no idea what to do. It’s shown like this:
$ make px4_fmu-v2_default
CMakeFiles/git_nuttx_apps.dir/build.make:56: *** target pattern contains no `%'. Stop.
make[2]: *** [CMakeFiles/git_nuttx_apps.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/git_nuttx.dir/build.make:56: *** target pattern contains no `%'. Stop.
make[2]: *** [CMakeFiles/git_nuttx.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [px4_fmu-v2_default] Error 2
"build.make" has shown like this:
# CMAKE generated file: DO NOT EDIT!
# Generated by "MSYS Makefiles" Generator, CMake Version 3.4
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = "/C/Program Files (x86)/CMake/bin/cmake.exe"
# The command to remove a file.
RM = "/C/Program Files (x86)/CMake/bin/cmake.exe" -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /D/px4/workspace/Firmware
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /D/px4/workspace/Firmware/build/px4_fmu-v2_default
# Utility rule file for git_nuttx.
# Include the progress variables for this target.
include CMakeFiles/git_nuttx.dir/progress.make
_CMakeFiles/git_nuttx: git_init_D:px4_workspace_Firmware_platforms_nuttx_cmake____NuttX_nuttx.stamp (the line is No.56)
git_init_D:_px4_workspace_Firmware_platforms_nuttx_cmake____NuttX_nuttx.stamp: ../../.gitmodules
git_init_D:_px4_workspace_Firmware_platforms_nuttx_cmake____NuttX_nuttx.stamp: ../../platforms/nuttx/NuttX/nuttx/.git
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/D/px4/workspace/Firmware/build/px4_fmu-v2_default/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "git submodule platforms/nuttx/NuttX/nuttx"
cd /D/px4/workspace/Firmware && Tools/check_submodules.sh platforms/nuttx/NuttX/nuttx
cd /D/px4/workspace/Firmware && "/c/Program Files (x86)/CMake/bin/cmake.exe" -E touch D:/px4/workspace/Firmware/build/px4_fmu-v2_default/git_init_D:_px4_workspace_Firmware_platforms_nuttx_cmake____NuttX_nuttx.stamp
git_nuttx: CMakeFiles/git_nuttx
git_nuttx: git_init_D:_px4_workspace_Firmware_platforms_nuttx_cmake____NuttX_nuttx.stamp
git_nuttx: CMakeFiles/git_nuttx.dir/build.make
.PHONY : git_nuttx
# Rule to build all files generated by this target.
CMakeFiles/git_nuttx.dir/build: git_nuttx
.PHONY : CMakeFiles/git_nuttx.dir/build
CMakeFiles/git_nuttx.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/git_nuttx.dir/cmake_clean.cmake
.PHONY : CMakeFiles/git_nuttx.dir/clean
CMakeFiles/git_nuttx.dir/depend:
$(CMAKE_COMMAND) -E cmake_depends "MSYS Makefiles" /D/px4/workspace/Firmware /D/px4/workspace/Firmware /D/px4/workspace/Firmware/build/px4_fmu-v2_default /D/px4/workspace/Firmware/build/px4_fmu-v2_default /D/px4/workspace/Firmware/build/px4_fmu-v2_default/CMakeFiles/git_nuttx.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/git_nuttx.dir/depend
Appreciate every answer. Thanks!