Build fail for imported existing Eclipse IDF project

RabbitRF
Posts: 15
Joined: Tue Mar 01, 2022 12:28 am

Build fail for imported existing Eclipse IDF project

Postby RabbitRF » Thu Jan 26, 2023 9:14 am

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

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Build fail for imported existing Eclipse IDF project

Postby ESP_kondalkolipaka » Fri Jan 27, 2023 5:56 am

Hello,
"program "make" not found in PATH",
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.

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.

RabbitRF
Posts: 15
Joined: Tue Mar 01, 2022 12:28 am

Re: Build fail for imported existing Eclipse IDF project

Postby RabbitRF » Fri Jan 27, 2023 6:15 am

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

Who is online

Users browsing this forum: No registered users and 22 guests