Line error with 9606 chars inside ???

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
paulfjujo
Posts: 1552
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Line error with 9606 chars inside ???

#1 Post by paulfjujo » 13 Jan 2022 16:40

hello,

I am facing with this error :

9606 chars in only one line !!!!!

51 1354 "/*" within comment C:\_MikroC\_MesProjets_MikroC\_CLAVIER_18F27K42_2021\Clavier_DIGIT4000_18F27K42_V4_V6_2021_1216.c 021\Eeprom_Clavier_HT_18F27K42_2021_09" -N"C:\_MikroC\_MesProjets_MikroC\_CLAVIER_18F27K42_2021\Clavier_18F27K42_DIGIT_V4-V6_2021-1216.mcppi" -SP"C:\_MikroC\mikroC PRO for PIC\Defs\" -SP"C:\_MikroC\mikroC PRO for PIC\uses\P18\" -SP"C:\_MikroC\_MesProjets_MikroC\_CLAVIER_18F27K42_2021\" -IP"C:\_MikroC\mikroC PRO for PIC\uses\P18\" "Clavier_DIGIT4000_18F27K42_V4_V6_2021_1216.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_Button.mcl" "__Lib_ADC_K40.mcl" "__Lib_EEPROM_1024_K42.mcl" "__Lib_PPS_2xK42.mcl" "__Lib_UART_Remappable_K42_83.mcl" 1 error in preprocessor. "/*" within comment C:\_MikroC\_MesProjets_MikroC\_CLAVIER_18F27K42_2021\Clavier_DIGIT4000_18F27K42_V4_V6_2021_1216.c 021\Eeprom_Clavier_HT_18F27K42_2021_09" -N"C:\_MikroC\_MesProjets_MikroC\_CLAVIER_18F27K42_2021\Clavier_18F27K42_DIGIT_V4-V6_2021-1216.mcppi" -SP"C:\_MikroC\mikroC PRO for PIC\Defs\" -SP"C:\_MikroC\mikroC PRO for PIC\uses\P18\" -SP"C:\_MikroC\_MesProjets_MikroC\_CLAVIER_18F27K42_2021\" -IP"C:\_MikroC\mikroC PRO for PIC\uses\P18\" "Clavier_DIGIT4000_18F27K42_V4_V6_2021_1216.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_Button.mcl" "__Lib_ADC_K40.mcl" "__Lib_EEPROM_1024_K42.mcl" "__Lib_PPS_2xK42.mcl" "__Lib_UART_Remappable_K42_83.mcl" 1 error in preprocessor.

impossible to find out an this error ....

in this line error i don't have my actual
project file name , source file name and eeprom file name witch are :
Clavier_18F27K42_DIGIT_V4-V6_2022-01xx.mcppi
Clavier_DIGIT4000_18F27K42_V4_V6_2022_0113.c
Clavier_18F27K42_DIGIT_V4-V6_2022-0113.ihex

as you can see in my project manager
MikroC_bug_2022-0113.jpg
MikroC_bug_2022-0113.jpg (186.49 KiB) Viewed 915 times
i think, there are some bugs in MirkroC file management ...

paulfjujo
Posts: 1552
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Re: Line error with 9606 chars inside ???

#2 Post by paulfjujo » 13 Jan 2022 20:43

i found somme refresh problems inside findinfiles.ini
no trace of my working directory CLAVIER_18F27K42_2022 , only a old one CLAVIER_18F27K42_2021
so i removed all trace of files dated on 2021
added manualy the path of my actual directory inside findinfiles.ini

and restart MikroC and my project
the big line of 9606 chars has disapear ..
just 2 litle errors remaining :
a " missing at the end of a string
and : instead of ; at the end of instruction
after correction, compiling ..OK
No errors
OK

i think the file management in MikroC has some bug ...
The Windows file management systeme is not used or with bug ..
Why _ ( underscore charactere) is not accepted for new project wizard ?

Concerning EEprom 18F27K42
When will the bug be corrected ?
bad adress for eeprom !

MikroE support is very bad !

Code: Select all

Rappel PB avec EEPROM et MikroC
29/11/2019
ex:
Horloge_V1_PIC18F27K42_Anneau_entier_60leds_4_Matrices_Max7219_1912_eeprom.ihex!
:020000040121D8 <--- Probleme ICI à remplacer par :020000040031C9
:100000003165726520486F726C6F676520416E6E56
.......
* par contre pour recharger le fichier EEprom dans le Tools MikroC
il faut REMETTRE LA BAD ADRESSE !
mettre à jour le fichier sous mikroC avec Tools Eeprom
Ne pas compiler
et .. rechanger l'adresse pour que le programme puisse etre complié correctement
et chargeable avec MPLAB IPE + Pickit4


User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Line error with 9606 chars inside ???

#3 Post by filip » 17 Jan 2022 10:19

Hi,

Can you please attach the project that demonstrates this issue ?

Regards,
Filip.

paulfjujo
Posts: 1552
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Re: Line error with 9606 chars inside ???

#4 Post by paulfjujo » 23 Jan 2022 19:50

Hello Filip,


unfortunatly, i allready cancelled my old files dated 2021,
and modify manually the file findinfiles.ini
so i can't anymore reproduce this problem.
But as you can see in the screen copy of my project ,
the file into the project where wit the data 2022
and the big error line contains references of 2021 files !

i allready encounter problems with save and restore files inside mikroC environment .
... somme refresching problem ?
Now, every time i do change on my source name ..
Even i can see it ,inside the project ,
i save the project , close MikroC , and restart it ..
it seems a correct way to solve this problem.

Post Reply

Return to “mikroC PRO for PIC General”