Hello,
I am new with Flowcode 10 (free version). I have experience with Flowcode 6 but this was long time ago.....
So, when I try to compile to target I have this error:
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
what I have found till now is if I have even just one component macro I receive this error.
Maybe I am doing something wrong or I should install something additional, or maybe component macros are not for the free version?
I appreciate any help.
thanks
===================
Python 3.7.3
git version 2.21.0.windows.1
ESP toolchain found at "C:\Users\User\Desktop\esp-idf\"
=========================
esp compile error
-
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 08, 2023 10:53 am
Re: esp compile error
Hello, medelec35
project name is: Flowcode2.fcfx
attached file is the .txt file
- Attachments
-
- Flowcode2.msg.txt
- (175.23 KiB) Downloaded 198 times
Re: esp compile error
inside there is just one component macro (in my case PWM enable)
- Attachments
-
- Flowcode2.fcfx
- (8.56 KiB) Downloaded 188 times
-
- Matrix Staff
- Posts: 1463
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 514 times
- Been thanked: 473 times
Re: esp compile error
Hello.
After selecting PWM:0 Timer:0 Pin:A from the PWM Timer properties, your project compiled for me.
Can you give that a try and attach the latest .msg.txt if still not compiling for you.
At least now compiling will be a lot quicker as it won't be the first time of compiling.
That means all the components are now free and there are no code size restrictions, unlike all the other versions of Flowcode.
After selecting PWM:0 Timer:0 Pin:A from the PWM Timer properties, your project compiled for me.
Can you give that a try and attach the latest .msg.txt if still not compiling for you.
At least now compiling will be a lot quicker as it won't be the first time of compiling.
Flowcode 10 is free for makers and hobbyists.
That means all the components are now free and there are no code size restrictions, unlike all the other versions of Flowcode.
Martin
Re: esp compile error
I have tried many times with different projects, different versions of Python. Few times I reinstall and the ESP toolchain, but without success.
If the project contains output, loops and delays it compiles without problem (making a led flash is not a problem and it uploads ).
here is latest .txt report....
If the project contains output, loops and delays it compiles without problem (making a led flash is not a problem and it uploads ).
here is latest .txt report....
- Attachments
-
- Flowcode2.msg.txt
- (30.56 KiB) Downloaded 164 times
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: esp compile error
Hello,
This is the error you're getting.
This is the error you're getting.
It looks like you need to go to Help -> Library Updates and get the latest files. Hopefully that should allow you to compile.C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_PWM.c:48:8: error: no macro name given in #define directive
48 | #define
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: esp compile error
Hello BenR and thank you for the help!!!
Actually thank you very much, it is working now!!
Actually thank you very much, it is working now!!