ghostman11
Well-Known Member
i tried to compile the code using mikroc compiler. please bear in mind i have been able to do nothing in c so far with this compiler, and i got the following errors
Code:0 1 mikroCPIC1618.exe -MSF -DBG -pP18F1320 -DL -O11111114 -fo4 -N"C:\Documents and Settings\jason\My Documents\newlcd test.mcppi" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for PIC\defs\" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for PIC\uses\P18\" -SP"C:\Documents and Settings\jason\My Documents\" "newlcd test.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" 0 125 All files Preprocessed in 40 ms 0 121 Compilation Started newlcd test.c 15 300 Syntax Error: ')' expected, but 'Chr' found newlcd test.c 16 369 Specifier needed newlcd test.c 16 300 Syntax Error: ')' expected, but 'char' found newlcd test.c 21 300 Syntax Error: ')' expected, but 'char' found newlcd test.c 24 369 Specifier needed newlcd test.c 24 394 Invalid declarator expected'(' or identifier newlcd test.c 27 369 Specifier needed newlcd test.c 27 300 Syntax Error: ')' expected, but 'char' found newlcd test.c 28 312 Internal error '' newlcd test.c 0 102 Finished (with errors): 04 Jan 2010, 15:36:53 newlcd test.mcppi
could you give me some pointers please, at this stage a nudge in the right direction would be nicei need to get to grips with mikro c so i am just after a nudge
(hopefully)
ok ignore this for now, i have kind of figured i need to go thru slowly and try and find the correct syntax for mikroc pro! if i get stuck i will be bothering you all again tho