# Trying to get the MinimalExample to work

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/trying-to-get-the-minimalexample-to-work/854>\
**Category:** Uncategorized\
**Created:** [August 8, 2024, 7:06pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/trying-to-get-the-minimalexample-to-work/854 "2024-08-08T19:06:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhgm](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hhgm](https://rpi-rgb-led-matrix.discourse.group/u/hhgm)\
**Post date:** [August 8, 2024, 7:06pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/trying-to-get-the-minimalexample-to-work/854/1 "2024-08-08T19:06:27Z")

</div>

I am new to this repositoty/tool, but I am an experienced C# developer, and I have made software for the Raspberry Pi using C#.  
Now I want to figure out how to get started with this, because I want to extend my software with the capability to display the output n LEDs.  
I am able to build the MinimalExample, but when I run it, I get this Error:

System.DllNotFoundException: ‘Unable to load DLL ‘librgbmatrix.so.1’ or one of its dependencies: The specified module could not be found. (0x8007007E)’

And I can see that it is the main dll in use by the RPiRgbLEDMatrix project… but not really sure how to build that… or obtain it.

/HH

---

<div class="post-metadata">

**Author:** ![hhgm](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hhgm](https://rpi-rgb-led-matrix.discourse.group/u/hhgm)\
**Post date:** [August 11, 2024, 7:41am UTC](https://rpi-rgb-led-matrix.discourse.group/t/trying-to-get-the-minimalexample-to-work/854/2 "2024-08-11T07:41:34Z")

</div>

I now have a working C++ installation with visual studio (NMAKE) but it has been too long since I worked with C++ (30 years) and I suspect I need to build the library to obtain the dll referenced (the missing file)

So I have tried this:

 ![image](https://global.discourse-cdn.com/free1/uploads/rpi_rgb_led_matrix/original/1X/cdbaff6903ef96e1e2b309511efc20bfce9db9e8.png)

---

<div class="post-metadata">

**Author:** ![hhgm](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hhgm](https://rpi-rgb-led-matrix.discourse.group/u/hhgm)\
**Post date:** [October 17, 2024, 6:05am UTC](https://rpi-rgb-led-matrix.discourse.group/t/trying-to-get-the-minimalexample-to-work/854/3 "2024-10-17T06:05:39Z")

</div>

For others ending up here trying to make the C# stuff work… follow these instructions:

> **[Adafruit RGB Matrix + Real Time Clock HAT for Raspberry Pi](https://learn.adafruit.com/adafruit-rgb-matrix-plus-real-time-clock-hat-for-raspberry-pi/driving-matrices)**
>
> You can now create a dazzling display with your Raspberry Pi with the Adafruit RGB Matrix HAT. This HAT plugs into your Pi and makes it super easy to control RGB matrices such as those we stock in the shop and create a colorful scrolling display or...
