ExpandClick

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
Einpumuckel
Posts: 2
Joined: 21 Dec 2020 17:39

ExpandClick

#1 Post by Einpumuckel » 23 Feb 2022 18:29

Hello,

i am a absolute beginner. I bought an "EXPANDclick" with MCP23S17 and i am using c-compiler 7.6.0 and EasyPicV7

I have installed the EXPANDclick examples. If i compile the example Click_Expand_Pic.c i got an error message....see below.

My question is, what did i forgot to install?

Thank you for your answer.


0 1 mikroCPIC1618.exe -MSF -DBG -pP18F87K22 -LHF -DL -O11111114 -fo64 -N"C:\ProgramData\mE\Temp\PM\Expand
Click_mCPIC_0\Examples\PIC\Click_Expand_PIC.mcppi"
-SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Defs\"
-SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\uses\P18\"
-SP"C:\ProgramData\mE\Temp\PM\Expand Click_mCPIC_0\Examples\PIC\"
-SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Packages\Expand Click\Uses\" -IP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\uses\P18\" -IP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Packages\Expand Click\Uses\" "Click_Expand_PIC.c" "__Lib_Math.mcl"
"__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl"
"__Lib_CString.mcl" "__Lib_Conversions.mcl" "__Lib_SoftSPI.mcl"
"__Lib_SoftUART.mcl" "__Lib_SPI_c345d654.mcl" "__Lib_UART_c67g12.mcl"
"Expand_P18.mcl" "Click_Expand.pld"
0 1139 Available RAM: 3841 [bytes], Available ROM: 131072 [bytes]
0 122 Compilation Started stdint.h
43 324 Undeclared identifier 'mikrobus_gpioInit' in expression Click_Expand_PIC.c
44 324 Undeclared identifier 'mikrobus_gpioInit' in expression Click_Expand_PIC.c
45 324 Undeclared identifier 'mikrobus_gpioInit' in expression Click_Expand_PIC.c
47 324 Undeclared identifier 'mikrobus_spiInit' in expression Click_Expand_PIC.c
49 324 Undeclared identifier 'mikrobus_logInit' in expression Click_Expand_PIC.c
56 324 Undeclared identifier '_MIKROBUS1_GPIO' in expression Click_Expand_PIC.c
56 324 Undeclared identifier '_MIKROBUS1_SPI' in expression Click_Expand_PIC.c
61 324 Undeclared identifier 'mikrobus_logWrite' in expression Click_Expand_PIC.c
62 324 Undeclared identifier 'mikrobus_logWrite' in expression Click_Expand_PIC.c
63 324 Undeclared identifier 'mikrobus_logWrite' in expression Click_Expand_PIC.c
69 324 Undeclared identifier 'mikrobus_logWrite' in expression Click_Expand_PIC.c
70 324 Undeclared identifier 'mikrobus_logWrite' in expression Click_Expand_PIC.c
73 312 Internal error '' Click_Expand_PIC.c
0 102 Finished (with errors): 23 Feb 2022, 17:32:53 Click_Expand_PIC.mcppi

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

Re: ExpandClick

#2 Post by filip » 28 Feb 2022 12:28

Hi,

Have you installed mikroSDK previously ?
https://libstock.mikroe.com/projects/view/2249/mikrosdk

Regards,
Filip.

Einpumuckel
Posts: 2
Joined: 21 Dec 2020 17:39

Re: ExpandClick

#3 Post by Einpumuckel » 28 Feb 2022 19:38

Hallo,

i have deleted all the software ans installed again.

in my libstock manager i have only the "mikro-sdk" and the "expand click"

if i compile now, i got a new error massage, see below .... if i choose another P18 controller like 18F45K22, the error message didn't found the file 18F45K22.c.

i think, the 18F45k22.c file is needed. how can i create it??


thank you for your answer.


0 1 mikroCPIC1618.exe -MSF -DBG -pP18F45K22 -DL -O11111114 -fo8 -N"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Packages\Expand Click\Examples\PIC\Click_Expand_PIC.mcppi" -SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Defs\" -SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\uses\P18\" -SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Packages\Expand Click\Examples\PIC\" -SP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Packages\Expand Click\Uses\" -IP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\uses\P18\" -IP"C:\KP_Easy_Pic_7\C-Compiler\7.6.0\mikroC PRO for PIC\Packages\Expand Click\Uses\" "Click_Expand_PIC.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CString.mcl" "__Lib_Conversions.mcl" "__Lib_SPI_c345d014.mcl" "__Lib_UART_c67d67.mcl" "__Lib_PortExpander.mcl" "easypic_v7_P18F45K22.mcl" "Click_Expand.pld"
0 1139 Available RAM: 1515 [bytes], Available ROM: 32768 [bytes]

0 340 File 'easypic_v7_P18F45K22.c' not found

0 102 Finished (with errors): 28 Feb 2022, 19:31:37 Click_Expand_PIC.mcppi

Post Reply

Return to “mikroC PRO for PIC General”