eeprom compiler error v6.0.4.0

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

Moderator: Benj

Post Reply
Peter Bonder
Posts: 3
Joined: Thu Jan 02, 2014 10:56 am
Been thanked: 1 time

eeprom compiler error v6.0.4.0

Post by Peter Bonder »

hi,

I installed FC6. Now I can't compile flowcode. In V5.x I had no problems
Please have some advice...
  • Date: Thursday, January 02, 2014 11:35:53
    Users: 1
    Registered to: Peter Bonder
    Licence key: xxxxx
    http://www.matrixmultimedia.com
    De compiler wordt gestart...
    C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat "D:\FLOWCO~2\Flowcode1" "D:\FLOWCO~2\" "30F3014"
    Launching compiler...

    D:\FLOWCO~2>pic30-gcc -c -mcpu="30F3014" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\..\MX_support" -Wall -std=gnu99 "D:\FLOWCO~2\Flowcode1".c -o "D:\FLOWCO~2\Flowcode1".o
    In file included from C:\Program Files (x86)\Flowcode 6\CAL\includes.c:119,
    from D:\FLOWCO~2\Flowcode1.c:95:
    C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_EEPROM.c: In function 'FC_CAL_EE_Read':
    C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_EEPROM.c:54: error: 'eeprom' undeclared (first use in this function)
    C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_EEPROM.c:54: error: (Each undeclared identifier is reported only once
    C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_EEPROM.c:54: error: for each function it appears in.)
    C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_EEPROM.c: In function 'FC_CAL_EE_Write':
    C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_EEPROM.c:77: error: 'eeprom' undeclared (first use in this function)

    Error returned from [pic30-gcc.exe]
    Completed compilation, return = 1

    C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat gerapporteerde foutcode 1


    KLAAR

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: eeprom compiler error v6.0.4.0

Post by Benj »

Hello Peter,

Thanks for the spot, I have found the cause of the problem and think I have now managed to resolve it.

To solve the issue you should just have to copy the attached file below into your "C:\Program Files (x86)\Flowcode 6\CAL\PIC16BIT" directory.
PIC16BIT_CAL_EEPROM.c
(2.97 KiB) Downloaded 263 times
Let me know how you get on.

Peter Bonder
Posts: 3
Joined: Thu Jan 02, 2014 10:56 am
Been thanked: 1 time

Re: eeprom compiler error v6.0.4.0

Post by Peter Bonder »

Benj,

Thank for you quick respond!!!

problem seems to be solved, although I have not tested live with a device.

think it will be okay

thanks again!!

Peter Bonder
Netherlands

Post Reply