Closed aplisov closed 5 years ago
@TheHardestBunnyAlive Hi! So you are not using this in a Nerves application? Is this still an issue or can we close this out?
I ended up not using picam because I couldn't figure out the issue. You can close it.
On Wed, Jan 30, 2019, 3:02 PM Paulo Daniel Gonzalez < notifications@github.com wrote:
@TheHardestBunnyAlive https://github.com/TheHardestBunnyAlive Hi! So you are not using this in a Nerves application? Is this still an issue or can we close this out?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/electricshaman/picam/issues/33#issuecomment-459088081, or mute the thread https://github.com/notifications/unsubscribe-auth/AEb0QCxbHR-TEk3Vz39dFHI8Pl6f85UCks5vIfo_gaJpZM4VzESx .
It looks like the issue is that elixir_make
would normally have compiled a C-based application that Elixir is trying to call. When you manually compile the Elixir code like this, the binary application isn't available where it should be. mix compile
before running IEx
should solve this in case someone else happens upon this issue in the future.
I've installed a fresh version of Raspbian as well as Elixir and Nerves. I also downloaded this file and moved it into /home/pi. When I SSH into the file picam/lib/picam, I open up iex and type c("camera.ex"). Once I do this, it says [Picam.Camera] which I assume is correct. However when I go to run Picam.Camera.start_link() I get the following error.
Any help is much appreciated.