I am using the great cow basic version 0.96.00 2016-12-14
I wrote a little program that turn on and off a led. The first time that i clicked on the HEX button, the hex file was created without problems, i burned my pic and it worked correctly, but when I tried to compile the second time the SynWrite showed me a window with the text
It always happens when I try to compile after the first time, I mean that it only compiles succesfully one time.
The program is:
chip 16F628A, 4
config LVP=OFF
Dir PORTB.3 OUT
SET PORTB.3 ON
WAIT 100 MS
SET PORTB.3 OFF
WAIT 100 MS
I tried with other programs but they come with the same problem. I uninstall the great cow basic and installed it again and works only one time again.
I am running the great cow basic under ubuntu 16.04 (elementary os loki).
How can i solve this problem?
Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the great cow basic version 0.96.00 2016-12-14
I wrote a little program that turn on and off a led. The first time that i clicked on the HEX button, the hex file was created without problems, i burned my pic and it worked correctly, but when I tried to compile the second time the SynWrite showed me a window with the text
*** makeHEX.bat ***
Great Cow Basic Pre-processing (v0.96.00)
Exiting...
After I clicked on "close" button, this text appear in the output window of SynWriter:
22:41:00 G+Stool-COMPILE/ASSEMBLE, processing c:\GCB@Syn\G+Stools\makeHEX.bat
Source-File = Z:\home\matematicas\Documents\Microcontroladores\Programas\GCBasic\prenderled.gcb
12.4 Sec. <<< WARNINGs / ERRORs while compiling!
Doubleclick on errormessage below to go to sourcecode-line:
glcd_ST7920.h (198): Error: 2. Unbalanced Braces
glcd_ST7920.h (201): Error: 2. Unbalanced Braces
glcd_ST7920.h (204): Error: 2. Unbalanced Braces
glcd_ST7920.h (213): Error: 2. Unbalanced Braces
glcd_ST7920.h (216): Error: 2. Unbalanced Braces
mylcd.h (92): Error: 2. Unbalanced Braces
mylcd.h (452): Error: 2. Unbalanced Braces
mylcd.h (471): Error: 2. Unbalanced Braces
mylcd.h (478): Error: 2. Unbalanced Braces
mylcd.h (481): Error: 2. Unbalanced Braces
lcd.h (261): Error: 2. Unbalanced Braces
lcd.h (274): Error: 2. Unbalanced Braces
lcd.h (1494): Error: 2. Unbalanced Braces
lcd.h (1502): Error: 2. Unbalanced Braces
lcd.h (1572): Error: 2. Unbalanced Braces
lcd.h (1602): Error: 2. Unbalanced Braces
It always happens when I try to compile after the first time, I mean that it only compiles succesfully one time.
The program is:
chip 16F628A, 4
config LVP=OFF
Dir PORTB.3 OUT
SET PORTB.3 ON
WAIT 100 MS
SET PORTB.3 OFF
WAIT 100 MS
I tried with other programs but they come with the same problem. I uninstall the great cow basic and installed it again and works only one time again.
I am running the great cow basic under ubuntu 16.04 (elementary os loki).
How can i solve this problem?
Thanks for your help.
As a workaround please use the attached file.
Install in your C:\GCB@Syn\G+Stools folder. Rename the existing file.
Last edit: Anobium 2016-12-23
It works!
Thank you very much for your prompt and accurate answer!!!!
This is an issue related to the command processor\emulator within Linux. This workaround simply does not inspect the source files prior to compiling.