Edit CMakeLists.txt in the root folder of the project -> change set(EXTRA_COMPONENT_DIRS "/home/marosvarchola/disc2/esp_projects/my_components/") edit path to your folder where is the lcd_i2c library folder (so parent folder of lcd_i2c library will be the path)