Compile errors.
Posted: Mon Feb 15, 2010 5:02 am
Hi.
I try compile some my little older program,witch is done last summer,but I get compile errors,even I havent modify the program, and in the summer program compiles fine..
The error looks this.
compile test.c
Starting preprocessor: G:\FLOWCO~1\BoostC\pp.exe "Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c" -i G:\FLOWCO~1\BoostC\include -d _PIC18F4620 -la -c2 -o "Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.pp" -v -d _BOOSTC -d _PIC18
G:\flowcode4\FCD\internals.h(80): warning: unknown or invalid pragma (ignored)
.............................
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1251:44): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1251:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1251:2): error: failed to generate expression
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1252:18): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1252:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1252:2): error: failed to generate expression
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1295:50): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1295:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1295:2): error: failed to generate expression
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1296:18): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1296:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1296:2): error: failed to generate expression
compile test.c success
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
Nothing else should not change,but the FC4 is updated version 4.2...
I had similar problem other programs too, if they are done the older version of Flowcode, the program wont compile untill print string function are removed...
And the same problem is my both computers, so i dont think that could be related to computer or corrupted installation..
Any ideas?
Mika
I try compile some my little older program,witch is done last summer,but I get compile errors,even I havent modify the program, and in the summer program compiles fine..
The error looks this.
compile test.c
Starting preprocessor: G:\FLOWCO~1\BoostC\pp.exe "Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c" -i G:\FLOWCO~1\BoostC\include -d _PIC18F4620 -la -c2 -o "Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.pp" -v -d _BOOSTC -d _PIC18
G:\flowcode4\FCD\internals.h(80): warning: unknown or invalid pragma (ignored)
.............................
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1251:44): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1251:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1251:2): error: failed to generate expression
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1252:18): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1252:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1252:2): error: failed to generate expression
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1295:50): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1295:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1295:2): error: failed to generate expression
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1296:18): error: unknown identifier 'FCI_TMP_STR'
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1296:17): error: arguments of 'FCI_CONCATENATE' don't match the parameters of call
Y:\Backup Thinkpad\Memeo\Backup Thinkpad\F_\Flowcode V4\Omat\takilaohjain 64x128\compile test.c(1296:2): error: failed to generate expression
compile test.c success
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
Nothing else should not change,but the FC4 is updated version 4.2...
I had similar problem other programs too, if they are done the older version of Flowcode, the program wont compile untill print string function are removed...
And the same problem is my both computers, so i dont think that could be related to computer or corrupted installation..
Any ideas?
Mika