Compiling Error 18F8722

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Compiling Error 18F8722

Post by saschech@gmx.de »

Hallo Steve , Benj

I want start to day a new Project with a pic 18f8722.I have a problem
with the port I.

sapimu_18f8722.c
Starting preprocessor: "C:\Programme\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" D:\sapimu_18f8722\sapimu_18f8722.c -i "C:\Programme\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC18F8722 -la -c2 -o sapimu_18f8722.pp -v -d _BOOSTC -d _PIC18

D:\sapimu_18f8722\sapimu_18f8722.c(93:2): error: unknown identifier 'trisi'
D:\sapimu_18f8722\sapimu_18f8722.c(93:2): error: invalid operand 'trisi'
D:\sapimu_18f8722\sapimu_18f8722.c(93:8): error: failed to generate expression
D:\sapimu_18f8722\sapimu_18f8722.c(94:2): error: unknown identifier 'porti'
D:\sapimu_18f8722\sapimu_18f8722.c(94:2): error: invalid operand 'porti'
D:\sapimu_18f8722\sapimu_18f8722.c(94:8): error: failed to generate expression
sapimu_18f8722.c success

failure

...
Return code = 1

Flowcode konnte den C-Kode des Flussdiagramms nicht kompilieren, da folgende Fehler auftraten:


Wenn Ihr Flussdiagramm C-Kode enthält,überprüfen Sie diesen sorgfältig. Falls das Flussdiagramm keinen C-Kode enthält oder Sie sich sicher sein können, dass dieser Kode fehlerfrei ist, dann wenden Sie sich an den technischen Support.

FINISHED

What going wrong?

Regards Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compiling Error 18F8722

Post by Benj »

Hello Wolfgang

I think that I have found the cause of the problem.

In the top window of the supplementary code window add the following lines of code.

#define trisi trisj
#define porti portj

The supplementary code window is available via Edit - Supplementary code.

I will fix this problem in the FCD file ready for the next update of Flowcode.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Compiling Error 18F8722

Post by saschech@gmx.de »

Hallo Benj

I dont understand:

"The supplementary code window is available via Edit - Supplementary code. "

What is the name of this datei?You mean the dos window edit?

Regards wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compiling Error 18F8722

Post by Benj »

Hello Wolfgang.

In Flowcode click on the Edit menu and select Supplementary code.

In the top window paste the following lines of text.

#define trisi trisj
#define porti portj

Click Ok and your program should now compile correctly.

Post Reply