Flowcode 4 / Miac compile error
Posted: Tue Jul 06, 2010 12:51 pm
Hi Support team,
I have been playing around with the MIAC device and have attempted to create multi-layer menus for display of application and diagnostic data using Flowcode 4 professional. The programme works fine in simulation mode and fucntions as you would expect using the up/down, left/right combination keys.
When I go to compile flowcode to hex or chip i get the following failure
multilevel_menu3.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\pp.exe "E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include -d _PIC18F4455 -la -c2 -o "E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.pp" -v -d _BOOSTC -d _PIC18
..................
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: missing right paren
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: error in 'if' expression
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: missing right paren
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: missing semicolon
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(864): error: failure
failure
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
I have attached the the various files .fcf, .c and the error log for your review. I have looked at the 'C' file and it looks ok, however i would appreciate if you could take a look and verify for me pls. Th erros dont make a lot of sense to me is the (XXX) the line no?
Not having much experince with nested loops - I am suspecting that with the amount of tests that I'm requesting that my loops maybe too deep... is there a maximum no and depth?
would appreciate any assistance that you may provide.
all the best
Pete
I have been playing around with the MIAC device and have attempted to create multi-layer menus for display of application and diagnostic data using Flowcode 4 professional. The programme works fine in simulation mode and fucntions as you would expect using the up/down, left/right combination keys.
When I go to compile flowcode to hex or chip i get the following failure
multilevel_menu3.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\pp.exe "E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include -d _PIC18F4455 -la -c2 -o "E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.pp" -v -d _BOOSTC -d _PIC18
..................
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: missing right paren
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: error in 'if' expression
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: missing right paren
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(872): error: missing semicolon
E:\My Documents\HAZTECH SYSTEMS\matrixmultimedia\software_component_library\menus\multilevel_menu3.c(864): error: failure
failure
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
I have attached the the various files .fcf, .c and the error log for your review. I have looked at the 'C' file and it looks ok, however i would appreciate if you could take a look and verify for me pls. Th erros dont make a lot of sense to me is the (XXX) the line no?
Not having much experince with nested loops - I am suspecting that with the amount of tests that I'm requesting that my loops maybe too deep... is there a maximum no and depth?
would appreciate any assistance that you may provide.
all the best
Pete