user46703: #include <LedControl.h>

void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}

This is my code with LedControl.h it gives me exit status 1 can't compile to arduino uno. Please help.
if I remove #include it works as normal.
also aruino says that the library has been installed.
what I have tried (and didn't work)
re-installing the library.
re-downloading arduino.

user313: I tried compiling your code with Arduino 1.6.12. As you found, without the #include, it compiles OK. With the #include, it fails. Here is the error message I got:
/var/folders/bl/s5kzhm3s0lb2rcvp3md8c7040000gp/T/untitled1814027053.tmp/sketch_may17a/sketch_may17a.ino:1:24: fatal error: LedControl.h: No such file or directory
 #include <LedControl.h>
                        ^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno 115.2.

The error - at least in my case - is that the library, LedControl.h, was not found. Try to find out why not.

also aruino says that the library has been installed.

It's easy to check: "Installing" library foo.h, only means your sketchbook folder contains a library folder called libraries (all lower case); libraries contains a folder foo; and foo contains the file foo.h and any other files necessary for that library, such as a foo.cpp if needed:
- Sketchbook - libraries - foo
                             foo.h
                             foo.cpp
                             anything.else.you.like

Update:
The library documentation is on github and has links to some sample code. Sorry I can't be more help - I haven't used the library or those LED devices.

46703: <pre><code>#include &lt;LedControl.h&gt;

void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}
</code></pre>

<p>This is my code with LedControl.h it gives me exit status 1 can't compile to arduino uno. Please help.</p>

<p>if I remove #include it works as normal.</p>

<p>also aruino says that the library has been installed.</p>

<p>what I have tried (and didn't work)</p>

<p>re-installing the library.
re-downloading arduino.</p>
 313: <p>I tried compiling your code with Arduino 1.6.12. As you found, without the #include, it compiles OK. With the #include, it fails. Here is the error message I got:</p>

<pre><code>/var/folders/bl/s5kzhm3s0lb2rcvp3md8c7040000gp/T/untitled1814027053.tmp/sketch_may17a/sketch_may17a.ino:1:24: fatal error: LedControl.h: No such file or directory
 #include &lt;LedControl.h&gt;
                        ^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno 115.2.
</code></pre>

<p>The error - at least in my case - is that the library, LedControl.h, was not found. Try to find out why not.</p>

<blockquote>
  <p>also aruino says that the library has been installed.</p>
</blockquote>

<p>It's easy to check: "Installing" library <code>foo.h</code>, only means your sketchbook folder contains a library folder called <code>libraries</code> (all lower case); <code>libraries</code> contains a folder <code>foo</code>; and <code>foo</code> contains the file <code>foo.h</code> and any other files necessary for that library, such as a <code>foo.cpp</code> if needed:</p>

<pre><code>- Sketchbook - libraries - foo
                             foo.h
                             foo.cpp
                             anything.else.you.like
</code></pre>

<p>Update:</p>

<p>The library documentation <a href="http://wayoda.github.io/LedControl/" rel="nofollow noreferrer">is on github</a> and has links to some sample code. Sorry I can't be more help - I haven't used the library or those LED devices.</p>
