lfhbento / timeboxed-watchface

A simple, clean and customizable watchface for the Pebble smartwatch
MIT License
52 stars 19 forks source link

build errors under linux #13

Closed einalex closed 6 years ago

einalex commented 7 years ago

While building the watchface under arch linux the linker stops with the error that 'setlocale' is defined in both libc.a (which is included because of your use of ctypes and toupper()) and libpebble.a. I solved the linking error by removing the ctypes includes and replacing the calls to toupper() with code that doesn't rely on outside libs. I would appreciate if you would fix this issue ;)

I'd supply a patch but the way I fixed it is pretty hackish and you'll certainly prefer a more sophisticated approach.

lfhbento-gt commented 6 years ago

Hi! I don't know if you're still interested on this, but I've finally removed the dependencies on time.h and ctype.h. Sorry it took a long while to address the issue!