clicker_2_STM32.c not Found compilation error

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
steam.hyperpolyglot
Posts: 1
Joined: 05 Oct 2019 10:55
Location: Singapore
Contact:

clicker_2_STM32.c not Found compilation error

#1 Post by steam.hyperpolyglot » 05 Oct 2019 11:26

Hey guys, I used to go by the forum handle "cxshermansg", but its a really old handle and I have since re-branded myself.

Anyhow, today, after a really long time, I have finally decided to jump into the deep end when it comes to using the click boards. Yes, I bought a bunch of them quite a while ago...like almost 2 years ago..., they are still in the former white box packaging too. :lol:

Image

So I decided to take out my click boards to use them. It's not before long that I ran into my first challenge with it.

When I tried to include the clicker 2 for STM32 mikroSDK BDF API and compiled the project, it tells me that clicker_2_STM32.c is not found.

Image

But when I look for the library file, it is present in the installation directory under Packages.

Code: Select all

C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for ARM\Packages\mikroBUS BDF API\Uses
That is the path on my system.

What do I need to do to be able to get this working? I'm trying to make use of the SHT1x click board. I figured a temperature & humidity sensor is a good place to start. When I select the necessary library from the library manager, this is what I am seeing.

Image

I've got a bunch of other click boards like capacitive touch, Riverdi displays, DC motor 8 and so on. Some I invested on my own, others sponsored as a gift by some of the former staff from mikroElektronika. I hope to do some live streaming content about the hardware/software in the coming weeks and months. But I need to get through the basics first.
"Imagination is Everything. It is the Preview of Life's Coming Attractions."
- Albert Einstein

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: clicker_2_STM32.c not Found compilation error

#2 Post by jovana.medakovic » 08 Oct 2019 10:21

Hello,

Please, go to Project -> Edit Search Paths and add this path:
C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for ARM\Packages\mikroBUS BDF API\Uses

In the Library Manager include SHT1x_STM32_M4 library.

After that, press Alt + F9 to rebuild all sources.

Kind regards,
Jovana

coa123
Posts: 3
Joined: 21 Jun 2023 22:46

Re: clicker_2_STM32.c not Found compilation error

#3 Post by coa123 » 21 Jun 2023 22:48

Hello all, I am having same problem, but I can't find SHT1x_STM32_M4 library. How can I resolve this issue ?

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: clicker_2_STM32.c not Found compilation error

#4 Post by IvanJeremic » 28 Jun 2023 10:57

Hi,

Did you install the example with our package manager (https://www.mikroe.com/package-manager, https://libstock.mikroe.com/projects/vi ... ht1x-click), or did you install it from the compiler itself?

Try both, if it never appears send me a screenshot of your Library Manager.

Regards,

Ivan.

coa123
Posts: 3
Joined: 21 Jun 2023 22:46

Re: clicker_2_STM32.c not Found compilation error

#5 Post by coa123 » 01 Jul 2023 19:05

Update:
I downloaded and installed 1559747439_sht1x_click_mikroc_arm.mpkg, then in my project (2841_hdc1000_and_g2c_click_demo_v1.0.0.0 from libstock) I checked SHT1x_STM32_M4 in Library Manager, but After then when I try to build project I am getting same error : "0 340 File 'clicker_2_STM32.c' not found". Also, I have checked that clicker_2_STM32 in Library Manager also.
Any suggestions what to do ?

coa123
Posts: 3
Joined: 21 Jun 2023 22:46

Re: clicker_2_STM32.c not Found compilation error

#6 Post by coa123 » 01 Jul 2023 19:27

One more thing, I also downloaded, installed and checked in Lib Menager 1538055615_ldc1000_click_mikroc_arm.mpkg and 1553158854_g2c_click_mikroc_arm.mpkg.

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: clicker_2_STM32.c not Found compilation error

#7 Post by IvanJeremic » 20 Jul 2023 13:51

Hi,

This is what it looks like to me when i installed the example from Libstock Manager in the compiler.
Untitled.png
Untitled.png (25.54 KiB) Viewed 528 times
If you do not see it, can you tell me at what path did you install your compiler?

Do you have administrative privileges on that path?

I have also attached my project here:
SHT1x Click.7z
(224.84 KiB) Downloaded 20 times
Regards,

Ivan.

Post Reply

Return to “mikroC PRO for ARM General”