maly / tm1638-library

Automatically exported from code.google.com/p/tm1638-library
0 stars 1 forks source link

Compilation fails on case-sensitive operating systems #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Although the TM1638 library works fine on Windows, those using it on Linux, 
BSD, Mac OS or other case-sensitive operating systems will find it fails at the 
compilation stage.

Reproduce:
1. Unzip the library into the Arduino Libaries folder on Linux.
2. Load any of the TM1638 sample sketches.
3. Attempt to compile.

Instead of a successful compilation, you'll find it fails to find the String.h 
library. There's a good reason for this: it's called string.h.

Thankfully, it's a simple fix. Line 23 of TM1638.cpp reads:
#include "String.h"

Modify this to read:
#include "string.h"

and the package compiles successfully.

Original issue reported on code.google.com by ghalfac...@googlemail.com on 14 Nov 2011 at 8:43

GoogleCodeExporter commented 9 years ago
Corrected and released on version 1.3.2

Original comment by rjbati...@gmail.com on 14 Nov 2011 at 11:37