Closed joshuasiler closed 10 years ago
I was able to get this to compile on my raspberry pi not that long ago, so I'm fairly certain this should be a trivial fix. Are you compiling with gcc or clang? try changing the "#include
Hi, with that change I get a different error:
compiling ir_ruby.c
In file included from ir_ruby.c:1:0:
phidgets_native.h:129:12: error: field ânow_at_utcâ has incomplete type
make: *** [ir_ruby.o] Error 1
Also, I believe I'm using gcc
I think it's just the headers that are weird on the pi. It's been a while since I built on that platform, apparently I distanced myself from the stock build environment. Try adding a "#include
Nice. I started by adding time.h back and that worked.
Thanks for supporting your code! Pull request submitted.
My pleasure. Mind if I ask what you're making with it?
I'm building a new saltwater aquarium system, and I'm using the Raspberry Pi as a custom controller to monitor conditions and manage pumps, heaters and lights. Fun little project. My monitor code is getting some difficult to trace malloc errors after a random amount of time... I'm hoping switching from phidgets-FFI to your code will fix the problem.
Awesome. Maybe post a youtube video when you get it working?
sure thing... although I have a feeling it's one of those "never quite finished" projects
Tried both the repo version and master. Latest drivers are installed and Phidgets FFi gem works. Both times I get:
and....
Any ideas?