Which Branch Should I Download? #58
Replies: 3 comments 2 replies
-
You should typically use the latest stable release which is now v2.1.
This is way too little information to help. When submitting a bug report you need to give developers as much info as possible. Exact commands you run, program output, environment etc.
Same as above. I have no idea what |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. gcc -Wall -o "toggle_line_value" "toggle_line_value.c" -lgpiod (in directory: /home/uobgip1/project/libgpiod/examples) |
Beta Was this translation helpful? Give feedback.
-
So if I choose Make all, then I can compile the code and the terminal would write: I have connected a led light to gpio 17, but it doesn't turn on when 17=Active. |
Beta Was this translation helpful? Give feedback.
-
Currently, Im using raspberry pi 5, should I download v2.1 or the master branch?
Currently what I'm doing is I've downloaded the master branch and did what have been told in ReadMe file, then put the bin, include and lib into /usr/local/"corresponding dir", then I used Make All in geany and tried to compile the example code (the one about toggle line), and it did say pin 17 is active and inactive consecutively, but my led connected to pin 17 didn't do anything.
If I build instead of Make, then it will say undefined to reference to something.
Beta Was this translation helpful? Give feedback.
All reactions