-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to resolve compile flags for chip.c #1
Comments
@aSaintjusteLAB714 could you attach |
@shubhamdp here is my |
Basically issue is with the paths, paths on windows and linux/mac are different and comparison here is failing. I know how to fix this specific issue, but not sure what we would ran into after fixing this as this was never tested on Windows and upstream connectedhomeip repo support only Linux and Mac as development hosts. So, I would like to give this a try on Windows and it would take some time. |
@shubhamdp Thank you for you help. Please let me know what you find. |
@aSaintjusteLAB714 If you'd like to give it a try, please apply the attached patch, compare_paths.txt.
and try to rebuild the example. This will fix the current error. If you encounter any more error please post them here |
@aSaintjusteLAB714 did you get a chance to try out the patch? |
@shubhamdp thank you so much! I will be trying the patch today, I will let you know how that goes. |
@shubhamdp I did see that path issue was resolved, but I ran into another issue. When I attempted to build the project it failed.
|
@aSaintjusteLAB714 I'm afraid that Matter SDK doesn't support Windows build environment yet. As documented in esp-matter docs: https://docs.espressif.com/projects/esp-matter/en/main/esp32/developing.html#host-setup, as well as CHIP upstream setup guide: https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/BUILDING.md, only Linux and MacOS are supported. |
@chshu Thank you for you assistance. I will be trying this on a MacOS. |
Hi!
Although I've been able to successfully install esp-idf and esp-matter, build, flash, and monitor the light example and start the commissioning process with chip-tool and ble-wifi, but it can't successfully finish the commissioning process and it outputs the following line:
I got the same result too when I was trying with the examples from Matter git. So I almost got everything working on Windows; should I create a new issue with this problem with more data such as the whole chip-tool log and the esp32 log? Edit 2: (on Edit1 I mentioned an error I had, but as I managed to solve it, I post the full solution to the problem from before)
ipv6 is necessary because chip-tool uses it, and if it is not used, it will give an |
Not sure. If it is supported then the upstream connectedhomeip documentation will be updated accordingly. I will close this issue now |
Environment
Module or chip used: [ESP32-WROOM-32-E]
IDF version : v4.4.1
Build System: [idf.py]
Compiler version
xtensa-esp32-elf: esp-2021r2-patch3-8.4.0
riscv32-esp-elf: esp-2021r2-patch3-8.4.0
esp32ulp-elf: 2.28.51-esp-20191205
cmake: 3.20.3
openocd-esp32: v0.11.0-esp32-20211220
ninja: 1.10.2
Operating System: [Window]
Using an IDE?: [Yes]
Problem Description
Build failed for light example in the latest esp-matter version.
Detailed problem description
After pulling the git repo and installing esp idf version 4.4.1 I am unable to build the light example project. I have tried build other example projects in the esp-matter project and those also have failed with the same error.
Expected Behavior
Default light example build should pass
Actual Behavior
Build failing due to 'Failed to resolve compile flags for %s', 'C:/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip/chip.c'
Steps to Reproduce
step 1: Install the toolchain with version esp-idf 4.4.1 from git repository
step 2: Clone the esp-matter repo, make sure to have use recursive to get the submodules
step 3: Set the build target to esp32
step 4: Build the project
Build log:
The text was updated successfully, but these errors were encountered: