Closed eldendiss closed 1 year ago
hi @eldendiss thanks for all the findings! I'll try and work on this soon. As you've noticed, mklittlefs
certainly needs some attention.
Implementing these changes now; reading other Issues to see if they all amount to the same thing.
Hello,
I stumbled upon issues with mklittlefs when trying to build a esp-idf project on Windows 11. I decided to post it here, so my fellow corporate rats stuck with windows can save yourself some frustration.
1st issue:
Simple fix, make tries to use cc as a compiler, but it is not present in mingw. So you need to create a symlink:
Then you will find yourself in front of another error:
I noticed that there is .exe extension missing. So I took a glance at mklittlefs makefile, and i found out that TARGET_OS variable is equal to win32, but we are checking if it is equal to windows.
So in Makefile at line 29, you need to change this:
To this:
And finally just one error:
This means that the binary zip isnt present. Luckily, windows 11 natively supports tar, so you just need to change line 30 to:
There is still an issue with
FIND: Parameter format not correct
being present in stdout, but it seems that the binaries are compiled sucessfuly nevertheless.TLDR Set symlink cc<===>gcc and use modified Makefile working on Windows 11: