It may be a bug on my part.
The screenshot says "Compile Error".
I have included the V10 program.
Compile error for a do nothing program
-
- Posts: 8
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 06, 2024 4:41 pm
Compile error for a do nothing program
- Attachments
-
- Mega_LeafBatteryPackTrials.fcfx
- (18.34 KiB) Downloaded 42 times
-
- Flowcode Error.png (47.17 KiB) Viewed 1061 times
-
- Matrix Staff
- Posts: 1416
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 193 times
- Been thanked: 331 times
Re: Compile error for a do nothing program
I just tried this project and it compiled without error. Although I had to change the target device because Flowcode complained when I loaded it, saying the FCD file was missing or corrupt.
You should try updating your library files and make sure you are using a valid unmodified target device.
If you are still having issues, please post the .c and the .msgtxt files also as these may help determine what has gone wrong for you.
You should try updating your library files and make sure you are using a valid unmodified target device.
If you are still having issues, please post the .c and the .msgtxt files also as these may help determine what has gone wrong for you.
-
- Matrix Staff
- Posts: 1665
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 581 times
- Been thanked: 556 times
Re: Compile error for a do nothing program
Just a pin not connected can be one of the causes of Syntax error
I loaded your project and for me it compiled without any changes or errors.
Perhaps you could run a full database library update, then reload your project and compile again.
Edit: Steve beat me to it, but at least there are two people now saying your project compiles OK
I loaded your project and for me it compiled without any changes or errors.
Perhaps you could run a full database library update, then reload your project and compile again.
Edit: Steve beat me to it, but at least there are two people now saying your project compiles OK
Martin
-
- Posts: 8
- Joined: Fri Dec 06, 2024 4:41 pm
Re: Compile error for a do nothing program
A couple of questions.
1. I opened a known good program on an UNO, modified it and d/l it, and got the same error.
So I am thinking that the problem resides either with my computer or the software.
2. How do you update all library files?
3. What model of Laptop are you using? I am thinking of having a dedicated computer for Flowcode.
1. I opened a known good program on an UNO, modified it and d/l it, and got the same error.
So I am thinking that the problem resides either with my computer or the software.
2. How do you update all library files?
3. What model of Laptop are you using? I am thinking of having a dedicated computer for Flowcode.
-
- Posts: 8
- Joined: Fri Dec 06, 2024 4:41 pm
Re: Compile error for a do nothing program
The C code is too large of a file to post . Even for "Hello World"
-
- Matrix Staff
- Posts: 1416
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 193 times
- Been thanked: 331 times
Re: Compile error for a do nothing program
Sorry. By "post" I meant add then to a reply here as an attachment. You can either drag the file(s) across onto the area you type in or can use the attachment tab.Billduck1302 wrote: ↑Thu Dec 12, 2024 7:19 pmThe C code is too large of a file to post . Even for "Hello World"
The C file should not be too large to be attached. The "Mega_LeafBatteryPackTrials.c" file produce when I compile your project is 101 kB and the "Mega_LeafBatteryPackTrials.msg.txt" file is just 8 kB.
If they are still too large, then you could zip them up and add the zip file.
-
- Matrix Staff
- Posts: 1416
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 193 times
- Been thanked: 331 times
Re: Compile error for a do nothing program
The information in the C and MSG.TXT files should help us determine what the issue is and we'll know more when we can view them.Billduck1302 wrote: ↑Thu Dec 12, 2024 6:55 pm1. I opened a known good program on an UNO, modified it and d/l it, and got the same error.
So I am thinking that the problem resides either with my computer or the software.
It's on the menu bar under "Help...Library Updates..."
Flowcode does not need a particularly powerful computer or laptop to run. If it can run Windows 10, then it should run Flowcode fine.Billduck1302 wrote: ↑Thu Dec 12, 2024 6:55 pm3. What model of Laptop are you using? I am thinking of having a dedicated computer for Flowcode.
-
- Posts: 8
- Joined: Fri Dec 06, 2024 4:41 pm
Re: Compile error for a do nothing program
The c file is attached.
- Attachments
-
- HelloWorld1.txt
- (71.17 KiB) Downloaded 42 times
-
- Matrix Staff
- Posts: 1416
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 193 times
- Been thanked: 331 times
Re: Compile error for a do nothing program
Thanks. The syntax errors occur in the gLCD font routines. I don't know why this should happen though. Are your library files up-to-date?
-
- Posts: 8
- Joined: Fri Dec 06, 2024 4:41 pm
Re: Compile error for a do nothing program
The library files are up to date. Thanks.
The only thing I know to do is to d/l FC 10 onto a new computer.
The only thing I know to do is to d/l FC 10 onto a new computer.