Page 1 of 1

compile error when build to hex

Posted: Wed Mar 15, 2023 11:22 am
by Maverick
Hi

from compiler message file

In V9 the pic compiler used is C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8.exe which compiles correctly

In V10 the compiler used is C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8-cc.exe which does not compile

please advise solution, I've had a look under compiler options but I cannot see where the .exe is speciifed

Re: compile error when build to hex

Posted: Wed Mar 15, 2023 11:46 am
by medelec35
Hello the correct path should be

Code: Select all

C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin
The path you specified is used for Flowocode v7 & v8 compiler only.
I'm surprised it worked for v9
With Flowcode closed, please download the correct compiler from this link.
If you are still having trouble compiling after, please post your .c .fcfx. and .msg.txt files.
If what I suggested works, can you please let me know?

Re: compile error when build to hex

Posted: Wed Mar 15, 2023 1:31 pm
by Maverick
Thanks Martin

worked fine

Re: compile error when build to hex

Posted: Wed Mar 15, 2023 1:42 pm
by medelec35
Thank you for the post and letting me know it's working.
As it's not a bug, I will move it from the bugs section.
At least if other people have the same issue then they know what to do.