My ESP-IDE Eclipse compiler works fine for projects created by me.
But I get another ESP32 Eclipse project from GitHub, it fails when I build the project,
it report Error:
"program "make" not found in PATH",
how to fix it?
Regards
Sam
Build fail for imported existing Eclipse IDF project
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Build fail for imported existing Eclipse IDF project
Hello,
https://github.com/espressif/idf-eclips ... pse-plugin
Could you please check whether the imported project from GitHub is a Make project, if yes then probably you need to convert that into CMake and use it?
Thanks.
IDF Eclipse Plugin or Espressif-IDE only supports ESP-IDF CMake based projects (4.X and above). It doesn't offer support for "Make" projects."program "make" not found in PATH",
https://github.com/espressif/idf-eclips ... pse-plugin
Could you please check whether the imported project from GitHub is a Make project, if yes then probably you need to convert that into CMake and use it?
Thanks.
Re: Build fail for imported existing Eclipse IDF project
Hello,
There are CMakeList.txt, Makefile and sdkconfig.defaults in the root directory,
The content of CMakeList.txt is:
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
idf_build_set_property(C_COMPILE_OPTIONS "-Wno-error=format-truncation" APPEND)
project(RH-RECD-02-01-00)
The content of Makefile is:
PROJECT_NAME := Rheem-CTA2045-UCM
CFLAGS = -Wno-error=format-truncation
include $(IDF_PATH)/make/project.mk
CTA2045_UCM_ROOT_DIR = .
CPPCHECK_SUPPRESSION_LIST_FILE = $(CTA2045_UCM_ROOT_DIR)/.settings/cppcheck_suppression_list.txt
Too many line for sdkconfig.defaults; not copy it.
some settings is not right and cause this error?
Regards
Sam
There are CMakeList.txt, Makefile and sdkconfig.defaults in the root directory,
The content of CMakeList.txt is:
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
idf_build_set_property(C_COMPILE_OPTIONS "-Wno-error=format-truncation" APPEND)
project(RH-RECD-02-01-00)
The content of Makefile is:
PROJECT_NAME := Rheem-CTA2045-UCM
CFLAGS = -Wno-error=format-truncation
include $(IDF_PATH)/make/project.mk
CTA2045_UCM_ROOT_DIR = .
CPPCHECK_SUPPRESSION_LIST_FILE = $(CTA2045_UCM_ROOT_DIR)/.settings/cppcheck_suppression_list.txt
Too many line for sdkconfig.defaults; not copy it.
some settings is not right and cause this error?
Regards
Sam
Who is online
Users browsing this forum: No registered users and 43 guests