Gesture_Demo.mcp32 compile problem

General discussion on mikroC PRO for PIC32.
Post Reply
Author
Message
Jaro-Mahe
Posts: 3
Joined: 27 May 2022 16:14

Gesture_Demo.mcp32 compile problem

#1 Post by Jaro-Mahe » 15 Jun 2022 13:51

Dear Mikroe team.
I did download example project for Mikromedia 5 for PIC32MZ Capacitive .
If I want to build a Gesture_Demo.mcp32 in my mikroC PRO for PIC32 v.4.0.0-C, I have following errors indicated:
"Undeclared identifier 'TFT_Init_SSD1963_Board_50' in expression Gesture_demonstration_driver.c"
"Undeclared identifier 'FT5XX6_SetSize' in expression Gesture_demonstration_driver.c"
"Undeclared identifier 'ft5xx6_gest_move_up' in expression Gesture_demonstration_driver.c"
'Undeclared identifier 'ft5xx6_gest_move_left' in expression Gesture_demonstration_driver.c
'Undeclared identifier 'ft5xx6_gest_move_down' in expression Gesture_demonstration_driver.c
and some others.
Can You please help me to run it?
Thanks.
Jaro.

User avatar
Tanja_Kovacevic
mikroElektronika team
Posts: 98
Joined: 09 Aug 2021 11:39

Re: Gesture_Demo.mcp32 compile problem

#2 Post by Tanja_Kovacevic » 11 Jul 2022 16:47

Hi,

Please download the mlk file from the attachment,
and place it where your compiler is located,
at this precise location:
C:\...\Mikroelektronika\mikroC PRO for PIC32\Defs

If you have some additional troubles regarding this issue,
write us at support [at] mikroe [dot] com.


Kind regards,
Tanja
Attachments
P32MZ2048EFH144.zip
(13.02 KiB) Downloaded 68 times

Jaro-Mahe
Posts: 3
Joined: 27 May 2022 16:14

Re: Gesture_Demo.mcp32 compile problem

#3 Post by Jaro-Mahe » 16 Aug 2022 09:48

Sorry, but it does not solve the compilation fault.

Jaro-Mahe
Posts: 3
Joined: 27 May 2022 16:14

Re: Gesture_Demo.mcp32 compile problem

#4 Post by Jaro-Mahe » 18 Aug 2022 10:22

Problem is solved. :)
After I did install libraries obtained from Mikroe, compilation run successfully.
Here are zipped needed libraries, if anyone need them:
TFT_lib.zip
(35.61 KiB) Downloaded 72 times

michael_k
Posts: 2
Joined: 24 Feb 2023 21:41

Re: Gesture_Demo.mcp32 compile problem

#5 Post by michael_k » 27 Feb 2023 04:47

Dear Mikroe team,

I also tried to get the example project for Mikromedia 5 for PIC32MZ Capacitive working.

I could only compile it after using libraries found at this forum topic and updating the P32MZ2048EFH144.mlk.
Compiled code still does not work properly on the Mikromedia 5.

Please advise.

Thank you,
Michael
Attachments
20230226_223316.jpg
20230226_223316.jpg (35.47 KiB) Viewed 1819 times

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

Re: Gesture_Demo.mcp32 compile problem

#6 Post by filip » 03 Mar 2023 14:09

Hi,

can you please tell me which version of the compiler are you using ?

Regards,
Filip.

michael_k
Posts: 2
Joined: 24 Feb 2023 21:41

Re: Gesture_Demo.mcp32 compile problem

#7 Post by michael_k » 26 Jun 2023 03:51

Hi,

I use mikroC PRO for PIC32.

Thank you,
Michael

christopher.thorpe
Posts: 3
Joined: 27 Oct 2023 03:13

Re: Gesture_Demo.mcp32 compile problem

#8 Post by christopher.thorpe » 27 Oct 2023 05:01

I am experiencing the same issue as described above in this thread. I am using MikroC Pro for PIC32 version 4.0.0

To get it to compile I had to convert

TFT_Init_SSD1963_Board_50(800, 480);
to
TFT_Init_SSD1963(800, 480);
because it was getting the error below.
"74 324 Undeclared identifier 'TFT_Init_SSD1963_Board_50' in expression Gesture_demonstration_driver.c"

I am using the Codegrip programmer.
When I flash the hex file that you download with the Gesture demonstration (Demo touch and swipe) the display looks correct(Below).
20231026_234921.jpg
20231026_234921.jpg (2.17 MiB) Viewed 718 times
However, the display resets every 25 seconds with no input from the user and when using the "zoom" gesture to change the color causes the display to freeze, not respond to user input and then eventually reset.

I have compiled the demonstration with the following project settings.
project settings.png
project settings.png (4.41 KiB) Viewed 718 times
Below is what my LCD screen looks like when I compile the project.
20231026_235015.jpg
20231026_235015.jpg (3.65 MiB) Viewed 718 times
I am not sure what is happening because even when I flash the display with the hex file Mikroe provides the display still freezes and resets. Thanks for your help in advance.

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

Re: Gesture_Demo.mcp32 compile problem

#9 Post by filip » 30 Oct 2023 14:23

Hi,

Can you please attach your project here ?

Regards,
Filip.

christopher.thorpe
Posts: 3
Joined: 27 Oct 2023 03:13

Re: Gesture_Demo.mcp32 compile problem

#10 Post by christopher.thorpe » 31 Oct 2023 13:16

Sure here is my project attached.
Attachments
Demo_Touch_and_Swipe.zip
(965 KiB) Downloaded 27 times

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

Re: Gesture_Demo.mcp32 compile problem

#11 Post by filip » 03 Nov 2023 11:34

Hi,

I believe I have answered you on the HelpDesk regarding this issue.

Regards,
Filip.

christopher.thorpe
Posts: 3
Joined: 27 Oct 2023 03:13

Re: Gesture_Demo.mcp32 compile problem

#12 Post by christopher.thorpe » 15 Dec 2023 02:10

Filip thanks for your help. I am still having a problem where the Mikromedia 5 LCD resets every 24-25 seconds. I have attached the hex file displaying the behavior but changed its extension to a .zip so it could be uploaded here. If it matters on your end please change the extension back to .hex.
Attachments
Gesture_Demo.zip
(286.81 KiB) Downloaded 11 times

Post Reply

Return to “mikroC PRO for PIC32 General”