Failed to resolve component 'mcommon'. or

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Failed to resolve component 'mcommon'. or

Postby DutchOrange » Sun Mar 14, 2021 5:18 pm

Iam running ESP-IDF 4.1 on windows, Its a fresh install And Iam getting problems building my projects.
I have changed the CMakeList between these 2

Code: Select all

set(EXTRA_COMPONENT_DIRS $ENV{MDF_PATH}/components)
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/components)
When I have both I get :

Code: Select all

Failed to resolve component 'miniz'.
And when I only have : " set(EXTRA_COMPONENT_DIRS $ENV{MDF_PATH}/components) "
I get :

Code: Select all

Failed to resolve component 'miniz'.
When I only include "set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/components)"
I get:

Code: Select all

Failed to resolve component 'mcommon'.
This is the layout in the CmakeList:

Code: Select all

# 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{MDF_PATH}/project.cmake)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
any Ideas of which one is most priority to include ? and how do I include these ? 
Thanks 


#set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/esp-idf-lib/components)
set(EXTRA_COMPONENT_DIRS $ENV{MDF_PATH}/components)
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/components)


project(no_router)

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: Failed to resolve component 'mcommon'. or

Postby DutchOrange » Tue Mar 16, 2021 2:00 pm

A fresh reinstall of the IDF 4.2 worked

Who is online

Users browsing this forum: No registered users and 69 guests