# 'Blinkstick.h' could not be found error implementation in C

**URL:** <https://forums.blinkstick.com/t/blinkstick-h-could-not-be-found-error-implementation-in-c/1642>\
**Category:** Support\
**Created:** [July 27, 2023, 1:47pm UTC](https://forums.blinkstick.com/t/blinkstick-h-could-not-be-found-error-implementation-in-c/1642 "2023-07-27T13:47:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andres](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@andres](https://forums.blinkstick.com/u/andres)\
**Post date:** [July 27, 2023, 1:47pm UTC](https://forums.blinkstick.com/t/blinkstick-h-could-not-be-found-error-implementation-in-c/1642/1 "2023-07-27T13:47:09Z")

</div>

Hello community, I followed the download and build guideline from ebenoist on his repo [https://github.com/ebenoist/libblinkstick](https://github.com/ebenoist/libblinkstick) and I was able to download the makefiles and build it on my mac. I got the Blinkstick-CLI tool working. But, when I wanted to compile my own C file it gave me the error: “‘Blinkstick.h’ could not be found”. It’s weird because the Blinkstick-CLI tool is working which means I have all the libraries and software installed into my system. I wanted to reach out if anyone knows how I can tackle this error. - Thank you.

This is the code i am running:

```
   #include <stdio.h>
   #include <blinkstick.h>

   int main() {
       blinkstick_device* device = blinkstick_open();
       if (device == NULL) {
           printf("Failed to open BlinkStick device\n");
           return 1;
       }
       
       blinkstick_set_color(device, 255, 0, 0); // Set color to red
       usleep(1000000); // Sleep for 1 second
       blinkstick_set_color(device, 0, 0, 0); // Turn off the LED

       blinkstick_close(device);
       return 0;
   }
```
